Opened 5 years ago

Last modified 5 years ago

#3155 new enhancement

g264 only decodes keyframes

Reported by: compn Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: asp
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://samples.ffmpeg.org/V-codecs/g264.avi

ffmpeg -i g264.avi out.avi

ffmpeg version N-58288-g80e5859 Copyright (c) 2000-2013 the FFmpeg developers

built on Nov 19 2013 18:01:40 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzli

b --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libblu
ray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --ena
ble-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
ra --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --ena
ble-zlib

libavutil 52. 53.100 / 52. 53.100
libavcodec 55. 43.101 / 55. 43.101
libavformat 55. 21.100 / 55. 21.100
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 91.100 / 3. 91.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100

[mpeg4 @ 0290a4e0] hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 0290a4e0] my guess is 5 bits ;)
[avi @ 0290e020] probed stream 1 failed
[avi @ 0290e020] Could not find codec parameters for stream 1 (Subtitle: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, avi, from 'g264.avi':

Duration: 00:03:39.96, start: 0.000000, bitrate: 122 kb/s

Stream #0:0: Video: mpeg4 (G264 / 0x34363247), yuv420p, 320x240, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Subtitle: none

File 'out.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'out.avi':

Metadata:

ISFT : Lavf55.21.100
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200 kb/s, 25 tbn, 25 tb

c
Stream mapping:

Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)

Press [q] to stop, ? for help
[mpeg4 @ 0290a4e0] hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 0290a4e0] my guess is 5 bits ;)
[mpeg4 @ 0290a4e0] looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_d
elay flag
[mpeg4 @ 0290a4e0] header damaged
Error while decoding stream #0:0: Error number -1 occurred
[mpeg4 @ 0290a4e0] header damaged
Error while decoding stream #0:0: Error number -1 occurred
[mpeg4 @ 0290a4e0] header damaged
Error while decoding stream #0:0: Error number -1 occurred
[mpeg4 @ 0290a4e0] header damaged
Error while decoding stream #0:0: Error number -1 occurred

million of these messages.

binary mplayer codec works fine.

Change History (1)

comment:1 Changed 5 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords asp added
Note: See TracTickets for help on using tickets.