[FFmpeg-user] Problem with setting x264 profile/ x264opts

Tim Nicholson tim.nicholson at bbc.co.uk
Mon Jan 23 16:25:18 CET 2012


On 23/01/12 15:08, Rodney Baker wrote:
> 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.
>


Hmmm changing -profile high to -vprofile high does work thank you. 
*However* using the x265opts vprofile=high still doesn't, and I still 
cannot get tune to work!

The docs are certainly out of date....

http://ffmpeg.org/ffmpeg.html#libx264

[...]

‘profile profile_name’

     Set profile restrictions.

[...]

This document was generated on January 22, 2012 using texi2html 1.82.

When I have a bit of time I will submit a doc patch if no one else does 
it in the meantime.

-- 
Tim


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					


More information about the ffmpeg-user mailing list