[FFmpeg-user] Problem with setting x264 profile/ x264opts
Rodney Baker
rodney.baker at iinet.net.au
Mon Jan 23 16:08:08 CET 2012
On Tue, 24 Jan 2012 01:35:05 Tim Nicholson wrote:
> On 23/01/12 14:47, Mike Scheutzow wrote:
> > Tim Nicholson wrote:
> >> However if I try and add the high profile to the parameters it fails:-
> >>
> >> ffmpegstatic -i glitz4-DV.mov \
> >> -f lavfi -i "amovie=glitz4-DV.mov:si=1 [a1]; amovie=glitz4-DV.mov:si=2
> >> [a2]; [a1][a2] amerge, aformat=s16:stereo:all " \
> >> -map 0:0 -map 1:0 -c:v libx264 -profile high -b:v 704k -r 25 \
> >> -maxrate 704k -bufsize 5097k \
> >> -c:a libfaac -b:a 96k -ar 48000 -ac 2 \
> >> -y ./glitz4-DV-bitc.mp4
> >>
> > From what I read in this group, the option formerly known as "-profile"
> >
> > has been changed to "-vprofile".
>
> Not according to the current docs, and the console output clearly shows:-
>
> "[NULL @ 0x17f7e20] [Eval @ 0x7fffd2fc8580] Undefined constant or
> missing '(' in 'high'
> [NULL @ 0x17f7e20] Unable to parse option value "high"
> [NULL @ 0x17f7e20] Error setting option profile to value high."
>
> Which suggests that it is the value, not the option that is the problem.
No, it is not the value, it is the option/value pair. -vprofile is correct (as
distinct from -aprofile for audio). I've been caught with exactly this same
error and using -vprofile intead of -profile fixes (or works around) it.
--
===================================================
Rodney Baker VK5ZTV
rodney.baker at iinet.net.au
===================================================
More information about the ffmpeg-user
mailing list