mpeg-2 to mpeg-4
prototype18
edward.chopuryan at gmail.com
Wed Mar 21 04:35:39 PDT 2012
Oh right, thanks for correcting me,
And i wanna say that i have tried only video with this pipeline
gst-launch filesrc location=sample_mpeg2.mpg ! mpegdemux name=demux
demux.video_00 ! ffdec_mpeg2video ! queue ! x264enc ! mp4mux name=mux !
queue ! filesink location=output.mp4
and it works perfectly, but when i am trying to decode and encode audio
then sink both, process never ends.
It seems to me that maybe my plugins of decoding and encoding audio stream
are good or maybe i am doing something wrong.
Here is what i am talking about,
This one does not work for me!
gst-launch -v filesrc location= sample_mpeg2.mpg ! mpegdemux name=demux
demux.video_00 ! ffdec_mpeg2video ! queue ! x264enc ! queue ! mp4mux
name=mux ! filesink location=mpeg4_sample.mp4 demux.audio_00 ! ffdec_mp3 !
queue ! faac ! queue ! mux.
2012/3/21 Martijn Grendelman [via GStreamer-devel] <
ml-node+s966125n4491968h40 at n4.nabble.com>
> On 20-03-12 13:21, prototype18 wrote:
> > Hello everyone, i want to read mpeg-2 file demux it encode video(h262 to
> > raw), encode audio(mp3 to raw) then decode video(raw to h264) decode
> > audio(raw to aac) mux it and sink it as mp4 file. But every time i stuck
> in
> > encoding and decoding video and audio. I need to create pipe which will
> do
> > all this job. Pleas help me
>
> It seems to me you have the terms 'encode' and 'decode' mixed up.
>
> What pipeline(s) have you tried so far?
>
> It shouldn't be very difficult, something along the lines of:
>
> gst-launch -v uridecodebin uri=file:///... name=decode ! queue !
> ffmpegcolorspace ! x264enc ! queue ! mux. decode. ! queue ! audioconvert !
> audioresample ! faac ! queue ! mux. ffmux_mp4 name=mux ! filesink
> location=...
>
> Cheers,
> Martijn.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4491968&i=0>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://gstreamer-devel.966125.n4.nabble.com/mpeg-2-to-mpeg-4-tp4488594p4491968.html
> To unsubscribe from mpeg-2 to mpeg-4, click here<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4488594&code=ZWR3YXJkLmNob3B1cnlhbkBnbWFpbC5jb218NDQ4ODU5NHwtMTM0NTQyMDc3Mw==>
> .
> NAML<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/mpeg-2-to-mpeg-4-tp4488594p4492012.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120321/63a23281/attachment.html>
More information about the gstreamer-devel
mailing list