Hi!
I'd like to take screnshots of some .ts file I recorded from DVB-T.
I believe that ffmpeg is the most suitable software. However, most of my .ts files have a variable aspect ratio, varying from 16:9 to 4:3 and viceversa, and if I scale the picture with the 'scale' filter the 16/9 or 4/3 programs will not have the correct AR. I also tried some expressions in the scale filter, like using the "dar" variable, but it seems it's static and contains only the first aspect ratio in the video (the one in the header).
Can anyone help me to take correct AR screenshots?
Also extracting the list of the timings in which the AR changes would help
Thank you all!
+ Reply to Thread
Results 1 to 4 of 4
-
-
Do 1st pass w forced 16:9 dar, take all decent SS's.
Do 2nd pass w forced 4:3 dar, take all decent SS's.
Unless you have some other, weird dar, you should be finished.
Or if you're worried about wrong # ordering, take all SS's each time, batch rename/number w dar designation in there, and throw out the alternating bad ones.
Scott -
Thank you very much for this good advice, however I'd like this process to be completely automatic and without need to rewatch all of the screens...
-
While thinking about your solution, I realized that if the video is cut in segments via ffmpeg, it will keep the change of 'dar', with the difference that in the header it will report the AR which it will start with (if the segment starts in 16:9 it will report 16:9, otherwise 4:3). So I solved it like this:
1) cut the video to the position where I want to take the screenshot (from the precise frame and forward 5 seconds)
2) retrieve the aspect ratio from the header of the cutted video with ffprobe
3) use the retrieved AR to correctly scale the screenshot
All the process is automatic (I use powershell) so I don't care about the mini-segments
Thanks again for the help
Similar Threads
-
Letterboxed DVD does not play in correct aspect ratio - Bad authoring?
By Knocks in forum DVD RippingReplies: 92Last Post: 13th Aug 2019, 14:53 -
Aspect ratio as a number rather than a ratio
By pooksahib in forum Newbie / General discussionsReplies: 38Last Post: 22nd Aug 2017, 19:18 -
Converting 1:85 aspect ratio to 2:39 aspect ratio using Virtual Dub
By maxgremlin in forum EditingReplies: 1Last Post: 8th Jun 2017, 23:06 -
Aspect Ratio help: What ratio is this?
By bergqvistjl in forum RestorationReplies: 20Last Post: 20th Aug 2016, 07:00 -
Aspect Ratio help
By fru$trated in forum Video ConversionReplies: 6Last Post: 9th Jul 2016, 19:48