Re: [Mjpeg-users] difference -f 5 -f 8

2003-03-26 Thread Andrew Stevens
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
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] difference -f 5 -f 8

2003-03-21 Thread Al Bogner
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
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] difference -f 5 -f 8

2003-03-21 Thread Andrew Stevens
On Thursday 20 Mar 2003 7:16 pm, you wrote:
> man mpeg2enc says:
>
>-f|--format 5  -Non-standard SVCD.
>As  for  profile  4  but  bit-rate, video buffer size, GOP
>sizes and structure can be  set  to  non-standard  values.
>Frame size may also be non-standard.
>
>-f|--format 8  -DVD MPEG-2.
>Just a very basic implementation.
>
> It works fine to crete a vob-file from a mpeg/m2v-file, which was
> created with -f 5. So what is the difference between -f 5 and -f 8?
>
> Are there parameters which can be set with -f 5 manually and are
> created with -f 8 by default?
>
> Which GOP is used with -f 8? Is -s a default value for -f 8? I read,
> that authoring programs (Win) need -s to accept the file.

If you look for the string SVCD and DVD in the source code you'll see the 
exact differences that are set!

Basically, SVCD inserts stuff needed for SVCD DVD for DVD and there are some 
differences in the way system headers are constructed.   However, since its 
all MPEG-2 a *well-written* MPEG-2 decoder should be able to handle both.
Software decoders can usually handle almost anything (they mostly ignore
the more-or-less redundant header infos anyway).

Alas, you typical set-top DVD/SVCD player is rarely a well-written MPEG-2 
decoder.  Usually slightly flaky and only tested on  a limited range of 
streams and go nuts if they hit optional headers they don't expect or similar.

Andrew




---
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
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] difference -f 5 -f 8

2003-03-21 Thread Bernhard Praschinger
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: [EMAIL PROTECTED] [EMAIL PROTECTED]
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
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] difference -f 5 -f 8

2003-03-20 Thread Al Bogner
On Donnerstag, 20. März 2003 20:17 Bernhard Praschinger wrote:

> 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?

-w 8500 ?
-g 15 -G 15?

> 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?

Al


---
This SF.net email is sponsored by: Tablet PC.
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
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] difference -f 5 -f 8

2003-03-20 Thread Bernhard Praschinger
Hallo

> man mpeg2enc says:
>-f|--format 5  -Non-standard SVCD.
>As  for  profile  4  but  bit-rate, video buffer size, GOP
>sizes and structure can be  set  to  non-standard  values.
>Frame size may also be non-standard.
> 
>-f|--format 8  -DVD MPEG-2.
>Just a very basic implementation.
> 
> It works fine to crete a vob-file from a mpeg/m2v-file, which was
> created with -f 5. So what is the difference between -f 5 and -f 8?
> 
> Are there parameters which can be set with -f 5 manually and are
> created with -f 8 by default?
> 
> Which GOP is used with -f 8? Is -s a default value for -f 8? I read,
> that authoring programs (Win) need -s to accept the file.
Take a look at the startup information of mpeg2enc. There you see the
values mpeg2enc uses. 

The -s option is a default for VCD/SVCD presets. I'm not soure if it is
for DVD, but mayby because else you will not be able to seek
forward/backward.

If you use -f 5 you are allowed to set most of the parameters on your
own. 

The -f 8 sets a other sequence length by default and a maximal video
bitrate of 8500, other gope Size. 

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


---
This SF.net email is sponsored by: Tablet PC.  
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
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users