Re: [FFmpeg-user] What is option -level ?

2019-02-14 Thread Carl Eugen Hoyos
2019-02-15 0:28 GMT+01:00, Ulf Zibis : > Hi Jonathan, > > thanks for your hints. Unfortunately they have been already known to > me, but there still remain 2 questions from my side: > - The '+' with "-flags" arguments, I can imagine, it serves as > separator. But is that all, has '-' another

Re: [FFmpeg-user] What is option -level ?

2019-02-14 Thread Ulf Zibis
Hi Jonathan, thanks for your hints. Unfortunately they have been already  known to me, but there still remain 2 questions from my side: - The '+' with "-flags" arguments, I can imagine, it serves as separator. But is that all, has '-' another meaning too? There is no explanation on this at:

Re: [FFmpeg-user] What is option -level ?

2019-02-14 Thread Jonathan Isom
From: Ulf Zibis Reply: FFmpeg user questions Date: February 13, 2019 at 4:23:43 PM To: ffmpeg-user@ffmpeg.org Subject: Re: [FFmpeg-user] What is option -level ? > Am 13.02.19 um 20:23 schrieb Lou Logan: > > https://trac.ffmpeg.org/wiki/Encode/H.264 > > Thanks, I know this

Re: [FFmpeg-user] What is option -level ?

2019-02-13 Thread Carl Eugen Hoyos
2019-02-13 23:23 GMT+01:00, Ulf Zibis : > > Am 13.02.19 um 20:23 schrieb Lou Logan: >>> If I need 2 passes I should know about the correct syntax, >>> "-flags pass1" or "-pass 1". >> >> "-pass 1" for the first pass, then "-pass 2" for the second pass. > > I was just wondering, that option "-pass"

Re: [FFmpeg-user] What is option -level ?

2019-02-13 Thread Ulf Zibis
Am 13.02.19 um 20:23 schrieb Lou Logan: > https://trac.ffmpeg.org/wiki/Encode/H.264 Thanks, I know this page. >> If I need 2 passes I should know about the correct syntax, "-flags pass1" or >> "-pass 1". > "-pass 1" for the first pass, then "-pass 2" for the second pass. I was just wondering,

Re: [FFmpeg-user] What is option -level ?

2019-02-13 Thread Lou Logan
On Tue, Feb 12, 2019, at 1:11 PM, Ulf Zibis wrote: > > I'm not sure, if I need 2 passes It depends on what you want to do. If you want to try to target a specific output file size then use two-passes. If that's not really a concern just do a single pass using -crf. See the wiki page:

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ulf Zibis
Am 12.02.19 um 21:43 schrieb Lou Logan: > This looks like a command from 10 years ago. > Use -crf instead of -b. If you must use -b then use -b:v. > > Use scale filter instead of -s. If you need to scale. > > Do you need to crop? > > You don't need -aspect. If you do want to mess with aspect use

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Carl Eugen Hoyos
2019-02-12 18:12 GMT+01:00, Ted Park : > It is a set of constraints on the encoding parameters. Basically > the encoder sets the level to indicate the decoder capabilities > necessary and sufficient to decode the stream. In addition, I'd like to note that with software decoding, the level chosen

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Lou Logan
On Tue, Feb 12, 2019, at 11:33 AM, Ulf Zibis wrote: > In another option set of K9copy there is: > -b $VIDBRk -s $WIDTHx$HEIGHT -vf > crop=$WIDTH-$CROPRIGHT-$CROPLEFT:$HEIGHT-$CROPTOP-$CROPBOTTOM:$CROPLEFT:$CROPTOP > -aspect $ASPECT -codec:v libx264 -level 30 -flags +loop+mv4 -cmp 256 > -partitions

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ulf Zibis
Am 12.02.19 um 21:33 schrieb Ulf Zibis: > Shouldn't it be "-flags pass1" instead "-pass 1"? > Are there other elements in that option set, which are bad syntax? E.g. > for -cmp I only see values like 'sad' in the ffmpeg docs, but not '256'. And what is the meaning of '+' with the -flags values?

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ulf Zibis
Am 12.02.19 um 19:42 schrieb Ted Park: > Try searching for level on the page you linked, it is listed, along with > syntax. Ah, you mean to use "level" with hyphen, so "-level". This is poorly described. But how to determine, if such option is meant for audio, video or both? > I think its name

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ted Park
> But wouldn't it be useful to simply mention it's existence, syntax and > general meaning? Try searching for level on the page you linked, it is listed, along with syntax. I think its name is the only practical explanation of its meaning, as I mentioned, it can be completely different for each

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ulf Zibis
Much thanks again. Am 12.02.19 um 18:51 schrieb Ted Park: >> I'm wondering, why this option is not documented in >> https://www.ffmpeg.org/ffmpeg-codecs.html >> > It is, sort of. It is a global codec option; various codecs have a concept of > “levels”

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ted Park
> I'm wondering, why this option is not documented in > https://www.ffmpeg.org/ffmpeg-codecs.html > It is, sort of. It is a global codec option; various codecs have a concept of “levels” but since the definition will be completely different from one

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ulf Zibis
Much thanks Ted. I'm wondering, why this option is not documented in https://www.ffmpeg.org/ffmpeg-codecs.html Unfortunately also here I can't find level 30: https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels -Ulf Am 12.02.19 um 18:12 schrieb Ted Park: > It is a set of constraints on the

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ted Park
It is a set of constraints on the encoding parameters. Basically the encoder sets the level to indicate the decoder capabilities necessary and sufficient to decode the stream. Take a look at Annex A of H.264. ___ ffmpeg-user mailing list