[gst-devel] How to mux in mpeg/DVD format ?

Nicolas Bertrand nico at inattendu.org
Wed May 20 11:37:42 CEST 2009


Marc Leeman a écrit :
>> In gstreamer How I can mux to MPEG format ? for example Mux  video MPEG2
>> and audio ac3 ?
>>     
>
>
> gst-launch-0.10 \
>    filesrc location=file1.mpeg
>    ! queue \
>    ! muxer. \
>    filesrc location=file2.mpeg
>    ! queue \
>    ! muxer. \
>    filesrc location=file3.mpeg
>    ! queue \
>    ! muxer. mpegtsmux name=muxer \
>    ! filesink location=file4.mpeg
>
>
>   
Hello; thanks for the pileline but I still have oner error message :


Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/MpegTsMux:muxer: Could not
create handler for stream
Additional debug info:
mpegtsmux.c(439): mpegtsmux_create_streams ():
/GstPipeline:pipeline0/MpegTsMux:muxer
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline .

I use exactly
gst-launch-0.10 \
   filesrc location=sources/film1.mpg ! queue \
   ! muxer. \
   filesrc location=sources/film2.mpg ! queue \
   ! muxer. mpegtsmux name=muxer \
   ! filesink location=file4.mpeg


Tnks for the tip, in my mind mixer can be used only to myx audio and
video stream, not doing concatenation of file

Nico






More information about the gstreamer-devel mailing list