View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Commercials
PostPosted: Tue Feb 05, 2008 8:34 am 
Offline
Joined: Mon Mar 19, 2007 6:38 pm
Posts: 15
Location: OH
Forgive me if this has already been covered...if so can someone please point me to the correct post. I've looked but have not found anything specifically pertaining to my question.

I have a recording stored on my knopp box that has the commercials removed. I am not exactly sure what my settings are to remove the commercials automatically because I am at work but I can check later. Anyways I copied the .mpg onto my windows machine and noticed that the commericals are not removed in the raw .mpg and are only when removed when watching the recording through myth. Why? And how can I get around this?

_________________
Compaq Deskpro EN
KnoppMyth R5F27
------------------------
Intel Board FW82815
Intel Pentium III 1000mHz
128x3 PC133 RAM
Hauppaugge WinTV 48432 (Freestyle)
Nvidia GeForce MX 4000 128 MB
Onboard Network & Sound


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 05, 2008 9:47 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
I think the default setting in Myth is as follows: if you've flagged commercials, and have either edited the commercial flag list or set it to be automatically used without editing, then when that recording plays back it will skip the commercials for you.

http://www.mythtv.org/wiki/index.php/Commflagging

As you've discovered, they're still there, and won't be removed unless you take that recording and transcode it to something else.

I usually set up a "lossless transcoding" profile which then leaves recordings as MPEG files (that's the "lossless" part) but removes the commercials (after I've gone in and adjusted commercial start/stop points).

http://www.mythtv.org/wiki/index.php/Re ... ommercials


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 05, 2008 10:06 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
Commercial flagging just flags the commercials in the database. When playing a flagged recording in mythtv, it will automatically jump over the commercials.

You can remove the flagged commercials by transcoding the recording. A search on transcoding in the documentations or the forum will provide info.

You can also set up the box to auto transcode all recordings. Be aware that if the commercial flagging made a mistake, the incorrectly flagged section of the recording will be lost.

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 05, 2008 10:29 am 
Offline
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
Here is some additional reading you may be interested in:

http://www.mythtv.org/wiki/index.php/Re ... ommercials
http://www.mythtv.org/wiki/index.php/Sc ... ommercials


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 05, 2008 8:51 pm 
Offline
Joined: Sat Dec 24, 2005 11:33 am
Posts: 400
Location: Kitsap Peninsula, Wa., United States
All of the post above about Commercials and how Myth works with them are essentially correct.

I would add the following observations:

Commercials are flagged automatically and if during playback Commercial Autoskip is on then you will see an OSD at a Commercial mark that says Skip 3:00 or some other random amount for commercials. These are dependent on the skip method and how well Myth is able to detect the commercials.

If after Commercials are Flagged you go in and edit the Commercial Cut List, you can make it better but also two things happen. When you look in the recorded Programs menu each Program that you have edited the cutlist will now display a marker (Mine is Scissors) dependent on your Myth TV theme. Also when you play back one of these shows in Knoppmyth, it will play as if there are absolutely no commercials based on your cutlist and play back is clean. However they are still there and the file size is as it was initially. If you pass this file to Windoze or through VLC it will play the commercials because they still exist.

Now if you use AutoDetect (Lossless) transcoding, the resulting file will play as mentioned above for you in Knoppmyth, but it will play the same as far as No Commercials in any other platform. Lossless transcoding is just that, it actually removes the frames between the cut points you established by editing the commercials.

An added benefit the resulting file is smaller(about 30%) and plays in windoze or any other platform just like it does in Knoppmyth.

Hope this is helpful.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 07, 2008 6:36 pm 
Offline
Joined: Mon Mar 19, 2007 6:38 pm
Posts: 15
Location: OH
thank all of you for posting your insight on the issue. I appreciate it very much. I did manage to find the "Removing commercials" article in the mythtv wiki shortly after posting this but I probably won't get a chance to fool around with my knoppbox until this weekend.

I want to be able to flag the commercials so that any recordings on my machine just skip over them upon playback rather than "cut" them out. Which is pretty much how I have my machine setup now anyways. I read that transcoding or "cutting" the commercials out does not reallly save a ton of space. Is that true?

so with that said I want to be able to transcode the file into another file so that I may then transfer that onto my windows machine. So when I transcode a recording it will actually create another file? Or will it actually just cut the commercials out that have been automatically flagged by commflagg? Thanks again for the input guys, really truly appreciate it.

_________________
Compaq Deskpro EN
KnoppMyth R5F27
------------------------
Intel Board FW82815
Intel Pentium III 1000mHz
128x3 PC133 RAM
Hauppaugge WinTV 48432 (Freestyle)
Nvidia GeForce MX 4000 128 MB
Onboard Network & Sound


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 07, 2008 7:11 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
jludt wrote:
I want to be able to flag the commercials so that any recordings on my machine just skip over them upon playback rather than "cut" them out. Which is pretty much how I have my machine setup now anyways. I read that transcoding or "cutting" the commercials out does not reallly save a ton of space. Is that true?
I just transcoded an SD file that was originally 2228858884 bytes. The transcoding process (done by the script nharris pointed you to) turned it into 1513645060 bytes. Depending on your usage (and how many commercials exist in the shows you record, what definition you record in, etc.) "a ton of space" may or may not be the case.

jludt wrote:
so with that said I want to be able to transcode the file into another file so that I may then transfer that onto my windows machine. So when I transcode a recording it will actually create another file? Or will it actually just cut the commercials out that have been automatically flagged by commflagg? Thanks again for the input guys, really truly appreciate it.
If you want to play the file in an application other than MythTV and you don't want commercials, then you have to transcode it. And yes, technically a "new file" is created during the process, but when finished the filename is the same.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 07, 2008 8:16 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
jludt wrote:
I read that transcoding or "cutting" the commercials out does not reallly save a ton of space. Is that true?

That depends if you call reducing a 1.7Gb recording to just 1.0Gb "saving a ton of space". Me, I'll take a 40% size reduction any day of the week. ;-)

YMMV of course, Most of my recording start 2-3 minutes early and end 2-3 minutes late to avoid issues with obnoxious schedule drift by the broadcasters. That alone is an extra 15-20% overhead on a 30 minute recording, but even 20% seems significant to me... On the other hand I often get that same level of reduction with movies of >=2 hours where the early start and late stop are far less significant.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 07, 2008 8:25 pm 
Offline
Joined: Sat Sep 02, 2006 9:17 am
Posts: 359
To add a little more to TJC's point the average "hour" program is 42 minutes. the average half-hour program is 21 minutes. All other things being equal a 42 minute recording takes (what I would call) significantly less space than a 60 minute recording.

When I transcode I let it change formats too (to divx, I believe) my 2.2Gb recording goes down to 765Mb, so the savings are even more significant.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 18, 2008 1:49 pm 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 251
Location: Sweden
You may want to check out the archive function under optical disks. I'm using a separate file server for mass storage of the things I want to keep. It's attached via Samba (Windows file sharing). Using MythArchive, I archive my favorite recordings to that box. The process removes commercials and optionally creates a dvd for backup (a file system can always be damaged). The target directory is available under media files, so I can still watch the show easily on the Myth system (it's necessary to reread the movies directory under settings). 8)
I hope that wasn't too difficult to follow!

Cheers,
/Chris

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu