* [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? @ 2011-07-02 2:50 meino.cramer 2011-07-02 5:04 ` David Haller 0 siblings, 1 reply; 12+ messages in thread From: meino.cramer @ 2011-07-02 2:50 UTC (permalink / raw To: Gentoo Hi, 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? Best regards, mcc ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? 2011-07-02 2:50 [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? meino.cramer @ 2011-07-02 5:04 ` David Haller 2011-07-02 6:05 ` meino.cramer 0 siblings, 1 reply; 12+ messages in thread From: David Haller @ 2011-07-02 5:04 UTC (permalink / raw To: gentoo-user Hello, On Sat, 02 Jul 2011, meino.cramer@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. HTH, -dnh -- Human beings were created by water to transport it uphill. -- BSD fortune file ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? 2011-07-02 5:04 ` David Haller @ 2011-07-02 6:05 ` meino.cramer 2011-07-02 6:58 ` David Haller 0 siblings, 1 reply; 12+ messages in thread From: meino.cramer @ 2011-07-02 6:05 UTC (permalink / raw To: gentoo-user David Haller <gentoo@dhaller.de> [11-07-02 07:12]: > Hello, > > On Sat, 02 Jul 2011, meino.cramer@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. > > HTH, > -dnh > > -- > Human beings were created by water to transport it uphill. > -- BSD fortune file > Hi David, thank you for your reply ! :) It reports the aspect ratio changes...but it does not report the frames, at which it happens... Any other idea? Best regards, mcc ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? 2011-07-02 6:05 ` meino.cramer @ 2011-07-02 6:58 ` David Haller 2011-07-02 7:31 ` meino.cramer 0 siblings, 1 reply; 12+ messages in thread From: David Haller @ 2011-07-02 6:58 UTC (permalink / raw To: gentoo-user Hello, On Sat, 02 Jul 2011, meino.cramer@gmx.de wrote: >David Haller <gentoo@dhaller.de> [11-07-02 07:12]: >> On Sat, 02 Jul 2011, meino.cramer@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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? 2011-07-02 6:58 ` David Haller @ 2011-07-02 7:31 ` meino.cramer 2011-07-02 8:38 ` Stroller ` (2 more replies) 0 siblings, 3 replies; 12+ messages in thread From: meino.cramer @ 2011-07-02 7:31 UTC (permalink / raw To: gentoo-user David Haller <gentoo@dhaller.de> [11-07-02 09:04]: > Hello, > > On Sat, 02 Jul 2011, meino.cramer@gmx.de wrote: > >David Haller <gentoo@dhaller.de> [11-07-02 07:12]: > >> On Sat, 02 Jul 2011, meino.cramer@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 > Hi David, slowly but surely the circle is closing :))))) Initially I wanted to know the frame numbers to navigate - guess what program ? :) - avidemux directly to the advertising parts of the video to cut that stuff out of my (visual) way :))) I didnt want to scroll through the video stuff to find advertsisings anymore... Sorry when asking...I did not understand your last posting completly...I am no native English speaker. What is the name of the programm to cut off advertisings? ATM??? IIRC??? And escape sequences...or? I think I am completly lost here.... HELP ! :)) Best regards mcc ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? 2011-07-02 7:31 ` meino.cramer @ 2011-07-02 8:38 ` Stroller 2011-07-02 9:43 ` Neil Bothwick 2011-07-02 9:49 ` David Haller 2011-07-02 8:50 ` Sebastian Beßler 2011-07-02 8:52 ` Florian Philipp 2 siblings, 2 replies; 12+ messages in thread From: Stroller @ 2011-07-02 8:38 UTC (permalink / raw To: gentoo-user On 2 July 2011, at 08:31, meino.cramer@gmx.de wrote: > ... > Initially I wanted to know the frame numbers to navigate - guess what > program ? :) - avidemux directly to the advertising parts of the video > to cut that stuff out of my (visual) way :))) > I didnt want to scroll through the video stuff to find > advertsisings anymore… You're doing it again! Wasn't this raised before? I'm extremely sceptical of a plan to reimplement a media centre / home-theatre PC in bash scripts - just install MythTV and stop trying to reinvent the wheel. I'm surprised that detecting adverts is as simple, where you are, as detecting aspect ratio changes, because it ain't that easy elsewhere. But MythTV already has ad detection built-in. IIRC it uses different parameters for different countries / channels - in some places advertising can be identified by the lack of a channel logo that is watermarked in the corner of the screen over the TV show. >> There's also a program that tries to detect advertising, IIRC also >> using aspect changes as indicators. Its name escapes me ATM. > > Sorry when asking...I did not understand your last posting > completly...I am no native English speaker. > > ATM??? IIRC??? And escape sequences...or? I think I am > completly lost here…. ATM = at the moment IIRC = if I recall correctly "its name escapes me" = I can't remember its name Stroller. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? 2011-07-02 8:38 ` Stroller @ 2011-07-02 9:43 ` Neil Bothwick 2011-07-02 9:49 ` David Haller 1 sibling, 0 replies; 12+ messages in thread From: Neil Bothwick @ 2011-07-02 9:43 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 621 bytes --] On Sat, 2 Jul 2011 09:38:50 +0100, Stroller wrote: > I'm extremely sceptical of a plan to reimplement a media centre / > home-theatre PC in bash scripts - just install MythTV and stop trying > to reinvent the wheel. I was about to post something similar. > >> There's also a program that tries to detect advertising, IIRC also > >> using aspect changes as indicators. Its name escapes me ATM. MythTV has command line programs to detect adverts (mythcomflag) and remove them (mythtranscode). -- Neil Bothwick You do not need a parachute to skydive. You only need a parachute to skydive twice. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? 2011-07-02 8:38 ` Stroller 2011-07-02 9:43 ` Neil Bothwick @ 2011-07-02 9:49 ` David Haller 2011-07-03 9:46 ` Stroller 1 sibling, 1 reply; 12+ messages in thread From: David Haller @ 2011-07-02 9:49 UTC (permalink / raw To: gentoo-user Hello, On Sat, 02 Jul 2011, Stroller wrote: >On 2 July 2011, at 08:31, meino.cramer@gmx.de wrote: >> ... >> Initially I wanted to know the frame numbers to navigate - guess what >> program ? :) - avidemux directly to the advertising parts of the video >> to cut that stuff out of my (visual) way :))) >> I didnt want to scroll through the video stuff to find >> advertsisings anymore? Well, does my suggested method work? You can input the frame-numbers to navigate to in avidemux. >You're doing it again! Wasn't this raised before? [me hasn't really followed this list yet] >I'm extremely sceptical of a plan to reimplement a media centre / >home-theatre PC in bash scripts - just install MythTV and stop trying >to reinvent the wheel. If that's the case, yes, Meino, do use MythTV or VDR. Or the c't-VDR derivative. Oh, and BTW: if you're german, the -de list could use some traffic, and I also know some guys on other multimedia-de lists who know vdr and or mythtv quite well. >>> There's also a program that tries to detect advertising, IIRC also >>> using aspect changes as indicators. Its name escapes me ATM. > >> Sorry when asking...I did not understand your last posting >> completly...I am no native English speaker. >> >> ATM??? IIRC??? And escape sequences...or? I think I am >> completly lost here?. Neither am I[1]. And many others on this list (guessing from the names). I thought those acronyms to be common enough on MLs and Usenet. BTW: using google with 'define:<ACRONYM>' and http://en.wikipedia/wiki/<ACRONYM> has a success-rate of almost 100%. And if not, there are specialised directories, e.g. http://www.acronymfinder.com/ or abkuerzungen.de if you're german. >ATM = at the moment >IIRC = if I recall correctly Jep. >"its name escapes me" = I can't remember its name Almost: "I know I knew its name[, but at the moment,] the memory of that name has escaped (or fled) my mind" ;) Or: "I can't _quite_ remember it (now), but I should, I know it's there, but it has escaped into some corner of my mind and is making faces at me" (or something similar). A slight distinction [cf. non-random sig] ;) Thanks though. And too bad nobody else has yet piped up with the name of the program. ISTR[2] that it also is (or was) used by one of/or both mythtv/vdr. Well, maybe I'll remember tomorrow. A good night's (or day's or whatever) sleep often works wonders when wrestling with linux problems (unlike Win-Probs[3], BTDTNT). And with "can't remember" stuff ;) Still got a total blank ATM though ... *yawn* ;) -dnh [1] but I might as well almost be. I forget to adapt at times. Sorry. [2] "I seem to remember ..." ("Ich glaube mich [daran] zu erinnern, ..."). [3] there, is at best 50:50, IIRC. Ok, that's up to Win95 "up close" but up to XP "for mom" (i.e. only neccessary stuff) ... -- Rincewind hesitated. The thought had crossed his mind, only very fast and looking nervously from side to side in case it got knocked over. -- Terry Pratchett, The Light Fantastic, p. 112 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? 2011-07-02 9:49 ` David Haller @ 2011-07-03 9:46 ` Stroller 0 siblings, 0 replies; 12+ messages in thread From: Stroller @ 2011-07-03 9:46 UTC (permalink / raw To: gentoo-user On 2 July 2011, at 10:49, David Haller wrote: > ... >> "its name escapes me" = I can't remember its name > > Almost: "I know I knew its name[, but at the moment,] the memory of > that name has escaped (or fled) my mind" ;) Or: "I can't _quite_ > remember it (now), but I should, I know it's there, but it has escaped > into some corner of my mind and is making faces at me" (or something > similar). A slight distinction [cf. non-random sig] ;) OT, but I'm not sure that I see the difference. I was merely trying to give a simple explanation for the benefit of a non-native English speaker. My "compact" edition of the 24 volume Oxford English dictionary gives no more than: 5) To elude (observation, search, etc.); to elude the notice of a person, … b) to elude (a person's recollection). The earliest recorded usage (of b) was by Sir William Hope in 1696, translating J de Solleysel's "La Connoissance parfaite des chevaux" ("The Compleat Horseman") when he wrote "Lest it might have escaped my memory, I here set it down". In 1865, Dickens used it with the use of "memory" or "recollection" only implied, writing "The name of which escapes me". But, y'know, I didn't think that was relevant or assisted Meino's understanding. Stroller. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? 2011-07-02 7:31 ` meino.cramer 2011-07-02 8:38 ` Stroller @ 2011-07-02 8:50 ` Sebastian Beßler 2011-07-02 9:43 ` Neil Bothwick 2011-07-02 8:52 ` Florian Philipp 2 siblings, 1 reply; 12+ messages in thread From: Sebastian Beßler @ 2011-07-02 8:50 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 305 bytes --] Am 02.07.2011 09:31, schrieb meino.cramer@gmx.de: > What is the name of the programm to cut off advertisings? > ATM??? IIRC??? ATM and IIRC are acronyms metatron@Shao ~ $ wtf IIRC IIRC: if I recall correctly metatron@Shao ~ $ wtf ATM ATM: at the moment Greetings Sebastian Beßler [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 900 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? 2011-07-02 8:50 ` Sebastian Beßler @ 2011-07-02 9:43 ` Neil Bothwick 0 siblings, 0 replies; 12+ messages in thread From: Neil Bothwick @ 2011-07-02 9:43 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 600 bytes --] On Sat, 02 Jul 2011 10:50:00 +0200, Sebastian Beßler wrote: > > What is the name of the programm to cut off advertisings? > > ATM??? IIRC??? > cted from initi > ATM and IIRC are acronyms If I were a pedantic old bastard (which I am) I would point out that they are abbreviations, not acronyms. An acronym is a word constructed from the initials or parts of other words, like radar or modem. I suppose IIRC barley qualifies if you pronounce it Erk! -- Neil Bothwick If Bill Gates had a dime for every time a Windows box crashed... ...Oh, wait a minute, he already does. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? 2011-07-02 7:31 ` meino.cramer 2011-07-02 8:38 ` Stroller 2011-07-02 8:50 ` Sebastian Beßler @ 2011-07-02 8:52 ` Florian Philipp 2 siblings, 0 replies; 12+ messages in thread From: Florian Philipp @ 2011-07-02 8:52 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1095 bytes --] Am 02.07.2011 09:31, schrieb meino.cramer@gmx.de: > David Haller <gentoo@dhaller.de> [11-07-02 09:04]: >> On Sat, 02 Jul 2011, meino.cramer@gmx.de wrote: >>> David Haller <gentoo@dhaller.de> [11-07-02 07:12]: >>>> On Sat, 02 Jul 2011, meino.cramer@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? [...] >> There's also a program that tries to detect advertising, IIRC also >> using aspect changes as indicators. Its name escapes me ATM. >> [...] > > What is the name of the programm to cut off advertisings? > ATM??? IIRC??? And escape sequences...or? I think I am > completly lost here.... > > HELP ! :)) > > Best regards > mcc ATM and IIRC are acronyms. Replacing them with their meaning gives you: > There's also a program that tries to detect advertising, if I recall > correctly also using aspect changes as indicators. Its name escapes > me at the moment. Regards, Florian Philipp [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2011-07-03 9:48 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-07-02 2:50 [gentoo-user] [OT]: Detecting frames at aspect-ratio-changes in a video file? meino.cramer 2011-07-02 5:04 ` David Haller 2011-07-02 6:05 ` meino.cramer 2011-07-02 6:58 ` David Haller 2011-07-02 7:31 ` meino.cramer 2011-07-02 8:38 ` Stroller 2011-07-02 9:43 ` Neil Bothwick 2011-07-02 9:49 ` David Haller 2011-07-03 9:46 ` Stroller 2011-07-02 8:50 ` Sebastian Beßler 2011-07-02 9:43 ` Neil Bothwick 2011-07-02 8:52 ` Florian Philipp
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox