[Ffmpeg-devel] detecting and decoding key frames in H264

Enrique Estalayo eeg223
Wed Apr 19 16:36:12 CEST 2006


M?ns Rullg?rd wrote:

>Enrique Estalayo said:
>  
>
>>Hi all,
>>
>>i need to decode key frames from H264 video files. To achieve it, i
>>generate FastForward files (containing only key frames), but when I try
>>to open these FF files with the 'av_open_input_file' function i get an
>>'unknown format' error. Nevertheless, when I decode the complete H264
>>video, encapsulated in MPEG2-TS, I have no problems... but the logical
>>decoding errors while processing B frames (that's why i need the key
>>frames).
>>
>>On the other hand, the generated FF video files are decoded correctly
>>using the Elecard/MainConcept decoders, so I guess the problem is not
>>within the format of these files.
>>
>>So:
>>
>>1.- How can i avoid the 'unknown format' error while applying the
>>'av_open_input_file' function to the FF H264 video files?
>>    
>>
>
>Give us a sample of such a file.
>  
>
i have uploaded two different samples in:

http://www.4shared.com/dir/343177/cf678394/sharing.html
password: ffmpeg





More information about the ffmpeg-devel mailing list