Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: VDR record mpeg2 stream?
Il lun, 2004-08-02 alle 02:51, David Maslen ha scritto:
> I use mplayer, or more precisely mencoder like this.
>
> mencoder dvb://"$CHANNEL" -oac copy -ovc copy -quiet -endpos $TIME -o
> $BASENAME.ts
>
> I run that from a script which runs from the crontab.
> It's like a really big video recorder.
> The output is determined by "-ocv copy" which means keep it as whatever
> it is. I believe it's an mpeg2 transport stream, which avidemux
> couldn't edit.
with that command you copy the content of audio and video streams
but in avi; if you want it it mpeg add -of mpeg.
You can't save TS with mencoder, but you can with mplayer:
mplayer dvb://"$CHANNEL" -dumpstream -dumpfile CHANNEL.ts
>
> I tried changing the -ovc to lavc which would have produced a mpeg4 avi
> file. Unfortunately my processor isn't fast enoguh to do it on the fly,
> so I re-encode $BASENAME.ts as a nice process, as soon as it's been
> captured.
>
> p.s. $CHANNEL is a name from my ~/.mplayer/channels.conf. It was
> generated using the scan utility.
>
> The $TIME variable lets me record a show for an hour or 30 mins etc.
> --- strider400@optusnet.com.au wrote:
>
> > Hi
> >
> > I've been tring to find a way to record the stream to my hard drive
> > and than edit it. Will
> > VDR do this, or is there a simpler way? I've already tried to compile
> > VDR and failed! I
> > can't point the DVBDIR in the correct place for some reason. Is there
> > a way round
> > this?
> >
> > Thanks
> >
> > Ben
> >
> >
> >
>
>
> =====
> --
> David..
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
>
>
Home |
Main Index |
Thread Index