Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file?
Date: Sat, 02 Jul 2011 07:33:26
Message-Id: 20110702073145.GD3049@solfire
In Reply to: Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? by David Haller
1 David Haller <gentoo@×××××××.de> [11-07-02 09:04]:
2 > Hello,
3 >
4 > On Sat, 02 Jul 2011, meino.cramer@×××.de wrote:
5 > >David Haller <gentoo@×××××××.de> [11-07-02 07:12]:
6 > >> On Sat, 02 Jul 2011, meino.cramer@×××.de wrote:
7 > >> >is there a software, a tool, a "something" which with it is possible
8 > >> >to print the frame numbers of those frames in a video file, which are
9 > >> >at positions, where the aspect-ratio changes?
10 > >>
11 > >> Try
12 > >>
13 > >> mplayer -nosound -benchmark -vo null FILE
14 > >>
15 > >> the third column is the frameno and aspect changes should be logged. I
16 > >> don't have a file to test with though.
17 > >
18 > >thank you for your reply ! :)
19 > >
20 > >It reports the aspect ratio changes...but it does not report the
21 > >frames, at which it happens...
22 >
23 > Have a look at the last frameno of the "progress" before the reported
24 > aspect change in mplayer's output. That frame or the following is the
25 > one you're looking for. It should look something like this:
26 >
27 > Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
28 > VO: [null] 640x360 => 640x360 Planar YV12 [zoom]
29 > V: 41.7 1044/1044 1% 0% 0.0% 0 0
30 > [aspect change reported here, can't remember what the message is]
31 > V: .... [more progress]
32 >
33 > So, in this constructed case aspect change would be from frame 1044 to
34 > frame 1045 I think.
35 >
36 > This is from memory, so point me to a sample file if you need more
37 > details.
38 >
39 > Oh, you can also use 'avidemux' to load a file and navigate to
40 > specific frames. It's just that avidemux doesn't scale anamorphic
41 > stuff correctly, so you'd have to look at the output "view" whether an
42 > aspect change happens between two frames.
43 >
44 > There's also a program that tries to detect advertising, IIRC also
45 > using aspect changes as indicators. Its name escapes me ATM.
46 >
47 > HTH,
48 > -dnh
49 >
50 > --
51 > Research is what I'm doing when I don't know what I'm doing.
52 > -- Wernher von Braun
53 >
54
55 Hi David,
56
57 slowly but surely the circle is closing :)))))
58
59 Initially I wanted to know the frame numbers to navigate - guess what
60 program ? :) - avidemux directly to the advertising parts of the video
61 to cut that stuff out of my (visual) way :)))
62 I didnt want to scroll through the video stuff to find
63 advertsisings anymore...
64
65 Sorry when asking...I did not understand your last posting
66 completly...I am no native English speaker.
67
68 What is the name of the programm to cut off advertisings?
69 ATM??? IIRC??? And escape sequences...or? I think I am
70 completly lost here....
71
72 HELP ! :))
73
74 Best regards
75 mcc

Replies

Subject Author
Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? "Sebastian Beßler" <sebastian@××××××××××××.de>
Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? Florian Philipp <lists@×××××××××××.net>