[gst-devel] Bugs in ffenc_*/ffdec_*?
Edward Hervey
bilboed at gmail.com
Mon Aug 14 09:01:23 CEST 2006
Hi,
On 8/14/06, Deeptendu Bikash <dbikash at gmail.com> wrote:
> Hi,
>
> 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?
>
> I tried with h263 and mpeg4, but got the same result:
>
> gst-launch videotestsrc ! ffenc_mpeg4 ! filesink location=videotestsrc.m4v
> gst-launch filesrc location=videotestsrc.m4v ! caps="video/mpeg,
> width=(int)320, height=(int)240, framerate=(fraction)30/1,
> mpegversion=(int)4, systemstream=(boolean)false" ffdec_mpeg4 !
> ffmpegcolorspace ! xvimagesink
Saving compressed video in a file will never be playable, except for
some specific formats that create buffers with headers that can be
parsed outside of a container. You need to put it in a container
format, like avi, mov or ogg. Try using avimux/avidemux.
gst-launch videotestsrc ! ffenc_mpeg4 ! avimux ! filesink
location=videotestsrc.m4v
gst-launch filesrc location=videotestsrc.m4v ! avidemux ! ffdec_mpeg4 !
ffmpegcolorspace ! xvimagesink
Note : I didn't try these pipelines, it's just to show how it should be done.
>
> ERROR: from element /pipeline0/ffdec_mpeg40: Internal GStreamer error:
> negotiation problem. Please file a bug at
> http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
> Additional debug info:
> gstffmpegdec.c(1276): gst_ffmpegdec_chain (): /pipeline0/ffdec_mpeg40:
> ffdec_mpeg4: input format was not set before data start
> ERROR: pipeline doesn't want to preroll.
>
> Any suggestions?
>
> Thanks,
> Deeptendu
>
> Note: For MPEG1 and 2 Video, I used
> ffenc_mpeg1video/ffenc_mpeg2video and mpeg2dec, and this
> worked.
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
Edward
--
Edward Hervey
Multimedia editing developer / Fluendo S.A.
http://www.pitivi.org/
More information about the gstreamer-devel
mailing list