Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Editing out commercials

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


james at mauibay

Oct 21, 2003, 3:48 PM

Post #1 of 17 (1940 views)
Permalink
Editing out commercials

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Perhaps this is somewhat off-topic here, but Isuspect other MythTV users
might have similar interests or experience doing what I want to do.

Context:
I'm only talking about MPEG2 here, specifically the streams that the
PVR-250 and such spew forth. Has anybody here suggestions for removing
commercials from recorded TV shows? I did this with various windows
tools and MPEG1 for years under Windows, and haven't found any reliable
tools in the past couple years of looking under Linux.

Goal:
Take a MPEG2 stream recorded by PVR-250 under MythTV, edit out
commercials, result in a MPEG2 stream usable for CVD or DVD. I don't
want to re-encode. I want to simply do GOP or I-frame cuts and get a
valid usable stream. Demuxing/remuxing is tolerable if audio sync
doesn't drift. Assume that the stream specs are already appropriate for DVD.

What I've tried recently:
This week I tried avidemux, (and avidemux2, what's the difference?) but
could not get anything usable at all. I tried GOPchop, and everything
after the first cut is broken. I used mpgtx to demux the GOPchopped
file, so I could try gop_fixup to fix the broken time indexes left by
GOPchop, but gop_fixup didn't do anything at all, not even walk the file
or change a single bit.

I used mplayer to note all the in/out points of the commercial breaks
and tried using mpgtx to split and join the file. Everything is broken
after the first cut. I tried leaving all the segments unjoined but only
the first segment was palatable to mplex and dvdauthor.

What I ended up doing:
I had one show on the History Channel I wanted to get to my parents
right away, so I left all the commercials in and simply set chapter
marks at the end of each commercial break. Not what I wanted to do at
all. I used dvdauthor and mkisofs to generate the DVD ISO.

Questions:
Is there a tool (under Linux) that I've missed that can do I-frame or
GOP cuts in an MPEG2 program stream and result in a correct and usable
file? (GUI or not.)

Is there something better than mplex to generate a DVD compatible MPEG2
stream from element .m2v and .mp2 files? If not, is there a way to get
mplex to NOT split the output file at the 2G limit? (Using "-S 0" simply
doesn't do anything, it still wants to split the file.)

Is there a tool better than dvdauthor for generating a DVD file
structure from MPEG2 file(s)?

Thanks for any advice!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/lbfMT8BYaKRUpkQRAi+pAJ0Ywp22+BO7A+sCjt3FO8LBmIzQmACeOizW
E4/0IfqmiRkrYkimfIt9FAI=
=By0A
-----END PGP SIGNATURE-----


kyi at kyi

Oct 21, 2003, 3:54 PM

Post #2 of 17 (1916 views)
Permalink
Re: Editing out commercials [In reply to]

On Tue, 2003-10-21 at 15:48, James L. Paul wrote:

> Questions:
> Is there a tool (under Linux) that I've missed that can do I-frame or
> GOP cuts in an MPEG2 program stream and result in a correct and usable
> file? (GUI or not.)
>
> Is there something better than mplex to generate a DVD compatible MPEG2
> stream from element .m2v and .mp2 files? If not, is there a way to get
> mplex to NOT split the output file at the 2G limit? (Using "-S 0" simply
> doesn't do anything, it still wants to split the file.)
>
> Is there a tool better than dvdauthor for generating a DVD file
> structure from MPEG2 file(s)?

Possiably try, http://heroinewarrior.com/cinelerra.php3

I have used it in the past to edit out commercials. Not 100% sure if it
what you are looking for but take a look it just might be.

Jayson Garrell


davatar at comcast

Oct 21, 2003, 4:09 PM

Post #3 of 17 (1923 views)
Permalink
Re: Editing out commercials [In reply to]

Sounds like you're missing the I frame after the next cut - mpeg is mpeg, if
your data stream starts on an I frame it should render correctly. When you
seek to I frame you may need to skip backwards one frame before making the
cut. Ontopic here - mythtv can already seek to keyframes in edit mode.
Should be pretty simple to write something that will simply concatenate
segments..

----- Original Message -----
From: "James L. Paul" <james[at]mauibay.net>
To: "Discussion about mythtv" <mythtv-users[at]mythtv.org>
Sent: Tuesday, October 21, 2003 6:48 PM
Subject: [mythtv-users] Editing out commercials


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Perhaps this is somewhat off-topic here, but Isuspect other MythTV users
> might have similar interests or experience doing what I want to do.
>
> Context:
> I'm only talking about MPEG2 here, specifically the streams that the
> PVR-250 and such spew forth. Has anybody here suggestions for removing
> commercials from recorded TV shows? I did this with various windows
> tools and MPEG1 for years under Windows, and haven't found any reliable
> tools in the past couple years of looking under Linux.
>
> Goal:
> Take a MPEG2 stream recorded by PVR-250 under MythTV, edit out
> commercials, result in a MPEG2 stream usable for CVD or DVD. I don't
> want to re-encode. I want to simply do GOP or I-frame cuts and get a
> valid usable stream. Demuxing/remuxing is tolerable if audio sync
> doesn't drift. Assume that the stream specs are already appropriate for
DVD.
>
> What I've tried recently:
> This week I tried avidemux, (and avidemux2, what's the difference?) but
> could not get anything usable at all. I tried GOPchop, and everything
> after the first cut is broken. I used mpgtx to demux the GOPchopped
> file, so I could try gop_fixup to fix the broken time indexes left by
> GOPchop, but gop_fixup didn't do anything at all, not even walk the file
> or change a single bit.
>
> I used mplayer to note all the in/out points of the commercial breaks
> and tried using mpgtx to split and join the file. Everything is broken
> after the first cut. I tried leaving all the segments unjoined but only
> the first segment was palatable to mplex and dvdauthor.
>
> What I ended up doing:
> I had one show on the History Channel I wanted to get to my parents
> right away, so I left all the commercials in and simply set chapter
> marks at the end of each commercial break. Not what I wanted to do at
> all. I used dvdauthor and mkisofs to generate the DVD ISO.
>
> Questions:
> Is there a tool (under Linux) that I've missed that can do I-frame or
> GOP cuts in an MPEG2 program stream and result in a correct and usable
> file? (GUI or not.)
>
> Is there something better than mplex to generate a DVD compatible MPEG2
> stream from element .m2v and .mp2 files? If not, is there a way to get
> mplex to NOT split the output file at the 2G limit? (Using "-S 0" simply
> doesn't do anything, it still wants to split the file.)
>
> Is there a tool better than dvdauthor for generating a DVD file
> structure from MPEG2 file(s)?
>
> Thanks for any advice!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQE/lbfMT8BYaKRUpkQRAi+pAJ0Ywp22+BO7A+sCjt3FO8LBmIzQmACeOizW
> E4/0IfqmiRkrYkimfIt9FAI=
> =By0A
> -----END PGP SIGNATURE-----
>
>


----------------------------------------------------------------------------
----


_______________________________________________
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


bob at smalltime

Oct 24, 2003, 5:33 PM

Post #4 of 17 (1919 views)
Permalink
Re: Editing out commercials [In reply to]

Sounds like you may be going about it the hard way. What I do is let
myth record the program and mark the commercials. I then go back into
the program and hit "E" to get into edit mode. I import the commercials
(press "Z") then use page up and page down to jump to the cut points and
make sure that the commercial in and out points are set.

Hit "E" to exit the edit mode, then ESC to exit the program. Crank up
mkmovie (http://www.icelus.org/), assign a filename and that's it -
MPEG-2 file with commercials cut out.


james at mauibay

Oct 24, 2003, 6:27 PM

Post #5 of 17 (1925 views)
Permalink
Re: Editing out commercials [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Robert Kulagowski wrote:
| Sounds like you may be going about it the hard way. What I do is let
| myth record the program and mark the commercials. I then go back into
| the program and hit "E" to get into edit mode. I import the commercials
| (press "Z") then use page up and page down to jump to the cut points and
| make sure that the commercial in and out points are set.
|
| Hit "E" to exit the edit mode, then ESC to exit the program. Crank up
| mkmovie (http://www.icelus.org/), assign a filename and that's it -
| MPEG-2 file with commercials cut out.

mkmovie can output MPEG2? How can I do this? I don't even see any way to
choose MPEG2, not to mention prevent it from re-encoding!

When I do as you suggest, mkmovie re-encodes my MPEG2 stream to an MPEG4
~ AVI with MP3 audio. That's totally useless for CVD/DVD. I already have
a DVD-compliant MPEG2 stream in the .nuv file straight out of my
PVR-250, all I want to do is cut the commercials out!

What point am I missing here? I have the cutlist and the MPEG2 file.
mkmovie is a great tool for those who want to transcode to divx or
whatever it does. Can it also be used to simply cut the already-encoded
MPEG2 file without re-encoding? How? I must be missing something obvious
here!

|
|
| ------------------------------------------------------------------------
|
| _______________________________________________
| mythtv-users mailing list
| mythtv-users[at]mythtv.org
| http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/mdGKT8BYaKRUpkQRAoA4AKCH/4BzyUsQeREuySA7kQH5GKosTACgkoz5
Bark6XfgiipYIT+J4mWfXnE=
=szsa
-----END PGP SIGNATURE-----


bob at smalltime

Oct 24, 2003, 10:18 PM

Post #6 of 17 (1903 views)
Permalink
Re: Editing out commercials [In reply to]

> mkmovie can output MPEG2? How can I do this? I don't even see any way to
> choose MPEG2, not to mention prevent it from re-encoding!

Never mind, I was drunk when I wrote my answer. Disregard totally.

I see you already used GOPChop, which is what I used when I was doing
that sort of stuff.


ian at duckland

Oct 24, 2003, 10:33 PM

Post #7 of 17 (1913 views)
Permalink
Re: Editing out commercials [In reply to]

On Fri, 2003-10-24 at 22:18, Robert Kulagowski wrote:
> Never mind, I was drunk when I wrote my answer. Disregard totally.

Well, it's good to see that I'm not the only one who engages in Friday
night myth configuration issues after happy hour. ;)

-Ian, heading back out to the bar, to be followed by more
myth(mis?)-configuration

--
__________________________________
Ian Forde, RHCE, CCSE, SCNA, SCDME
CYTBeN, Inc.
ian[at]duckland.org / ian[at]cytben.com


james at mauibay

Oct 24, 2003, 10:43 PM

Post #8 of 17 (1920 views)
Permalink
Re: Editing out commercials [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Robert Kulagowski wrote:
|> mkmovie can output MPEG2? How can I do this? I don't even see any way to
|> choose MPEG2, not to mention prevent it from re-encoding!
|
|
| Never mind, I was drunk when I wrote my answer. Disregard totally.

Heh, I see. ;)

| I see you already used GOPChop, which is what I used when I was doing
| that sort of stuff.

My problem is that the GOPchopped segments have audio that is
unrecognizeable to mplex. The first segment is ok, but all the following
segments simply won't mutiplex together and I haven't found a way to fix
the audio so that it's palatable to mplex or tcmplex. I've tried all
different orders of doing the steps. Sigh.

I did get gop-fixup patched to work, but without fixing the audio
problem I can't remux the stream with DVD NAV placeholders so that I can
use the video.

One of my biggest peeves in the past year is how the mpgtx tool is
totally useless for specifying time ranges and nobody seems to
acknowledge it. I can give it a HH:MM:SS range and it's not even close,
many minutes off. Perhaps it can't handle VBR streams, but I haven't
even seem anybody else mention it.

It's frustrating to have an MPEG2 file and cutlist and be totally unable
to even cut the file properly with Linux tools. I have a dozen ways to
do it under Windows, and not even one on my OS of choice. :( I wish I
knew enough to write one.

Disclaimer: I might be drunk as I write this. heheheh.

|
|
| ------------------------------------------------------------------------
|
| _______________________________________________
| mythtv-users mailing list
| mythtv-users[at]mythtv.org
| http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/mg1jT8BYaKRUpkQRAhdWAJ46/iVuJy6W18f7EHBMJpHyx5pAtgCfWr0j
6JDmDMSTzKvO475hU3KST1Y=
=VE8P
-----END PGP SIGNATURE-----


simon at koala

Oct 25, 2003, 10:23 AM

Post #9 of 17 (1913 views)
Permalink
Re: Editing out commercials [In reply to]

On Saturday 25 October 2003 06:18, Robert Kulagowski wrote:
> > mkmovie can output MPEG2? How can I do this? I don't even see any way to
> > choose MPEG2, not to mention prevent it from re-encoding!
>
> Never mind, I was drunk when I wrote my answer. Disregard totally.

glad to see it is not just the irish who indulge
wishing all you rugby fans an exciting weekend
--
simon - who has to get up at 7:15am tomorrow to watch ireland vs argentina

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


muddy at muddysmind

Oct 30, 2003, 3:59 PM

Post #10 of 17 (1926 views)
Permalink
Re: Editing out commercials [In reply to]

Not sure if this will help you or not. I've been playing around with
avidemux and love it. I talked to the creator of it who suggested some
tips that payed off.
I'm using your basic bt878 card (ati tv wonder) and it's turning out
nice recordings.
Here is how I'm recording and ripping.
Mythtv is setup as 480x352, Codec mpeg-4, bitrate 2300, max quality 2
minimum quality 12, max diff 3, Enable High-Quality Encoding, Audio
Uncompressed @ 44100.
Then in Avidemux I pretty much follow their "capture to svcd" guide. My
video is svcd processed @ Constant Quantizer=7 max bitrate 2300, audio
is ffmpeg audio @ 192kbps, and I do not crop per the guide as it gives
me wild color splashes in my video. I only use deinterlace and sharpen
for my filters.The half hour shows I have been ripping end up somewhere
around 350MB in size. The quality is quite good.



-

On Tue, 2003-10-21 at 19:09, D Banerjee wrote:
> Sounds like you're missing the I frame after the next cut - mpeg is mpeg, if
> your data stream starts on an I frame it should render correctly. When you
> seek to I frame you may need to skip backwards one frame before making the
> cut. Ontopic here - mythtv can already seek to keyframes in edit mode.
> Should be pretty simple to write something that will simply concatenate
> segments..
>
> ----- Original Message -----
> From: "James L. Paul" <james[at]mauibay.net>
> To: "Discussion about mythtv" <mythtv-users[at]mythtv.org>
> Sent: Tuesday, October 21, 2003 6:48 PM
> Subject: [mythtv-users] Editing out commercials
>
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Perhaps this is somewhat off-topic here, but Isuspect other MythTV users
> > might have similar interests or experience doing what I want to do.
> >
> > Context:
> > I'm only talking about MPEG2 here, specifically the streams that the
> > PVR-250 and such spew forth. Has anybody here suggestions for removing
> > commercials from recorded TV shows? I did this with various windows
> > tools and MPEG1 for years under Windows, and haven't found any reliable
> > tools in the past couple years of looking under Linux.
> >
> > Goal:
> > Take a MPEG2 stream recorded by PVR-250 under MythTV, edit out
> > commercials, result in a MPEG2 stream usable for CVD or DVD. I don't
> > want to re-encode. I want to simply do GOP or I-frame cuts and get a
> > valid usable stream. Demuxing/remuxing is tolerable if audio sync
> > doesn't drift. Assume that the stream specs are already appropriate for
> DVD.
> >
> > What I've tried recently:
> > This week I tried avidemux, (and avidemux2, what's the difference?) but
> > could not get anything usable at all. I tried GOPchop, and everything
> > after the first cut is broken. I used mpgtx to demux the GOPchopped
> > file, so I could try gop_fixup to fix the broken time indexes left by
> > GOPchop, but gop_fixup didn't do anything at all, not even walk the file
> > or change a single bit.
> >
> > I used mplayer to note all the in/out points of the commercial breaks
> > and tried using mpgtx to split and join the file. Everything is broken
> > after the first cut. I tried leaving all the segments unjoined but only
> > the first segment was palatable to mplex and dvdauthor.
> >
> > What I ended up doing:
> > I had one show on the History Channel I wanted to get to my parents
> > right away, so I left all the commercials in and simply set chapter
> > marks at the end of each commercial break. Not what I wanted to do at
> > all. I used dvdauthor and mkisofs to generate the DVD ISO.
> >
> > Questions:
> > Is there a tool (under Linux) that I've missed that can do I-frame or
> > GOP cuts in an MPEG2 program stream and result in a correct and usable
> > file? (GUI or not.)
> >
> > Is there something better than mplex to generate a DVD compatible MPEG2
> > stream from element .m2v and .mp2 files? If not, is there a way to get
> > mplex to NOT split the output file at the 2G limit? (Using "-S 0" simply
> > doesn't do anything, it still wants to split the file.)
> >
> > Is there a tool better than dvdauthor for generating a DVD file
> > structure from MPEG2 file(s)?
> >
> > Thanks for any advice!
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.1 (GNU/Linux)
> > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> >
> > iD8DBQE/lbfMT8BYaKRUpkQRAi+pAJ0Ywp22+BO7A+sCjt3FO8LBmIzQmACeOizW
> > E4/0IfqmiRkrYkimfIt9FAI=
> > =By0A
> > -----END PGP SIGNATURE-----
> >
> >
>
>
> ----------------------------------------------------------------------------
> ----
>
>
> _______________________________________________
> 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
>


james at mauibay

Oct 30, 2003, 4:27 PM

Post #11 of 17 (1920 views)
Permalink
Re: Editing out commercials [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 30 October 2003 12:59, Muddy wrote:
> Not sure if this will help you or not. I've been playing around with
> avidemux and love it. I talked to the creator of it who suggested some
> tips that payed off.
> I'm using your basic bt878 card (ati tv wonder) and it's turning out
> nice recordings.
> Here is how I'm recording and ripping.
> Mythtv is setup as 480x352, Codec mpeg-4, bitrate 2300, max quality 2
> minimum quality 12, max diff 3, Enable High-Quality Encoding, Audio
> Uncompressed @ 44100.
> Then in Avidemux I pretty much follow their "capture to svcd" guide. My
> video is svcd processed @ Constant Quantizer=7 max bitrate 2300, audio
> is ffmpeg audio @ 192kbps, and I do not crop per the guide as it gives
> me wild color splashes in my video. I only use deinterlace and sharpen
> for my filters.The half hour shows I have been ripping end up somewhere
> around 350MB in size. The quality is quite good.

Thanks, and I am indeed aware of avidemux. However, I'm using MPEG2 hardware
encoding and want to edit without re-encoding. I don't believe avidemux can
do this.

> -
>
> On Tue, 2003-10-21 at 19:09, D Banerjee wrote:
> > Sounds like you're missing the I frame after the next cut - mpeg is mpeg,
> > if your data stream starts on an I frame it should render correctly. When
> > you seek to I frame you may need to skip backwards one frame before
> > making the cut. Ontopic here - mythtv can already seek to keyframes in
> > edit mode. Should be pretty simple to write something that will simply
> > concatenate segments..

The problem is I have not yet found a tool under Linux that can cut MPEG2. I
know I need to cut on an I-frame or GOP boundary, I just haven't found a tool
that can do this properly and result in segments that I can demux/remux for
DVD. Shocking, eh? ;)

mpgtx seems to be the foremost tool for cutting MPEG, but it has no working
method for specifying where to cut other than by megabyte. If I specify a
range by time, it's way way way off. Many minutes off, not even close.

GOPchop does gut the video just fine, and results in useable video segments
after fixing up the broken indexes with gop_fixup. But it breaks the audio
badly, and no other tools will recognize the mp2 audio stream.

I'd be very happy to hear the name of a linux tool that given a time index can
simply cut a MPEG2-PS files on I-frames.

If I could just cut the video, I could remux it for DVD and burn a DVD with
chapter points at each break so easily.

> > ----- Original Message -----
> > From: "James L. Paul" <james[at]mauibay.net>
> > To: "Discussion about mythtv" <mythtv-users[at]mythtv.org>
> > Sent: Tuesday, October 21, 2003 6:48 PM
> > Subject: [mythtv-users] Editing out commercials
> >
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Perhaps this is somewhat off-topic here, but Isuspect other MythTV
> > > users might have similar interests or experience doing what I want to
> > > do.
> > >
> > > Context:
> > > I'm only talking about MPEG2 here, specifically the streams that the
> > > PVR-250 and such spew forth. Has anybody here suggestions for removing
> > > commercials from recorded TV shows? I did this with various windows
> > > tools and MPEG1 for years under Windows, and haven't found any reliable
> > > tools in the past couple years of looking under Linux.
> > >
> > > Goal:
> > > Take a MPEG2 stream recorded by PVR-250 under MythTV, edit out
> > > commercials, result in a MPEG2 stream usable for CVD or DVD. I don't
> > > want to re-encode. I want to simply do GOP or I-frame cuts and get a
> > > valid usable stream. Demuxing/remuxing is tolerable if audio sync
> > > doesn't drift. Assume that the stream specs are already appropriate for
> >
> > DVD.
> >
> > > What I've tried recently:
> > > This week I tried avidemux, (and avidemux2, what's the difference?) but
> > > could not get anything usable at all. I tried GOPchop, and everything
> > > after the first cut is broken. I used mpgtx to demux the GOPchopped
> > > file, so I could try gop_fixup to fix the broken time indexes left by
> > > GOPchop, but gop_fixup didn't do anything at all, not even walk the
> > > file or change a single bit.
> > >
> > > I used mplayer to note all the in/out points of the commercial breaks
> > > and tried using mpgtx to split and join the file. Everything is broken
> > > after the first cut. I tried leaving all the segments unjoined but only
> > > the first segment was palatable to mplex and dvdauthor.
> > >
> > > What I ended up doing:
> > > I had one show on the History Channel I wanted to get to my parents
> > > right away, so I left all the commercials in and simply set chapter
> > > marks at the end of each commercial break. Not what I wanted to do at
> > > all. I used dvdauthor and mkisofs to generate the DVD ISO.
> > >
> > > Questions:
> > > Is there a tool (under Linux) that I've missed that can do I-frame or
> > > GOP cuts in an MPEG2 program stream and result in a correct and usable
> > > file? (GUI or not.)
> > >
> > > Is there something better than mplex to generate a DVD compatible MPEG2
> > > stream from element .m2v and .mp2 files? If not, is there a way to get
> > > mplex to NOT split the output file at the 2G limit? (Using "-S 0"
> > > simply doesn't do anything, it still wants to split the file.)
> > >
> > > Is there a tool better than dvdauthor for generating a DVD file
> > > structure from MPEG2 file(s)?
> > >
> > > Thanks for any advice!
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.2.1 (GNU/Linux)
> > > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> > >
> > > iD8DBQE/lbfMT8BYaKRUpkQRAi+pAJ0Ywp22+BO7A+sCjt3FO8LBmIzQmACeOizW
> > > E4/0IfqmiRkrYkimfIt9FAI=
> > > =By0A
> > > -----END PGP SIGNATURE-----
> >
> > -------------------------------------------------------------------------
> >--- ----
> >
> >
> > _______________________________________________
> > 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/oZ5tT8BYaKRUpkQRAmooAJ47LtQSnDnuILQa8EYm21Y7WNhKmQCeL5tW
QENSxtlfji0LLlCMNHMLoz4=
=VN/h
-----END PGP SIGNATURE-----


_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


muddy at muddysmind

Oct 31, 2003, 2:45 PM

Post #12 of 17 (1926 views)
Permalink
Re: Editing out commercials [In reply to]

Ah, my apologies, I did not see it was already an mpeg2.
To be honest for that kind of work I move the file over to my gaming
machine which is not Linux. There I use TMPGEnc to edit without
re-encoding. If I find something I will let you know.


On Thu, 2003-10-30 at 18:27, James L. Paul wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 30 October 2003 12:59, Muddy wrote:
> > Not sure if this will help you or not. I've been playing around with
> > avidemux and love it. I talked to the creator of it who suggested some
> > tips that payed off.
> > I'm using your basic bt878 card (ati tv wonder) and it's turning out
> > nice recordings.
> > Here is how I'm recording and ripping.
> > Mythtv is setup as 480x352, Codec mpeg-4, bitrate 2300, max quality 2
> > minimum quality 12, max diff 3, Enable High-Quality Encoding, Audio
> > Uncompressed @ 44100.
> > Then in Avidemux I pretty much follow their "capture to svcd" guide. My
> > video is svcd processed @ Constant Quantizer=7 max bitrate 2300, audio
> > is ffmpeg audio @ 192kbps, and I do not crop per the guide as it gives
> > me wild color splashes in my video. I only use deinterlace and sharpen
> > for my filters.The half hour shows I have been ripping end up somewhere
> > around 350MB in size. The quality is quite good.
>
> Thanks, and I am indeed aware of avidemux. However, I'm using MPEG2 hardware
> encoding and want to edit without re-encoding. I don't believe avidemux can
> do this.
>
> > -
> >
> > On Tue, 2003-10-21 at 19:09, D Banerjee wrote:
> > > Sounds like you're missing the I frame after the next cut - mpeg is mpeg,
> > > if your data stream starts on an I frame it should render correctly. When
> > > you seek to I frame you may need to skip backwards one frame before
> > > making the cut. Ontopic here - mythtv can already seek to keyframes in
> > > edit mode. Should be pretty simple to write something that will simply
> > > concatenate segments..
>
> The problem is I have not yet found a tool under Linux that can cut MPEG2. I
> know I need to cut on an I-frame or GOP boundary, I just haven't found a tool
> that can do this properly and result in segments that I can demux/remux for
> DVD. Shocking, eh? ;)
>
> mpgtx seems to be the foremost tool for cutting MPEG, but it has no working
> method for specifying where to cut other than by megabyte. If I specify a
> range by time, it's way way way off. Many minutes off, not even close.
>
> GOPchop does gut the video just fine, and results in useable video segments
> after fixing up the broken indexes with gop_fixup. But it breaks the audio
> badly, and no other tools will recognize the mp2 audio stream.
>
> I'd be very happy to hear the name of a linux tool that given a time index can
> simply cut a MPEG2-PS files on I-frames.
>
> If I could just cut the video, I could remux it for DVD and burn a DVD with
> chapter points at each break so easily.
>
> > > ----- Original Message -----
> > > From: "James L. Paul" <james[at]mauibay.net>
> > > To: "Discussion about mythtv" <mythtv-users[at]mythtv.org>
> > > Sent: Tuesday, October 21, 2003 6:48 PM
> > > Subject: [mythtv-users] Editing out commercials
> > >
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > Perhaps this is somewhat off-topic here, but Isuspect other MythTV
> > > > users might have similar interests or experience doing what I want to
> > > > do.
> > > >
> > > > Context:
> > > > I'm only talking about MPEG2 here, specifically the streams that the
> > > > PVR-250 and such spew forth. Has anybody here suggestions for removing
> > > > commercials from recorded TV shows? I did this with various windows
> > > > tools and MPEG1 for years under Windows, and haven't found any reliable
> > > > tools in the past couple years of looking under Linux.
> > > >
> > > > Goal:
> > > > Take a MPEG2 stream recorded by PVR-250 under MythTV, edit out
> > > > commercials, result in a MPEG2 stream usable for CVD or DVD. I don't
> > > > want to re-encode. I want to simply do GOP or I-frame cuts and get a
> > > > valid usable stream. Demuxing/remuxing is tolerable if audio sync
> > > > doesn't drift. Assume that the stream specs are already appropriate for
> > >
> > > DVD.
> > >
> > > > What I've tried recently:
> > > > This week I tried avidemux, (and avidemux2, what's the difference?) but
> > > > could not get anything usable at all. I tried GOPchop, and everything
> > > > after the first cut is broken. I used mpgtx to demux the GOPchopped
> > > > file, so I could try gop_fixup to fix the broken time indexes left by
> > > > GOPchop, but gop_fixup didn't do anything at all, not even walk the
> > > > file or change a single bit.
> > > >
> > > > I used mplayer to note all the in/out points of the commercial breaks
> > > > and tried using mpgtx to split and join the file. Everything is broken
> > > > after the first cut. I tried leaving all the segments unjoined but only
> > > > the first segment was palatable to mplex and dvdauthor.
> > > >
> > > > What I ended up doing:
> > > > I had one show on the History Channel I wanted to get to my parents
> > > > right away, so I left all the commercials in and simply set chapter
> > > > marks at the end of each commercial break. Not what I wanted to do at
> > > > all. I used dvdauthor and mkisofs to generate the DVD ISO.
> > > >
> > > > Questions:
> > > > Is there a tool (under Linux) that I've missed that can do I-frame or
> > > > GOP cuts in an MPEG2 program stream and result in a correct and usable
> > > > file? (GUI or not.)
> > > >
> > > > Is there something better than mplex to generate a DVD compatible MPEG2
> > > > stream from element .m2v and .mp2 files? If not, is there a way to get
> > > > mplex to NOT split the output file at the 2G limit? (Using "-S 0"
> > > > simply doesn't do anything, it still wants to split the file.)
> > > >
> > > > Is there a tool better than dvdauthor for generating a DVD file
> > > > structure from MPEG2 file(s)?
> > > >
> > > > Thanks for any advice!
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: GnuPG v1.2.1 (GNU/Linux)
> > > > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> > > >
> > > > iD8DBQE/lbfMT8BYaKRUpkQRAi+pAJ0Ywp22+BO7A+sCjt3FO8LBmIzQmACeOizW
> > > > E4/0IfqmiRkrYkimfIt9FAI=
> > > > =By0A
> > > > -----END PGP SIGNATURE-----
> > >
> > > -------------------------------------------------------------------------
> > >--- ----
> > >
> > >
> > > _______________________________________________
> > > 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQE/oZ5tT8BYaKRUpkQRAmooAJ47LtQSnDnuILQa8EYm21Y7WNhKmQCeL5tW
> QENSxtlfji0LLlCMNHMLoz4=
> =VN/h
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


ijr at po

Dec 19, 2003, 4:09 PM

Post #13 of 17 (1915 views)
Permalink
Re: Editing out commercials [In reply to]

On Friday 19 December 2003 05:44 pm, David Rees wrote:
> On Fri, December 19, 2003 at 2:05 pm, Chris Petersen wrote:
>
> >> Does that mean that the commercials are flagged so that I may use an
> >> external editor to cut them out?
> >
> >
> > not external. hit M while watching the recording, and you'll get
> > myth's commercial editor. In there, if you press Z it'll import the
> > commercials into the cutlist, where you'll probably have to adjust them
> > a little (commercial detection isn't flawless).
>
>
> Is there an official list of keystrokes for each program inside of myth
> (eg, MythTV, MythMusic, etc))? I need to print up a cheatsheet to keep
> track of everything!

Run mythweb, go to the settings section, then go to the keybindings setup in
there.

Isaac
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mythtv at pln

Dec 19, 2003, 4:29 PM

Post #14 of 17 (1921 views)
Permalink
Re[2]: Editing out commercials [In reply to]

Hello Isaac,

Be careful about this thread.

A Hollywood executive, commenting about a PVR legal case, he stated
that skipping commercials is "stealing" TV. He was quoted as saying,
"But we do make allowances for people who want to go to the bathroom."

Hehehehehehehehehehe

Friday, December 19, 2003, 6:09:37 PM, you wrote:

IR> On Friday 19 December 2003 05:44 pm, David Rees wrote:
>> On Fri, December 19, 2003 at 2:05 pm, Chris Petersen wrote:
>>
>> >> Does that mean that the commercials are flagged so that I may use an
>> >> external editor to cut them out?
>> >
>> >
>> > not external. hit M while watching the recording, and you'll get
>> > myth's commercial editor. In there, if you press Z it'll import the
>> > commercials into the cutlist, where you'll probably have to adjust them
>> > a little (commercial detection isn't flawless).
>>
>>
>> Is there an official list of keystrokes for each program inside of myth
>> (eg, MythTV, MythMusic, etc))? I need to print up a cheatsheet to keep
>> track of everything!

IR> Run mythweb, go to the settings section, then go to the keybindings setup in
IR> there.

IR> Isaac
IR> _______________________________________________
IR> mythtv-users mailing list
IR> mythtv-users[at]mythtv.org
IR> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



--
Best regards,
Myth mailto:mythtv[at]pln.cc


jcw at wilsonet

Dec 19, 2003, 5:51 PM

Post #15 of 17 (1899 views)
Permalink
Re: Editing out commercials [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 19 December 2003 14:44, David Rees wrote:
> On Fri, December 19, 2003 at 2:05 pm, Chris Petersen wrote:
> >> Does that mean that the commercials are flagged so that I may use an
> >> external editor to cut them out?
> >
> > not external. hit M while watching the recording, and you'll get
> > myth's commercial editor. In there, if you press Z it'll import the
> > commercials into the cutlist, where you'll probably have to adjust them
> > a little (commercial detection isn't flawless).
>
> Is there an official list of keystrokes for each program inside of myth
> (eg, MythTV, MythMusic, etc))? I need to print up a cheatsheet to keep
> track of everything!

/usr/share/doc/mythtv-0.13/keys.txt on Fedora/Red Hat if installing from
ATrpms. If you installed via another method, that should be enough of a clue
to find it yourself. :)

- --
Jarod C. Wilson, RHCE

Got a question? Read this first...
http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
http://www.gossamer-threads.com/archive/MythTV_C2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/450pln8CX+oYdJURAh6iAJsGde/WNZaGlOHThztCT+G1dgXj6QCePEPQ
l5yqAIXD+thRprVpFWxSPKY=
=UnK+
-----END PGP SIGNATURE-----


_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


drees at greenhydrant

Dec 19, 2003, 5:54 PM

Post #16 of 17 (1904 views)
Permalink
Re: Editing out commercials [In reply to]

On Fri, December 19, 2003 at 3:09 pm, Isaac Richards wrote:
>>
>> Is there an official list of keystrokes for each program inside of myth
>> (eg, MythTV, MythMusic, etc))? I need to print up a cheatsheet to keep
>> track of everything!
>
> Run mythweb, go to the settings section, then go to the keybindings setup
> in there.

Thanks, that'll do the job so I can format the data into something useful.

-Dave
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


james at mauibay

Dec 19, 2003, 8:29 PM

Post #17 of 17 (1921 views)
Permalink
Re: Editing out commercials [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 19 December 2003 13:29, Myth Man wrote:
> Hello Isaac,
>
> Be careful about this thread.
>
> A Hollywood executive, commenting about a PVR legal case, he stated
> that skipping commercials is "stealing" TV. He was quoted as saying,
> "But we do make allowances for people who want to go to the bathroom."
>
> Hehehehehehehehehehe

Somewhat OT I think, but here's my 1 cent:

Hah. That was tongue-in-cheek I hope. :) Since television viewers do not have
a contract with content providers in exchange for watching TV, viewing rights
to content are limited to licensing, which is exclusively the domain of
copyright law. As viewers we are not required to watch all, any, or any
specific portion of television content. We are bound by copyright law in how
we use or reproduce any content though, requiring us to respect the rights
reserved for the copyright holders.

Since watching television isn't in the domain of contract law (only copyright
law) any Hollywood executive that thinks otherwise is confusing the two. A
television viewer is not required to exchange _anything_ (such as viewing
commercials) for the right to view TV programs. Some people get confused
about pay-TV, such as HBO or whatever, but this is an exchange for _license_
and nothing more. License to watch some TV is free, and some licenses have a
fee. Any contract in such cases is an exchange for a license, not an exchange
for the content itself.

I've read quotes along the lines like the one above, and they both crack me up
and scare me. How anybody can even imagine that a contract exists between
television content providers and viewers is beyond me. How somebody can think
that we are all legally obligated to watch commercials in exchange for the
program during which they are shown is baffling to me. I can certainly
understand a desire by the industry that we all watch commercials, and I see
how the cachflow works to our advantage by keeping a lot of decent content
available without viewing license fees, but really... To think that the
absense of license fees constitutes a contract _requiring_ us to view
commercials to the point of asserting that failure to watch the commercials
is "stealing." Whew. That's a long trip to an odd planet. ;)

Oh. Disclaimer. IANAL. I'm not even CLOSE to being a lawyer, I'm just a
copyright and personal rights freak.

By the way, I have an RCA VHS VCR that I bought in 1995ish that skips
commercials. Does it quite well too. I haven't used it in years now though.

> Friday, December 19, 2003, 6:09:37 PM, you wrote:
>
> IR> On Friday 19 December 2003 05:44 pm, David Rees wrote:
> >> On Fri, December 19, 2003 at 2:05 pm, Chris Petersen wrote:
> >> >> Does that mean that the commercials are flagged so that I may use an
> >> >> external editor to cut them out?
> >> >
> >> > not external. hit M while watching the recording, and you'll get
> >> > myth's commercial editor. In there, if you press Z it'll import the
> >> > commercials into the cutlist, where you'll probably have to adjust
> >> > them a little (commercial detection isn't flawless).
> >>
> >> Is there an official list of keystrokes for each program inside of myth
> >> (eg, MythTV, MythMusic, etc))? I need to print up a cheatsheet to keep
> >> track of everything!
>
> IR> Run mythweb, go to the settings section, then go to the keybindings
> setup in IR> there.
>
> IR> Isaac
> IR> _______________________________________________
> IR> mythtv-users mailing list
> IR> mythtv-users[at]mythtv.org
> IR> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/48IyT8BYaKRUpkQRAtuFAKCgrP0LkMB0tWiK4sQYGMTG/RFsWQCeNBIn
6CFziBtyBj/VkG+8L8u/Xa4=
=33em
-----END PGP SIGNATURE-----


_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.