[gst-devel] mpeg->divx status

Joshua N Pritikin vishnu at pobox.com
Mon May 12 21:57:06 CEST 2003

On Fri, May 09, 2003 at 08:08:17PM +0530, Joshua N Pritikin wrote:
> Yah, tested.  Audio sounds fine with WAV.  However, need a more
> compact format than raw PCM!
> How about something like:
>   mpegdemux ! mad ! lame enable_special_timestamps=1 ! avimux

i tested this with the recent timestamp fix for lame.  It works, but
it sounds like it plays back at 2-3x the normal rate.  i speculate
that the caps negotiation is getting confused somewhere.  Here is the
full pipeline:

  ./gst-launch { avimux name=mux ! filesink location=/tmp/test.avi } filesrc location=/local/aleader/original/Star_Wars_1.mpg ! mpegdemux name=demux demux.video_00 ! { queue name=vdemux_q ! mpeg2dec ! colorspace ! xvidenc ! queue name=vmux_q ! mux.video_00 } demux.audio_00 ! mad ! lame ! queue name=audio_q ! mux.audio_00

i want to re-encode the audio anyway, to reduce the bitrate, so
this pipeline is probably what i'm eventually going to use.

Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org

More information about the gstreamer-devel mailing list