Hot answers tagged

2

how can I concatenate different videos while maintaining the original quality and aspect ratio? using concat demuxer Make text file containing: file '1.mp4' file '2.mp4' Run ffmpeg: ffmpeg -f concat -i input.txt -c copy output.mp4 This is fast and does not re-encode, so it will maintain the original quality, but it may not be supported or play ...


2

For a H264 stream, use the h264_metadata bitstream filter ffmpeg -i in.mp4 -c copy -bsf:v "h264_metadata=sample_aspect_ratio=4/3" out.mp4


2

Apply a screen protector to the LCD and use a permanent marker to draw the aspect ratio you want to frame for. Relatively inexpensive, easy to add, and completely safe for your screen. You may want to just draw a fairly thin line to mark the safe area; it can sometimes be useful to see the full frame.


1

You are correct. The pixel aspect ratio is wrong. DV has a fixed horizontal resolution, but can display 16:9 frames by stretching out the pixels. The display resolution is set in metadata, so it is possible to make the file play back properly without re-encoding by changing the metadata. The free, open-source tool ffmpeg can do it. This would be the command ...


1

I assume you already checked the manual and there's no firmware option. Well, the easiest way is to hide the excess areas with black electrical tape that you put directly on the screen after measuring the frame height. If needed the tape can be pulled partly off and put back on. The pricy alternative is a suitable external monitor, called "field monitor".


1

If you want the output resolution to be 1280x720 and the video keeps its original ratio aspect as well: ffmpeg -v error -stats -i input -vf "scale=1280:720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2" output


1

To keep aspect ratio change: -vf scale=640:360 -vf scale=1280:720 -vf scale=1920:1080 to: -vf scale=-2:360 -vf scale=-2:720 -vf scale=-2:1080 See scale filter documentation for more info.


1

If you want to change the Sample Aspect Ratio (aka Pixel Aspect Ratio) without reencoding use mkvmerge or mp4box: mkvmerge mkvmerge -o "out.mp4" --aspect-ratio-factor 0:4/3 "in.mp4" mp4box mp4box -add in.mp4 -par 1=4:3 out.mp4 In ffmpeg you cannot combine a filter with -c copy ... ffmpeg -i in.mp4 -vf setsar=sar=4/3 -map 0 -c copy out.mp4 because ...


1

Use the frame guides built into whichever camera you use, and set the guides to 4:3. Both cameras you mention have them. When you're shooting, compose your image inside the frame guide. The camera will record outside of that area, but when you edit, you'll crop the image back down to 4:3. The extra pixels around the edges allow you to do things like; ...


1

our existing 4:3 song slides (1024x768) The real resolution of a slide depends on the program and file format they are in. If the slides are in PowerPoint or similar, they have no native resolution, they have a proportion. If they are JPG files or a video, yes, you are stuck with the resolution. A projector has indeed a native resolution, if it is a 16:9 ...


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