[gst-devel] gnonlin and ffmpeg encoder problems
Lane Brooks
lane at brooks.nu
Fri Jan 7 22:55:46 CET 2011
I have a gnonlin frontend that works fine when feeding an autovideosink
and the x264enc encoder. However, when I switch the encoder to a
ffenc_mpeg4, it quits encoding after the first source and starting
spewing out "Invalid timestamp" errors.
I have a simple self-contained test that shows the problem that I posted
to http://pastebin.com/D8UgAHqt
The script creates two gnlsources that encapsulate two videotestsrc with
different patterns that are arranged to play serially. The encapsulating
gnlcomposition feeds a ffenc_mpeg element. Only the first gnlsource gets
encoded in the resulting test.mp4 file. If you switch the script to use
the x264enc or the autovideosink, however, it works fine. The problem
also occurs with the mpeg2enc encoder and all the other ffmpeg encoders
that I have tried.
The script is completely self contained and I would be curious if others
can download it and see the same behavior. Am I doing something wrong or
is there an incompatibility between gnonlin and ffmpeg encoders.
Thanks,
Lane
More information about the gstreamer-devel
mailing list