Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
FORUMS:listlist (w/ descriptions)archivetagssearchhall of famerecent posts

Re: Encoding a Windows Media Player compatible DV25 .avi file

COW Forums : FFmpeg

VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


stephen dixonRe: Encoding a Windows Media Player compatible DV25 .avi file
by on Mar 2, 2012 at 12:14:47 pm

Have you used the -aspect option? I believe the parameters are just the ratio as x:y, e.g. 16:9 or 4:3.

You could find the aspect of the original source with ffprobe, a bit of regex hacking would return it as a variable:
AR=$(ffprobe source.mov 2>&1|sed "s/.*PAR[[:space:]]*([0-9]*):([0-9]*).*/1:2/")

then you can use the variable as a parameter in the -aspect option:
ffmpeg -i source.mov [whatever] -aspect $AR [whatever] output.avi

This is assuming you're in a POSIX environment of course.

Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]