[FFmpeg-devel] Interface between ffmpeg and Libxavs and libx264
Tue May 11 07:48:57 CEST 2010
Hello, I am a freshman here and I have one trouble related to ffmpeg
development. I am not a developer of ffmpeg itself but this is somehow
related to the ffmpeg so I send email here to ask for help.
Basically, what I am working on is connecting the chinese video codec AVS
with ffmpeg. I found there is a special problem and need to be solved with
the help of ffmpeg. The thing is : AVS needs to write a special 4 bytes code
to signal the end of a sequence. However, ffmpeg.c won't pass the total
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 put
the 4 bytes end code into the stream.
More information about the ffmpeg-devel