aspect ratio is changed using ffmpeg sameq and codec copy
Posted
by
Vishal Parekh
on Stack Overflow
See other posts from Stack Overflow
or by Vishal Parekh
Published on 2012-03-20T14:55:25Z
Indexed on
2012/03/21
5:29 UTC
Read the original article
Hit count: 341
video
i am using ffmpeg to extract clip from mp4 video,
i tried with "-acodec copy -vcodec copy" and "-sameq"
in both, aspect ration of generated file is changed.
( ffmpeg -sameq -i "input file" "output file"
ffmpeg -i "input file" -acodec copy -vcodec copy "outputfile"
)
source file is of aspect ratio sar=4:3 dar=4:3
new file is has aspect ratio sar=4:3 dar=1:1
please help me to solve this problem,
one weird thing is when i see details in another video tool, it shows me sar=4:3 dar=4:3 of source video
but when i use command ffmpeg -i sourcefile, it shows me sar=300:400 dar=1:1
thanks vishal parekh
© Stack Overflow or respective owner