1
votes

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

1

1 Answers

3
votes

Perhaps this command line option is the solution:

-aspect aspect      set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)