Video editing with AviDemux
- 1s seek: Shift+Left / Shift+Right
- 2s seek: Ctrl+Left / Ctrl+Right
- 4s seek: Ctrl+Shift+Left / Ctrl+Shift+Right
- 60s seek: Ctrl+Up / Ctrl+Down
How to handle videos that look "stretched"
If you run MediaInfo or ffmpeg's ffprobe, here's what you might find for
a video that looks "stretched" when opened in AviDemux:
- Stream #0:0[0x100]: Video: h264 (High) ( / 0x001B), yuv420p(top
first), 1440x1080 [SAR 4:3 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50
If you can't stand slicing a video at keyframes while the video looks odd,
here's how to fix it:
- Main window: "Video output", change from "Copy"
- Video > Filters > Transform > swsResize:
: PAL 720:576 DAR 16:9 PAR 64:45
Destination PAR : 1:1
64/45 = 1,4222, so different from 4:3 (= 1,3333)
- Video > Play Filtered
- Play the video in AviDemux. Note that the display will go back to the
odd look every time you stop playing it.
- Go back to Copy mode, slice video at keyframes, export, play in VLC
There might be a Windows video that can 1) display those videos correctly
unlike AviDemux and 2) slice at keyframes without re-encoding, but I don't know.
Camcorder: Try all shooting settings available, and for each, check how it
works in AviDemus.
SAR, DAR, PAR?
ffmpeg -i merged.mts -c copy merged.mp4
ffmpeg -i "merged.mts" -vf setdar=16:9 -c:a copy -t 10 "merged.mp4"
ffmpeg -i merged.mts -vf scale=1440:810 -c:v libx264 -t 10 merged.mp4
ffmpeg -i merged.mts -aspect 1440:810 -c copy merged.mp4