transcoding file to h264 and aac format

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

transcoding file to h264 and aac format

Jyoti-2
Hi all,

I am currrently looking into transcoding a media file.
My task is to get video in H.264 format, and audio in AAC format.

Currently am able to transcode only video into H.264 using the below pipeline

gst-launch-0.10 uridecodebin uri=file:///<file location> ! x264enc ! avimux ! filesink location=<file location>

I want to transcode audio also in AAC along with the video. I tried with following pipeline but no luck till now. Could someone help me regarding the same.

gst-launch avimux name=mux ! filesink location=<file location> sync=true  filesrc location=<I/P location> do-timestamp=true ! qtdemux name=demux demux.video_00 ! 'video/x-264'   ! queue ! mux.video_00  demux.audio_00 ! 'audio/mpeg' ! queue !  faad ! audioconvert ! faac ! queue ! mux.audio_00

Thanks,
Jyoti



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel