Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

According to the FFMPEG docs, the old cropping and padding syntax is no longer supported:

-croptop size -cropbottom size -cropleft size -cropright size

All the crop options have been removed. Use -vf crop=width:height:x:y instead.

-padtop size -padbottom size -padleft size -padright size -padcolor hex_color

All the pad options have been removed. Use -vf pad=width:height:x:y:color instead.

I'm coding a simple wrapper around FFMPEG and I would like to know if there is any straightfoward way to detect if I should use the new -vf syntax or not.

I've installed the latest ffmpeg package (version SVN-r0.5.1-4:0.5.1-1ubuntu1) via aptitude but it still doesn't seem to support the new syntax, so I've no idea what to look for... Any help is appreciated!

share|improve this question

closed as off topic by Ward, Steven Monday, Scott Pack, Mark Henderson Mar 30 '11 at 1:05

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer 1

up vote 2 down vote accepted

This may be sufficient, but I don't know for sure. With ffmpeg 0.6.1, I get

$ ffmpeg -h 2>&1 | grep crop
-croptop size       set top crop band size (in pixels)
-cropbottom size    set bottom crop band size (in pixels)
-cropleft size      set left crop band size (in pixels)
-cropright size     set right crop band size (in pixels)

With ffmpeg git-8cf9a09, I get

$ ffmpeg -h 2>&1 | grep crop
-croptop size       Removed, use the crop filter instead
-cropbottom size    Removed, use the crop filter instead
-cropleft size      Removed, use the crop filter instead
-cropright size     Removed, use the crop filter instead

You may be best served to ask on the ffmpeg-user mailing list.

share|improve this answer
    
Thank you, that does the trick. –  Alix Axel Mar 30 '11 at 3:54
add comment

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