
- #CHANGE ASPECT RATIO YOUTUBE DOWNLOAD MAC OS X#
- #CHANGE ASPECT RATIO YOUTUBE DOWNLOAD MP4#
- #CHANGE ASPECT RATIO YOUTUBE DOWNLOAD PATCH#
#CHANGE ASPECT RATIO YOUTUBE DOWNLOAD MAC OS X#
#CHANGE ASPECT RATIO YOUTUBE DOWNLOAD PATCH#
It took me a couple seconds to do the MKVMerge option and all night trying to patch the copy of ffmpeg that I downloaded with the patch and trying to figure out the correct command to use. Since I don't own the OP's TV, I don't know if it works or not. Maybe someone with better knowledge of ffmpeg and sar and dar could come up with something better. I don't know if it's correct but the output file was the same size as the mkv. I couldn't find any info on changing the sar and dar so the best that I could come up with was.įfmpeg -i input.mp4 -vcodec copy -an -acodec copy -vbsf h264_changesps=fps=25000:1000/sar=1:1/dar=12:5 output.mp4įor %%a in ("*.mp4") do ffmpeg -i %%a -vcodec copy -sn -acodec copy -vbsf h264_changesps=fps=25000:1000/sar=1:1/dar=12:5 %%~na.new.mp4 I went to the site linked by jagabo and downloaded the ffmpg build and the patch.
#CHANGE ASPECT RATIO YOUTUBE DOWNLOAD MP4#
Then use ffmpeg copy command to mux in MP4 container (or copy the video and convert the audio since it's probably container specific).

It's a lot easier to use MKVMerge and under format specific options, tick aspect ratio and type in 2.40 and save MKV. Any thoughts? I'm just wondering if there's a way to fix this without re-encoding all my cropped files. I can't figure out what is different between the two videos after the encode.Īnd this is my re-encode which plays fine:Įncoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=3 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00Īt first I thought it might be that my TV can't display the correct aspect ratio for the higher h.264 profiles, but they seem to be the same for the two files. However, I re-encoded the video using Handbrake, and the video plays fine and at the correct aspect ratio on my TV.


I'm using a media server to stream files to my Panasonic Viera TV and I've found certain videos with wider aspect ratios that are cropped from a 16:9 source will play on the TV, but the TV will stretch the image to fill the screen.įor example, I ripped this video from Youtube, and it is stretched on my TV.
