Hi,<br>
<br>
Are there known bugs with ffenc/ffdec pair? If I encode a file with a
ffenc of a particular codec, then I should be able to decode the file
using ffdec of the same codec, right?<br>
<br>
I tried with h263 and mpeg4, but got the same result:<br>
<br>
gst-launch&nbsp; videotestsrc ! ffenc_mpeg4 ! filesink location=videotestsrc.m4v<br>
gst-launch filesrc location=videotestsrc.m4v ! caps=&quot;video/mpeg,
width=(int)320, height=(int)240, framerate=(fraction)30/1,
mpegversion=(int)4, systemstream=(boolean)false&quot; ffdec_mpeg4 !
ffmpegcolorspace ! xvimagesink<br>
<br>
ERROR: from element /pipeline0/ffdec_mpeg40: Internal GStreamer error:
negotiation problem.&nbsp; Please file a bug at
<a href="http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer">http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</a>.<br>
Additional debug info:<br>
gstffmpegdec.c(1276): gst_ffmpegdec_chain (): /pipeline0/ffdec_mpeg40:<br>
ffdec_mpeg4: input format was not set before data start<br>
ERROR: pipeline doesn't want to preroll.<br>
<br>
Any suggestions?<br>
<br>
Thanks,<br>
Deeptendu <br>
<br>
Note: For MPEG1 and 2 Video, I used ffenc_mpeg1video/ffenc_mpeg2video and mpeg2dec, and this worked.<br>
<br>