[FFmpeg-devel] Interface between ffmpeg and Libxavs and libx264
Tue May 11 17:56:59 CEST 2010
I think this code is related to the video editing case where two different
streams are stick to each other. Once this code doesn't exist, the following
sequence header will be considered as redundant.
I am very curious about why ffmpeg doesn't pass the total number of frames
to the encoder.
2010/5/11 Vladimir Pantelic <pan at nt.tu-darmstadt.de>
> wu amanda wrote:
> number of video frames to the encoder, neither X264 nor AVS. Whenever the
>> function output_packet() find the last frame is encoded, it will simply
>> break from the encoding loop. So I would like to know if it is possible we
>> pass the global variable max_frams to the element i_frame_total of the
>> encoder, such that the encoder will be aware of the end of sequence and
>> the 4 bytes end code into the stream.
> How would that work when encoding a live stream whose number of frames is
> at the start?
> Also, why is this 4 byte sequence so much needed? isn't the fact that the
> is at its end indication enough that the decoder should stop decoding?
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
More information about the ffmpeg-devel