MP3 + JPEG --> MP4 - what's wrong with this pipeline?
Wim Taymans
wim.taymans at gmail.com
Sun Mar 4 07:44:07 PST 2012
On 03/04/2012 10:45 AM, Michael Niemand wrote:
> gst-launch --gst-debug-level=2
> filesrc location=audio.mp3 ! mp4mux name=mux
> filesrc location=image.jpg ! jpegdec ! caps="image/jpg,framerate=30" !
> x264enc ! caps="video/x-raw-yuv,width=640,height=480,framerate=30" !
> mux. ! filesink location=output.mp4
The caps="" part is invalid, either use capsfilter caps="..." or remove
the caps=
Also you might want to put mpegaudiopare between the filesrc and mp4mux
else mp4mux has no idea what those bytes mean.
Wim
>
> the files audio.mp3 and image.jpg both reside in the folder where I
> try to execute this. The error message is "link without source element"
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list