[gst-devel] Does ffmux_mov support muxing both audio and video?

Edward Hervey bilboed at gmail.com
Tue Nov 7 11:52:47 CET 2006


Hi,

On 11/7/06, Deeptendu Bikash <dbikash at gmail.com> wrote:
> Hi,
>
> I'm using the latest CVS version of gst-ffmpeg (0.10.1.1) to mux audio and
> video into a mov file. If I mux only audio or only video it works. But when
> I try to mux both audio and video, I get a gst-launch WARNING: syntax error,
> unexpected $undefined.
>
> However, it does go on to mux only the audio.
>
> Does ffmux_mov support taking both audio and video as input?

  Yes, as long as your formats are supported by the muxer (check the
pad templates using gst-inspect).

>
> I'm using the pipeline:
> ffmux_mov name=mux ! filesink {filesrc <raw video file> ! caps ! ffenc_mpeg4
> ! mux.video_00} {filesrc <raw audio file> ! caps ! amrnbenc ! mux.audio_00}

  It seems perfectly valid, except for you filesrc of raw data. the
buffers coming out of the filesrc will have no timestamping, no
guarantee of containing whole video frames, etc... even though you
have set caps.

  Unless you have a valid reason, you might want to use some container
formats to hold the raw data. And then you will be able to use this
variation of your pipeline:

  filesrc location=myvideo.xxx ! decodebin ! ffenc_mpeg4 ! ffmux_mov
name=mux ! filesink location=myfile.mov filesrc location=myaudio.xxx !
decodebin ! amrnbenc ! mux.

  Hope this helps,

   Edward

>
> Am I doing something wrong?
>
> Thanks
> Deeptendu
> -------------------------------------------------------------------------
> 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 Hervey
Multimedia editing developer / Fluendo S.A.
http://www.pitivi.org/




More information about the gstreamer-devel mailing list