Hot answers tagged

3

Using ffmpeg, ffmpeg -i input.mp4 -vf "scale=1920:1080:flags=lanczos,setsar=1" output.mp4 This will stretch the video to 1920x1080. ffmpeg -i input.mp4 -vf "scale=-1:1080:flags=lanczos,setsar=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" output.mp4 This will keep the aspect ratio but place black bars on the left and right. The flag in the scale filter ...


2

Private options are switches/flags only applicable to specific encoders or decoders, and ignored by anything else. To see the available private options for an encoder, use avconv -h encoder=name e.g. avconv -h encoder=flv For LibAV, these are the private options available for the MPEG-1 & 2 encoders. { "mpv_flags", "Flags common for all ...


1

Streaming formats maintain timestamps for each frame, whether audio or video, which govern when the player ought to present them. Those non-zero big start times usually occur when a snippet is cut out from a longer video and the tool used does not reset the timestamps. Although if this FLV was recorded on its own, then it's strange. In any case, running the ...



Only top voted, non community-wiki answers of a minimum length are eligible