On Tue 13.07.2004 at 10:12:25PM +0200, Dirk Meyer wrote: > Matthieu Weber wrote: > > On Mon 12.07.2004 at 10:04:10PM +0200, Dirk Meyer wrote: > >> Matthieu Weber wrote: > >> > http://www.mit.jyu.fi/~mweber/leffakone/software/mplayer/mplayer-commercial_removal.tar.gz > >> > >> Hi, it's not working for me. The detection looks good, I have an edl > >> with the correct timestamps. Maybe...they seem to start at 0, but the > >> recording isn't. Also mplayer doesn't skip the commercials. I used it > >> with the -edl parameter of mplayer. Anything else? > > > > This older version would not work if the recording doesn't start at 0 > > (i.e. if you are using e.g. a TS from DVB). Use the newest version: > > http://www.mit.jyu.fi/~mweber/leffakone/software/mplayer/MPlayer-1.0pre4+TS_seek+Black_frames_detection > > Apply the patch with > > "patch -p1 < MPlayer-1.0pre4+TS_seek+Black_frames_detection" > > from within the MPlayer-1.0pre4 directory. This patch must be applied to > > MPlayer sources which were *NOT* patched with the older patch. > > The edl is not written. I see some output of your plugin, but there is > no edl :-(
What parameters did you use? The first parameter of bfdetect (fps of the video) has been removed (i.e. you should remove it from the old mk_edl script), and the lengths are now in seconds instead of number or frames (so the 1600 frames for the max length of an add becomes 64 sec). The filter works this way: - if the ad sequence (or rather what is guessed to be ads) is shorter than 1 sec, it is discarded - if the video sequence between two sets of black frames is shorter than 64 seconds, it is considered as ad, and aggregated with the previously discovered ads (so to write only one EDL line for a set of commercials). - if there is a video sequence that lasts longer than 64 seconds, it is considered as show, and the previously discovered ad sequence is written to the EDL file. Writing to the EDL thus occurs either 64 seconds after the last black frame of an ad, or at the end of the file or when quitting mplayer/mencoder, whichever occurs first. Besides, has mplayer write permissions to the directory where the edl is written? Matthieu -- (~._.~) Matthieu Weber - Universit� de Jyv�skyl� (~._.~) ( ? ) email : [EMAIL PROTECTED] ( ? ) ()- -() public key id : 452AE0AD ()- -() (_)-(_) "Humor ist, wenn man trotzdem lacht (Germain Muller)" (_)-(_) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
