Skip to content

Instantly share code, notes, and snippets.

Created December 1, 2012 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4184471 to your computer and use it in GitHub Desktop.
Save anonymous/4184471 to your computer and use it in GitHub Desktop.
stdin
[rpolzer@grawp tmp]$ ffmpeg -i test.mkv -vf scale=360:480 -debug 1 -an -y test-vf.mp4 2>&1 | grep scale
libswscale 2. 1.102 / 2. 1.102
[scale @ 0x2d6b820] Setting 'w' to value '360'
[scale @ 0x2d6b820] Setting 'h' to value '480'
[scale @ 0x2d6b820] Setting 'flags' to value '0x4'
[Parsed_scale_0 @ 0x2d6b7a0] w:360 h:480 flags:'0x4' interl:0
[Parsed_scale_0 @ 0x2d6b7a0] w:704 h:480 fmt:yuv420p sar:10/11 -> w:360 h:480 fmt:yuv420p sar:16/9 flags:0x4
[rpolzer@grawp tmp]$ ffmpeg -i test.mkv -filter_complex "[0:0] scale=360:480 [OUT]" -map "[OUT]" -debug 1 -an -y test-vf.mp4 2>&1 | grep scale
libswscale 2. 1.102 / 2. 1.102
[scale @ 0x32e8cc0] Setting 'w' to value '360'
[scale @ 0x32e8cc0] Setting 'h' to value '480'
[Parsed_scale_0 @ 0x32da880] w:360 h:480 flags:'' interl:0
[Parsed_scale_0 @ 0x32da880] w:704 h:480 fmt:yuv420p sar:10/11 -> w:360 h:480 fmt:yuv420p sar:16/9 flags:0x2
Stream #0:0 (h264) -> scale
scale -> Stream #0:0 (libx264)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment