On 31/03/2009, at 6:51 AM, Bob Forsman wrote:

> (I am not sure if I am properly subscribed to this list yet.  I have  
> not
> received a confirmation email).

I've CCd you, so you'll know if you receive 2 email.

Sorry I can't help with the bitrate problem, but may be able to  
provide some tools to help with debugging.

>
> With help from the gstreamer IRC channel I was able to write a YUV  
> file
> so I could test with the mpeg2enc command stand-alone.

There are a number of tools that write yuv format files eg FFmpeg and  
mplayer.

I've even written a tool based on the libavcodec libraries, which sole  
purpose is to produce a YUV stream.
(http://silicontrip.net/~mark/lavtools/#libav2yuv)

>
> gst-launch-0.10 -v filesrc location=/var/tmp/The\ Drinky\ Crow\ Show 
> \ -\ Tunnel\ Girls.mpeg ! decodebin name=db ! queue ! videoscale !  
> video/x-raw-yuv, width=352, height=480, pixel-aspect- 
> ratio=1920/1056 ! y4menc ! filesink location=/homes4/thoth/drinky- 
> crow/x.yuv  db.! fakesink silent=true

ffmpeg -i The\ Drinky\ Crow\ Show\ -\ Tunnel\ Girls.mpeg -f  
yuv4mpegpipe x.yuv

mplayer -vo yuv4mpeg The\ Drinky\ Crow\ Show\ -\ Tunnel\ Girls.mpeg

writes to stream.yuv

> As for what I used to produce graphs of bit rate, I have an in-house
> tool I wrote.  Unfortunately it only works on single-stream PES  
> streams
> at the moment, so I would have to make some changes to have it graph a
> .m2v file that has not been through my PES wrapper gstreamer plugin.


I've also written a tool based on the libavcodec libraries which  
produce a text file suitable for graphing in GNUPlot or Octave, of any  
video file readable by libav.

http://silicontrip.net/~mark/lavtools/#libav-bitrate

Hope this can help.
Mark

------------------------------------------------------------------------------
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to