Opened 13 years ago

Last modified 12 years ago

#868 open enhancement

chained ogg video streams not supported with threads >1

Reported by: Elon Musk Owned by:
Priority: wish Component: undetermined
Version: git-master Keywords: ogg theora
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Following sample fails to play/transcode correctly

http://v2v.cc/~j/theora_testsuite/chained_streams.ogg

Change History (3)

comment:1 by Carl Eugen Hoyos, 13 years ago

Failing command line and complete, uncut console output missing.

comment:2 by Carl Eugen Hoyos, 12 years ago

Component: avformatundetermined
Keywords: ogg theora added
Reproduced by developer: set
Status: newopen

The video (uploaded to samples/ffmpeg-bugs/trac/ticket868) changes resolution twice, from 320x240 to 336x256 and from 336x256 to 352x288, FFmpeg does not support the resolution changes, plays fine with vlc.

$ ffmpeg -i chained_streams.ogg -r 30 out.avi
ffmpeg version N-44632-ga16c512 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep 20 2012 16:11:00 with gcc 4.5.3 (GCC)
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 56.100 / 54. 56.100
  libavformat    54. 27.101 / 54. 27.101
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 16.105 /  3. 16.105
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[theora @ 0x14f6840] 7 bits left in packet 82
[ogg @ 0x14f0240] Estimating duration from bitrate, this may be inaccurate
Input #0, ogg, from 'chained_streams.ogg':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: theora, yuv420p, 320x240, 30 tbr, 30 tbn, 30 tbc
[theora @ 0x1600ae0] 7 bits left in packet 82
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.27.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200 kb/s, 30 tbn, 30 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (theora -> mpeg4)
Press [q] to stop, [?] for help
[theora @ 0x1600ae0] Coefficient index overflow
    Last message repeated 35 times
[theora @ 0x1774000] Invalid partially coded superblock run length
[theora @ 0x1774000] error in unpack_superblocks
[theora @ 0x17835a0] Invalid partially coded superblock run length
[theora @ 0x17835a0] [theora @ 0x1600ae0] Invalid partially coded superblock run length
[theora @ 0x1600ae0] error in unpack_superblocks
Error while decoding stream #0:0: Operation not permitted
error in unpack_superblocks
[theora @ 0x1774000] Invalid partially coded superblock run length
Error while decoding stream #0:0: Operation not permitted
[theora @ 0x1774000] error in unpack_superblocks
[theora @ 0x17835a0] Invalid partially coded superblock run length
Error while decoding stream #0:0: Operation not permitted
[theora @ 0x17835a0] error in unpack_superblocks
[theora @ 0x1600ae0] Invalid partially coded superblock run length
Error while decoding stream #0:0: Operation not permitted
[theora @ 0x1600ae0] error in unpack_superblocks
[theora @ 0x1774000] Invalid partially coded superblock run length
Error while decoding stream #0:0: Operation not permitted
[theora @ 0x1774000] error in unpack_superblocks

...

[theora @ 0x17835a0] error in unpack_superblocks
[theora @ 0x1600ae0] Invalid partially coded superblock run length
Error while decoding stream #0:0: Operation not permitted
[theora @ 0x1600ae0] error in unpack_superblocks
[theora @ 0x1774000] Invalid partially coded superblock run length
Error while decoding stream #0:0: Operation not permitted
[theora @ 0x1774000] error in unpack_superblocks
[theora @ 0x17835a0] Invalid partially coded superblock run length
Error while decoding stream #0:0: Operation not permitted
[theora @ 0x17835a0] error in unpack_superblocks
[ogg @ 0x14f0240] Codec not found
    Last message repeated 129 times
[theora @ 0x14f6840] Invalid media type for audio
frame=  120 fps=0.0 q=20.1 Lsize=     173kB time=00:00:04.00 bitrate= 354.4kbits/s dup=0 drop=2
video:165kB audio:0kB subtitle:0 global headers:0kB muxing overhead 5.113620%

comment:3 by Carl Eugen Hoyos, 12 years ago

Priority: normalwish
Summary: chained ogg video streams not supportedchained ogg video streams not supported with threads >1
Type: defectenhancement

Theora parameter change is now supported (fix by Michael), it only works with -threads 1.

Note: See TracTickets for help on using tickets.