[mythtv-users] how to remove commercial flag in mythtvt through command line?

John Drescher drescherjm at gmail.com
Fri Jul 28 14:01:50 UTC 2006


run mythcommflag --gencutlist -f filename.mpg

Then

mythtranscode --mpeg2 -i filename.mpg

A word of warning though. Commercial cutting works well for me but it
is far from perfect. Doing this blindly I gauarantee that you will
loose parts of your shows every now and then...

John

On 7/28/06, samir ghodasara <ghodasarasamir at gmail.com> wrote:
>
> Dear Vijay,
>
> Thanks for your reply,
> sorry for my incomplete information,
> actualy i am completely new user for linux and mythtv,
> currently i am able to record a program in mpeg format,
> and i want to remove commercial(for me advertisement) from my recording (
> mpeg file.)
> is their any way to do this?
> waiting for your replay.
>
> Thanks & Regards,
>
> Samir.
>
>
>
>
>
>
> On 7/28/06, Vijay Gill <vijay.s.gill at gmail.com> wrote:
> > On 28/07/06, samir ghodasara <ghodasarasamir at gmail.com> wrote:
> > >
> > > Hi,
> > > i have already setup mythtv in my suse linux 10.0 machine.
> > > currently i want to remove commercial flag from recording from command
> line.
> > >
> > > after recording one programme i have run this command in shell
> > >
> > > mythcommflag -c 1012 -s 20060728102500
> > >
> > >
> > > 2006-07-28 11:03:47.521 Using runtime prefix = /usr/local
> > > 2006-07-28 11:03:47.531 New DB connection, total: 1
> > > 2006-07-28 11:03: 47.536 Connected to database 'mythconverg' at host:
> > > localhost
> > > 2006-07-28 11:03:47.537 mythcommflag version: 0.19.20060121-2
> www.mythtv.org
> > > 2006-07-28 11:03:47.538 Enabled verbose msgs: important
> > >
> > > MythTV Commercial Flagger, started at Fri Jul 28 11:03:47 2006
> > > Flagging commercial breaks for:
> > > ChanID Start Time Title Breaks
> > > ------ --------------
> > > ----------------------------------------- ------
> > > 2006-07-28 11:03:47.541 New DB connection, total: 2
> > > 1012 20060728102500 14 Channel 14 - 10:25 AM (Manual Record) 2006-07-28
> > > 11:03:47.551 Connection timed out.
> > > You probably should modify the Master Server
> > > settings in the setup program and set the
> > > proper IP address.
> > > 2006-07-28 11:03:47.567 Connection timed out.
> > > You probably should modify the Master Server
> > >  settings in the setup program and set the
> > > proper IP address.
> > > [mpeg @ 0x40901360]Parser not found for Codec Id: 94210 !
> > > 0: start_time: 0.036 duration: 26.662
> > > 1: start_time: 598.002 duration: 26.679
> > > 2: start_time: 0.025 duration: 26.641
> > > stream: start_time: 0.276 duration: 6940.628 bitrate=220 kb/s
> > > 99%/296fps[mpeg2video @ 0x40bd64e4]ac-tex damaged at 13 3
> > > [mpeg2video @ 0x40bd64e4]Warning MVs not available
> > >  1
> > > 2006-07-28 11:04:12.811 Connection timed out.
> > > You probably should modify the Master Server
> > > settings in the setup program and set the
> > > proper IP address.
> > >
> > > Finished commercial break flagging at Fri Jul 28 11:04:12 2006
> > >
> > > linux:~ #
> > > linux:~ #
> > > but it don't remove any commercial flag from my mpeg file.
> > > so,what should i do ?
> > > Thanks in advance.
> > What do you mean by 'it did not remove commercial flag?
> >
> > mythcommflag tries to identify the parts of recordings to mark them as
> > commercials, and the process is termed as flagging commercials. There
> > is no option to un-flag the commercials. Just do not generate cutlist
> > from commercial skip list.
> >
> > Also I see that mythcommflag is trying to tell you something about the
> > back-end connection also.
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>


-- 
John M. Drescher


More information about the mythtv-users mailing list