From: Thomas P. <hu...@gm...> - 2005-07-22 23:15:10
|
I've been trying to convert a file to anything but ogg (i found an example for that on the web) all day without success. Also some encoders seem to work, while others don't. The following works: gst-launch-0.8 videotestsrc ! ffenc_mpeg4 ! avimux name=3Dmux ! filesink location=3Dtest.avi { sinesrc ! audioconvert ! lame ! queue ! mux. } but this does not: gst-launch-0.8 videotestsrc ! ffenc_mpeg1video ! ffmux_mpeg name=3Dmux ! filesink location=3Dtest.mpeg { sinesrc ! audioconvert ! ffenc_mp2 ! queue ! mux. } I can't see the difference except for the codecs. Also why does the following work: gst-launch-0.8 oggmux name=3Dm ! filesink location=3Dfile.ogg { filesrc location=3D 050518-ee380-100.wmv ! decodebin name=3Dd d. ! audioconvert ! rawvorbisenc ! queue max-size-time=3D5000000000 ! m. d. ! ffmpegcolorspace ! theoraenc ! queue max-size-time=3D5000000000 ! m. } but not this: gst-launch-0.8 ffmux_mpeg name=3Dm ! filesink location=3Dfile.mpeg { filesrc location=3D 050518-ee380-100.wmv ! decodebin name=3Dd d. ! audioconvert ! ffenc_mp2 ! queue max-size-time=3D50000000 ! m. d. ! ffmpegcolorspace ! ffenc_mpeg1video ! queue max-size-time=3D50000000 ! m. } and neither does this: gst-launch-0.8 avimux name=3Dm ! filesink location=3Dfile.avi { filesrc location=3D 050518-ee380-100.wmv ! decodebin name=3Dd d. ! audioconvert ! lame ! queue max-size-time=3D50000000 ! m. d. ! ffmpegcolorspace ! ffenc_mpeg4 ! queue max-size-time=3D50000000 ! m. } All i want is to encode to either MPEG1 or AVI, preferably the first. Is that somehow possible? I can do very nice things with gstreamer, as long as it somehow results in an OGG. Unfortunately my DVD player doesn't know anything about OGGs. Thanks for any help. Thomas |