[MPlayer-users] Removing commercials etc from DVB .mpg program stream

Nico Sabbi nsabbi at tiscali.it
Thu Jun 3 15:37:50 CEST 2004


Eric Estabrooks wrote:

> Nico Sabbi wrote:
>
>> Kimmo Mustonen wrote:
>>
>>> Hello!
>>>
>>> I though that there should be several working solutions to this problem
>>> but I haven't found any yet. :( I have recorded DVB stream that starts
>>> before the actual program starts, ends 10-15 minutes after the program
>>> ends and the programs may contain commercials. How to remove the
>>> commercials without losing (any?) quality first and then re-encode the
>>> program to fit a certain size, like a CD or whatever. For re-encoding I
>>> googled a shell script called encodedvd.sh doing a two-pass encoding,
>>> edited that to read a file instead of a DVD, but it crashed mencoder
>>> before completing the whole thing. I can provide more details on this
>>> later when I have first been able to cut the original stream.
>>>
>>>  
>>>
>>
>> you can dump the stream with dvbstream  using -ps (to save as program 
>> stream)  then
>> cut all you don't want using GOPchop,
>
>
> avidemux works very nice for editing mpeg2 files and it has an option 
> to output an mpeg2 file back out without re-encoding once you've cut 
> out the stuff you want (its the File/Save/Save as DVD PS option).
>
> Eric


I used it a couple of times with 2.0.22, but A/V sync was destroyed, and 
I noticed that it added a huge amount
of Nav packets (much more that dvb-mplex -t DVD)

        Nico




More information about the MPlayer-users mailing list