Opened 5 years ago

Last modified 4 years ago

#868 open enhancement

chained ogg video streams not supported with threads >1

Reported by: richardpl 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 Changed 5 years ago by cehoyos

Failing command line and complete, uncut console output missing.

comment:2 Changed 4 years ago by cehoyos

  • Component changed from avformat to undetermined
  • Keywords ogg theora added
  • Reproduced by developer set
  • Status changed from new to open

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 Changed 4 years ago by cehoyos

  • Priority changed from normal to wish
  • Summary changed from chained ogg video streams not supported to chained ogg video streams not supported with threads >1
  • Type changed from defect to enhancement

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

Note: See TracTickets for help on using tickets.