Hi all, can someone help me in conversion of wmv file to a raw video file and then to a mp4 file? (without using decode bin)
on 2011-07-20 05:12
on 2011-07-23 18:50
Hi, In <d9e773a42d45b90844fd8c9b58cd1a87@ruby-forum.com> "[ruby-gnome2-devel-en] conversion of wmv to mp4 file" on Wed, 20 Jul 2011 05:12:43 +0200, "Sakthi p." <ruby-forum-incoming@andreas-s.net> wrote: > can someone help me in conversion of wmv file to a raw video file and > then to a mp4 file? (without using decode bin) WMV -> raw % gst-launch-0.10 \ filesrc location=a.wmv \! \ ffdemux_asf \! \ ffdec_wmv2 \! \ 'video/x-raw-yuv' \! \ # <- Maybe, you should set correct CAPS here. filesink location=a.raw raw -> MP4 % gst-launch-0.10 \ filesrc location=a.raw \! \ 'video/x-raw-yuv' \! \ # <- Maybe, you should set correct CAPS here. ffenc_mpeg4 \! \ mp4mux \! \ filesink location=a.mp4 WMV -> MP4 (easy) % gst-launch-0.10 \ filesrc location=a.wmv \! \ ffdemux_asf name=demux \ demux. \! queue \! ffdec_wmv2 \! ffenc_mpeg4 name=video_enc \ demux. \! queue \! ffdec_wmav2 \! faac name=audio_enc \ mp4mux name=mux \ video_enc. \! queue \! mux. \ audio_enc. \! queue \! mux. \ mux. \! filesink location=a.mp4 Thanks, -- kou
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.