Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to run the command

ffmpeg -i webcamrecording.flv -s 1024x768 -profile:v baseline webcamrecording.mp4

as part of an attempt to produce an mp4 that can play in a video tag. I get the message

Unrecognized option 'profile:v'

Is my ffmpeg too old? I have version .6.5.0.

share|improve this question

migrated from stackoverflow.com Feb 9 '13 at 14:35

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers 2

Is my ffmpeg too old? I have version .6.5.0.

Yes. That option probably was added later, or at least the version with the stream specifier :v. You could try using -profile without the :v, or -vprofile (which was undocumented for some FFmpeg versions up to 0.9), or just install a recent build.

To do that, go to their download page and compile it yourself or install a static build for your operating system.

share|improve this answer
    
Thanks! I tried that and got [NULL @ 0x478f4a0]Unable to parse option value "baseline": undefined constant or missing ( –  user2056378 Feb 9 '13 at 21:56
    
So you're on a recent FFmpeg now? What exactly is "that" you tried? ? vprofile or profile? What happens when you specify ffmpeg -i input.flv -c:v libx264 -profile:v baseline output.mp4? (Please update your question with the full, uncut command line output.) –  slhck Feb 9 '13 at 21:57
    
Sorry, "that" is vprofile. Then I tried -vcodec libx264 -vpre slow -vpre ipod640 -b 250k -bt 50k -acodec libfaac -ab 56k -ac 2 and- it worked! Thanks for your help slhck, I wouldn't have gotten there without you. –  user2056378 Feb 9 '13 at 22:42
    
Glad I could help. -vprofile is the undocumented workaround. This means that you're still on an old version though, since that was fixed 10 months ago. Also the -vpre option is deprecated, and newer versions of FFmpeg won't allow you to use it. Consider upgrading if you can, though, since you won't be able to get much support for old releases (here, and on the FFmpeg mailing list, etc.). –  slhck Feb 9 '13 at 22:48
add comment

Works for me good sir

$ ffmpeg -i webcamrecording.flv -s 1024x768 -profile:v baseline webcamrecording
.mp4
ffmpeg version N-49069-gc74d465 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 20 2013 23:44:08 with gcc 4.7.2 (GCC)

Press [q] to stop, [?] for help
frame=   63 fps=0.0 q=28.0 size=     124kB time=00:00:02.88 bitrate= 351.9kbits/
frame=  103 fps=102 q=28.0 size=     478kB time=00:00:04.60 bitrate= 849.2kbits/
frame=  137 fps= 91 q=28.0 size=     806kB time=00:00:06.04 bitrate=1091.5kbits/
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.