Hallo

> It did not solve the problem.  The bit rate of the generated video was
> still unreasonably high.
> 
> 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.
> 
> 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
So you try to rencode the video.
Can you please post the mpeg format, resolution and aspect ration the 
source has. And the output format you want.

> mpeg2enc -a 2 -b 3180 -g 15 -G 15 -s -R 2  \
> /homes4/thoth/drinky-crow/x.yuv \
> -o /homes4/thoth/drinky-crow/x.m2v
I hope you know that you generate a fixed bitrate MPEG1 with a aspect 
ratio of 4:3 and a fixed gop size.

Can you try to encode without the -R 2 option and see what happens.
I haven't encoded a MPEG1 with that kind of parameters for a long time.

> -rw-r--r-- 1 thoth thoth 1657828416 Mar 27 12:13 x.m2v
> -rw-r--r-- 1 thoth thoth 6812375076 Mar 27 11:41 x.yuv
That should differ more. Even for MPEG1.

> Both files play in mplayer, but the .m2v doesn't have the correct aspect
> ratio (-a 2 isn't being honored, and the
> sequence_header.aspect_ratio_information contains a 12 instead).
> 
> Since I started with a 15-minute recording, I calculate the x.m2v file
> as averaging out to almost 15 Mbit/s.  This seems inconsistent with the
> -b 3180 argument to mpeg2enc.
> 
> I can provide the 6G .yuv file to any brave soul willing to attempt to
> reproduce my problem.  I'm just not sure where I could host it.
Does the yuv file look correct when you play it back with lavplay (cat 
x.yuv | yuvplay) ?


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

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

Reply via email to