Hello,

On Sat, 02 Jul 2011, meino.cra...@gmx.de wrote:
>David Haller <gen...@dhaller.de> [11-07-02 07:12]:
>> On Sat, 02 Jul 2011, meino.cra...@gmx.de wrote:
>> >is there a software, a tool, a "something" which with it is possible
>> >to print the frame numbers of those frames in a video file, which are
>> >at positions, where the aspect-ratio changes? 
>> 
>> Try
>> 
>>     mplayer -nosound -benchmark -vo null FILE
>> 
>> the third column is the frameno and aspect changes should be logged. I
>> don't have a file to test with though.
>
>thank you for your reply ! :)
>
>It reports the aspect ratio changes...but it does not report the
>frames, at which it happens...

Have a look at the last frameno of the "progress" before the reported
aspect change in mplayer's output. That frame or the following is the
one you're looking for. It should look something like this:

Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [null] 640x360 => 640x360 Planar YV12  [zoom]
V:  41.7 1044/1044  1%  0%  0.0% 0 0
[aspect change reported here, can't remember what the message is]
V:  .... [more progress]

So, in this constructed case aspect change would be from frame 1044 to
frame 1045 I think.

This is from memory, so point me to a sample file if you need more
details.

Oh, you can also use 'avidemux' to load a file and navigate to
specific frames. It's just that avidemux doesn't scale anamorphic
stuff correctly, so you'd have to look at the output "view" whether an
aspect change happens between two frames.

There's also a program that tries to detect advertising, IIRC also
using aspect changes as indicators. Its name escapes me ATM.

HTH,
-dnh

-- 
Research is what I'm doing when I don't know what I'm doing.
                                        -- Wernher von Braun

Reply via email to