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



Hi Luis,
What would help is if you can create two small clips, one with mencoder
that works on your device and one with GStreamer that doesn't. Using the
same input source. If you attach those two small clips to a GStreamer
bugreport we will be able to compare them and try to figure out the
problem.

Christian

On Fri, 2009-10-09 at 01:08 +0200, Luis Menina wrote:
> Hi Daniel, thanks for your answer and sorry for the late reply !
> 
> Daniel G. Taylor a écrit :
> > 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
> 
> I tried with the video only, and it didn't work.
> 
> I tried with a simple videotestsrc, and it didn't work:
> gst-launch-0.10 videotestsrc num-buffers=200 ! 
> '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/videotestsrc.avi
> 
> I tried with sound only, and it didn't work either:
> gst-launch-0.10 filesrc location=/home/luis/input.mp4 ! decodebin 
> name=decoder avimux name=mux ! progressreport ! filesink 
> location=/home/luis/sound-only.avi decoder.! queue ! audioconvert ! 
> audioresample ! 'audio/x-raw-int,channels=2,rate=44100' ! lame 
> mode=stereo vbr=none bitrate=128 ! mux.
> 
> >  * Add max-bframes=0 to xvidenc
> 
> Nope, doesn't work either...
> 
> >  * 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.
> 
> I use this command to generate trace files:
> GST_DEBUG=avidemux:3,riff:3 gst-launch-0.10 playbin2 
> uri=file:///home/luis/testfile.avi
> 
> In the traces, I find this:
> riff riff-read.c:302:gst_riff_parse_strh:<avidemux0>  fcc_handler XVID
> 
>  From what I understand, this seems ok...
> 
> > Good luck and if you get it working I'll add the preset to Arista.
> 
> What I'd like to know is why mencoder and virtualdub can make it work, 
> but not gstreamer...
> 
> Do you have more ideas I could follow ?
> 
> Thanks again for your help.
> --
> Luis
> 
> _______________________________________________
> gnome-multimedia mailing list
> gnome-multimedia gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-multimedia



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