<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks for your help. Here are my results. I am having the same issues.<br><br><br>>1st check if the cutlist looks sane by<br>>mythcommflag --getcutlist -c 1299 -s 20090407113000<br><br>pj@mans-myth:/var/lib/mythtv/recordings$ mythcommflag --getcutlist -c 1299 -s 20090407113000<br>2009-04-09 22:28:41.290 Using runtime prefix = /usr<br>2009-04-09 22:28:41.333 Empty LocalHostName.<br>2009-04-09 22:28:41.390 New DB connection, total: 1<br>2009-04-09 22:28:41.413 Closing DB connection named 'DBManager0'<br>2009-04-09 22:28:41.414 New DB connection, total: 2<br>Cutlist: 0-761<br><br>I have just a few seconds of the video not removed to make it a good test.<br><br>>if sane:<br>>mythtranscode -c 1299 -s 20090407113000<br><br>/var/lib/mythtv/recordings$ mythtranscode -c 1299 -s 20090407113000<br>2009-04-09 22:31:40.786 Using runtime prefix =
/usr<br>2009-04-09 22:31:40.786 Empty LocalHostName.<br>2009-04-09 22:31:40.791 New DB connection, total: 1<br>2009-04-09 22:31:40.794 Closing DB connection named 'DBManager0'<br>2009-04-09 22:31:40.795 Enabled verbose msgs: important<br>2009-04-09 22:31:40.795 New DB connection, total: 2<br>2009-04-09 22:31:40.835 Using protocol version 40<br>2009-04-09 22:31:41.146 Transcode: Looking for autodetect profile: Autodetect from 480i<br>2009-04-09 22:31:41.146 New DB connection, total: 3<br>2009-04-09 22:31:41.161 Transcode: Using autodetect profile: MPEG2<br>2009-04-09 22:31:41.161 No video information found!<br>2009-04-09 22:31:41.161 Please ensure that recording profiles for the transcoder are set<br><br>It didn't like it for some reason. When I use the --honorcutlist and the --mpeg2 options I get a file but it is not any shorter (just a little smaller).<br><br>pj@mans-myth:/var/lib/mythtv/recordings$ sudo mythtranscode --honorcutlist --mpeg2 -c
1299 -s 2009-04-07-11-30-00<br>2009-04-09 22:34:33.298 Using runtime prefix = /usr<br>2009-04-09 22:34:33.299 Empty LocalHostName.<br>2009-04-09 22:34:33.304 New DB connection, total: 1<br>2009-04-09 22:34:33.307 Closing DB connection named 'DBManager0'<br>2009-04-09 22:34:33.307 Enabled verbose msgs: important<br>2009-04-09 22:34:33.308 New DB connection, total: 2<br>Mux rate: 6.49 Mbit/s<br><br>I used sudo because I get a read file error when I don't. I tried "sudo mythtranscode -c 1299 -s 20090407113000" and it still fails with the same error. It seems to want the --honorcutlist and the --mpeg2 options.<br><br>Here is what I get<br>pj@mans-myth:/var/lib/mythtv/recordings$ ls -l 1299_20090407*<br>-rw-r--r-- 1 mythtv mythtv 1166022656 2009-04-07 12:00 1299_20090407113000.mpg<br>-rw-rw-rw- 1 mythtv mythtv 96124 2009-04-07 12:00 1299_20090407113000.mpg.png<br>-rw-r--r-- 1 root root
1098526724 2009-04-09 22:35 1299_20090407113000.mpg.tmp<br><br>As you can see the .tmp is only slightly smaller and it plays the full video of the origional file. It does not honor the cut list.<br><br>Do you think it is a permissions problem?<br><br>P.J.<br><br><br><br><br><br>>should result in a smaller file with .tmp added to the original name.<br>>after checking everything is OK<br>>mv -f 1299_20090407113000.mpeg.tmp 1299_20090407113000.mpeg<br>>Done<br><br>--- On <b>Thu, 4/9/09, belcampo <i><belcampo@zonnet.nl></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: belcampo <belcampo@zonnet.nl><br>Subject: Re: [mythtv-users] Removing commercials<br>To: "Discussion about mythtv" <mythtv-users@mythtv.org>, pjtrudell@yahoo.com<br>Date: Thursday, April 9, 2009, 3:20 PM<br><br><div class="plainMail">P.J. Trudell wrote:<br>> I have been running
mythbuntu 8.10 for about 6 months and I am trying to delete commercials now.<br>> <br>> I have tried to do it by setting cutlists in mythtv edit mode and then running transcode in myth and I get a transcode error with no error codes.<br>> <br>> I have tried doing it by setting cutlists in mythtv edit mode and then running mythtranscode from the command line both with the -i option and the -c and -s options see commands below. The result is an aditional file *.mpg.tmp of almost the same size but it does not remove anything.<br>> <br>> (mythtranscode --honorcutlist --mpeg -i 1299_20090407113000.mpeg)<br>> (mythtranscode --honorcutlist --mpeg -c 1299 -s 2009-04-07-11-30-00)<br>syntax is:<br>1st check if the cutlist looks sane by<br>mythcommflag --getcutlist -c 1299 -s 20090407113000<br>if sane:<br>mythtranscode -c 1299 -s 20090407113000<br>should result in a smaller file with .tmp added to the original name.<br>after checking
everything is OK<br>mv -f 1299_20090407113000.mpeg.tmp 1299_20090407113000.mpeg<br>Done<br>> <br>> My final goals are<br>> 1. Flag commericials automatically (currently working)<br>> 2. Have the comerical flagging create cutlists cutlists<br>> 3. Beable to add more cutpoints in addition to the commericials that are flagged.<br>> 4. Create new files without commericials for use outside of Mythtv.<br>> 5. Create new files without ccommericals for use inside of mythtv (to save space)<br>> <br>> Can someone point me into the right direction. I dont mind a script or command lines I can make into a script. Eventually I want to make them all into user jobs or automatic scripts.<br>> <br>> Thanks in advance.<br>> <br>> P.J.<br>> <br>> <br>> ------------------------------------------------------------------------<br>> <br>>
_______________________________________________<br>> mythtv-users mailing list<br>> <a ymailto="mailto:mythtv-users@mythtv.org" href="/mc/compose?to=mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>> <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br><br></div></blockquote></td></tr></table>