Re: GStreamer profile for Transmageddon/Arista for the Meizu M6 player



Luis,

On Fri, 2009-09-11 at 01:31 +0200, Luis Menina wrote:
> * snip *
> 
> Specifications:
> ===============
> Framerate:           15-20 fps
> Resolution:          320x240
> Video Codec:         XVID
> Video bitrate:       200-500 kbps
> Audio Codec:         MP3
> Audio bitrate:       56-256 kbps
> Audio sampling freq: 44kHz
> 
> 
> mencoder command (works):
> =========================
> mencoder input.mp4 -idx -noodml -ofps 20 -vf
> scale=320:-2,expand=:240:::1,crop=320:240,rotate=1 -ovc lavc -ffourcc
> XVID -lavcopts vcodec=mpeg4:vbitrate=384:vmax_b_frames=0:vhq -sws 9
> -srate 44100 -oac mp3lame -lameopts cbr:br=128:mode=0 -o output.avi
> 
> GStreamer pipeline (doesn't work):
> ==================================
> gst-launch-0.10 filesrc location=/home/luis/input.mp4 ! decodebin
> name=decoder decoder.! queue ! videorate ! videoscale !
> 'video/x-raw-yuv,framerate=(fraction)20/1,width=320,height=240' !
> videoflip method=clockwise ! xvidenc bitrate=384000 ! queue ! avimux
> name=mux ! progressreport ! filesink location=/home/luis/output.avi
> decoder.! queue ! audioconvert ! audioresample !
> 'audio/x-raw-int,channels=2,rate=44100' ! lame mode=stereo vbr=none
> bitrate=128 ! mux.

Some stuff to try:

 * Encode just video or audio to see which is causing problems
 * Add max-bframes=0 to xvidenc
 * If the FOURCC isn't being set you could add it manually

I'm not 100% sure about the FOURCC thing but you might be able to do
something along the lines of ... ! 'video/x-xvid,
format=(fourcc)XVID' ! ... just after the xvidenc element.

Good luck and if you get it working I'll add the preset to Arista.
-- 
Daniel G. Taylor
http://programmer-art.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]