osdir.com
mailing list archive

Subject: Re: difference -f 5 -f 8 - msg#00282

List: video.mjpeg.user

Date: Prev Next Index Thread: Prev Next Index
On Freitag, 21. März 2003 19:48 Bernhard Praschinger wrote:

> > So I can use the same parameters as -f 8 sets with -f 5? If so,
> > which parameters and values you have to use?
>
> Likely, but they might not makes sense.
>
> The -f 5 setes the options to produce a svcd compliant. But you
> are alowed to change everything. The -f 8 sets the options to
> produces something suitable for a DVD-Player.
>
> Maybay I have forgotten it, but why do you want to do that. It
> makes no reall sense to me.

Berni, it is very easy to understand.

I don't copy DVDs, but make own films from my dv-camera. There are
two things, which are very important to me: high quality and the
possibility to create DVDs from my XSVCDs later *without*
reencoding and having other unexpected problems. As long as my
standalone-DVD-players accept the XSVCD with DVD parameters I think
-f 8 is the securest way to get no problems later, when I make a
DVD from the mpg-file of the XSVCD. With a videobitrate of 5000kbps
I can make a film with about 23min. That's enough for me. Most of
my clips are about 10min. and then I use 6000kbps VBR.

A simple command:

transcode -i /multimedia_out_nfs/encodesource3/ -V -y
mpeg2enc,toolame -F 8 -o test

used the following default values:

[export_mpeg2enc.so] cmd=mpeg2enc -v 0 -f 8 -b 1800 -F 3 -n p -o
"test".m2v


and
transcode -i /multimedia_out_nfs/encodesource3/ -V -y
mpeg2enc,toolame -F 5 -o test

created:

[export_mpeg2enc.so] cmd=mpeg2enc -v 0 -q 3 -f 5 -4 2 -2 3 -b 1800
-F 3 -n p -V 230 -o "test".m2v

So the difference you see, is:
-q -4 2 -2 3

I use different -q values with different sources. But does it make
sense to use -4 2 -2 3 for encoding DVDs from dv-camera-sources?

Al


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Re: glav/lavplay of DV2 AVI files?

> My objective is to indentify frames interactively, then use some other > program, > lav2yuv, or whatever, to extract interesting frames to Jpeg or PPM images. > I do research in image processing and vision, so I want to interactivly > crop the video and extract a couple of hundred frames at a time. > You might be interested in my project http://cuisine.bigasterisk.com. I have successfully used it to log 7h of documentary footage and cut an 8m show with 3 tracks of audio. I can't say it's ready for that size project, though, since installation is near-impossible and there are lots of missing features. But, if you want to play DV (raw or avi) only, see the frame you're on, and write notes on frames that will be saved into an XML file, perhaps I've got just the tool. If you wanted to use my stuff, here's an outline of what to do: 1. Have libdv, python (at least 2.1 or 2.2, I think), avifile installed (and probably more). 2. Get my code via cvs. Instructions are on the webpage. 3. In editor/lib, attempt to make. Email me with what goes wrong.. 4. Adjust your paths so editor/lib is in PYTHONPATH and editor/pour is in PATH (latter is optional). 5. Run "butter myvideo.dv" or "butter myvideo.avi" 6. If that's working, you should run "baste myvideo.xx" to make an initial XML file describing the video. Then, butter will let you write notes on the video as you watch. 7. Modify the program 'whip' to do your output. Whip currently makes an html page with thumbnails of your video and the annotations/marks you wrote according to the XML files. I've used it to make indexes of all my clips (one thumbnail per clip in the directory tree, all marks are shown too) or a mark guide for each clip (separate thumbnail for each mark you made). BTW, butter (the playback and annotation tool) has a bunch of keys for skipping different numbers of frames, and it can playback at variable speed. We've used it to transcribe 2 hours of interviews and another project by playing them at about .4 speed and typing during the talking. See http://bigasterisk.com/post/dash/tossscreen1.png for a big screenshot. On the left, hidden, is butter; on the right, mozilla displays the output of whip; and in the middle is the timeline editor 'toss'. Toss is exceptionally hard to run because it uses pygtk2, gnome-python2, libgnomecanvas2, etc. Those were a mistake. The next version will not use them. -Drew ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en

Next Message by Date: click to view message preview

Re: changing the hue prior to encoding

Quoting "Steven M. Schultz" > Hi Dan - > > > From: scholnik@xxxxxxxxxxxxxxxxxx > > I've done that a few times. What you want is yuvcorrect. Here's some > > examples I've used to correct white balance: > > I was going to mention yuvcorrect but I see you've already done that ;) > > > What I'd really like is a tool that will scan the clip (or part of it) > > and automatically correct white balance and/or maximize contrast. > > Hand tweaking of yuvcorrect parameters is tedious. > > Have you tried yuvcorrect_tune? It's a bit tricky to get going but > does allow interactive changes to be made and the effect immediately > viewed. > Guys, this sounds great! I can't wait to try these tools out... only one problem: Where can I find yuvcorrect and yuvcorrect_tune ? Thanks, Narfi. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

Previous Message by Thread: click to view message preview

Re: difference -f 5 -f 8

Hallo > > If you use -f 5 you are allowed to set most of the parameters on > > your own. > So I can use the same parameters as -f 8 sets with -f 5? If so, > which parameters and values you have to use? Likely, but they might not makes sense. The -f 5 setes the options to produce a svcd compliant. But you are alowed to change everything. The -f 8 sets the options to produces something suitable for a DVD-Player. Maybay I have forgotten it, but why do you want to do that. It makes no reall sense to me. > -w 8500 ? > -g 15 -G 15? -w <-> -b ??!?!?? > > The -f 8 sets a other sequence length by default and a maximal > > video bitrate of 8500, other gope Size. > > What do you mean with "sequence length"? Do you mean GOP? Try: > man mpeg2enc /sequence length No, the sequence length cares about the marking a suitabel point of the stream where mplex can split the output stream into several files. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: shadowlord@xxxxxxxxx bernhard.praschinger@xxxxxxxxxxxx www: http://www.lysator.liu.se/~gz/bernhard ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

Next Message by Thread: click to view message preview

Re: difference -f 5 -f 8

Hi Al, > So the difference you see, is: > -q -4 2 -2 3 > > I use different -q values with different sources. But does it make > sense to use -4 2 -2 3 for encoding DVDs from dv-camera-sources? The -4 and -2 flags just control how exhaustively the motion estimator searches for good motion compensation. Basically, the lower the number the fewer unlikely Candidates are discarded without detailed examination. The gains in compression from cranking -4 and -2 right down are pretty marginal for most material. More a case of "I don't care if it compresses overnight, so which not". If encoding time matters to you don't bother winding them down low. Andrew ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by