Issue #24 new

ogg duration parsing takes time

Domen Kožar
created an issue

For reference, take a look at http://www.xiph.org/oggz/

Example: {{{ ielectric@oblak:~/code/hachoir on default $ time hachoir-metadata /home/arhivar/media/WCLJ_Tomaz_Stolfa-The_Internet_of_Things/video.ogg Common: - Duration: 49 sec 593 ms - Producer: Xiph.Org libTheora I 20081020 3 2 1 - Producer: Cinelerra 2.1 - Producer: Xiph.Org libVorbis I 20070622 - MIME type: video/theora - Endianness: Little endian Video: - Image width: 768 pixels - Image height: 576 pixels - Pixel format: 4:2:0 - Compression: Theora - Frame rate: 25.0 fps - Aspect ratio: 1.0 - Comment: Quality: 30 - Format version: Theora version 3.2 (revision 1) Audio: - Channel: stereo - Sample rate: 48.0 kHz - Compression: Vorbis - Bit rate: 128.0 Kbit/sec - Format version: Vorbis version 0

real 1m0.674s user 0m1.064s sys 0m0.485s ielectric@oblak:~/code/hachoir on default $ du -h /home/arhivar/media/WCLJ_Tomaz_Stolfa-The_Internet_of_Things/video.ogg 135M /home/arhivar/media/WCLJ_Tomaz_Stolfa-The_Internet_of_Things/video.ogg ielectric@oblak:~/code/hachoir on default $ }}}

Comments (2)

  1. Log in to comment