[gst-devel] encoding to anything but ogg
Thomas P.
hunonet at gmail.com
Fri Jul 22 16:16:27 CEST 2005
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=mux ! filesink
location=test.avi { sinesrc ! audioconvert ! lame ! queue ! mux. }
but this does not:
gst-launch-0.8 videotestsrc ! ffenc_mpeg1video ! ffmux_mpeg name=mux !
filesink location=test.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=m ! filesink location=file.ogg { filesrc
location= 050518-ee380-100.wmv ! decodebin name=d d. ! audioconvert !
rawvorbisenc ! queue max-size-time=5000000000 ! m. d. !
ffmpegcolorspace ! theoraenc ! queue max-size-time=5000000000 ! m. }
but not this:
gst-launch-0.8 ffmux_mpeg name=m ! filesink location=file.mpeg {
filesrc location= 050518-ee380-100.wmv ! decodebin name=d d. !
audioconvert ! ffenc_mp2 ! queue max-size-time=50000000 ! m. d. !
ffmpegcolorspace ! ffenc_mpeg1video ! queue max-size-time=50000000 !
m. }
and neither does this:
gst-launch-0.8 avimux name=m ! filesink location=file.avi { filesrc
location= 050518-ee380-100.wmv ! decodebin name=d d. ! audioconvert !
lame ! queue max-size-time=50000000 ! m. d. ! ffmpegcolorspace !
ffenc_mpeg4 ! queue max-size-time=50000000 ! 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
More information about the gstreamer-devel
mailing list