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

Deeptendu Bikash dbikash at gmail.com
Wed Nov 8 03:25:53 CET 2006


Hi Edward,

Thanks for your help.

I found out that my pipeline was actually muxing both audio and video,
despite gstreamer giving that error. Also gstreamer playbin itself was not
capable of playing the movie. VLC player could play it, though it got the
duration wrong. Quicktime could not play it. So I guess it again boils down
to the bug/s in ffmpeg regarding handling audio duration which we discussed
in another mail thread. So let me start looking into it.

Once again, I really appreciate your help.

Regards,
Deeptendu

On 11/7/06, Edward Hervey <bilboed at gmail.com> wrote:
>
> 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?
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061107/9cb53f99/attachment.htm>


More information about the gstreamer-devel mailing list