Streaming DivX and TV

About encoding, codec settings, muxers and filter usage
dignified
Blank Cone
Blank Cone
Posts: 13
Joined: 24 Nov 2003 12:21
Contact:

Streaming DivX and TV

Postby dignified » 24 Nov 2003 12:26

I have been able to stream certain MPEGs doing a unicast stream in vls but I want to be able to stream any type of file, namely all my divX. How can I do this?

Also, I finally got my TV card set up. It is just a simple WinTV card with plain DVB-T. I want to stream my cable, however in the docs it says I need a dvbrc file. I have no clue how to set one of these up. Does anyone have one I can use?

-thanx
ryan

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Re: Streaming DivX and TV

Postby zorglub » 24 Nov 2003 13:12

I have been able to stream certain MPEGs doing a unicast stream in vls but I want to be able to stream any type of file, namely all my divX. How can I do this?
You should use VLC for this (namely the stream output functions). This is documented.
Also, I finally got my TV card set up. It is just a simple WinTV card with plain DVB-T. I want to stream my cable, however in the docs it says I need a dvbrc file. I have no clue how to set one of these up. Does anyone have one I can use?
If you use Linux, you can use the satscan program to create your dvbrc file (this file is the list of all programs available on a satellite)

If you use Windows, you cannot stream satellite or cable, except maybe using DirectShow, but for this you need to wait the 0.7.0-test1 version that is due out within one or two days.
Zorglub
Clément Stenac

dignified
Blank Cone
Blank Cone
Posts: 13
Joined: 24 Nov 2003 12:21
Contact:

Postby dignified » 24 Nov 2003 13:53

I can use tvtime to watch tv and mencoder to record it but I'm trying to scan right now with the 'scan' program packaged with linux-dvb and I can't get it to work. Here is the error it gives me:

root@iggy:/home/the251/dl/linuxtv-dvb-1.0.1/apps/scan# ./scan -c
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:1768: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 2 No such file or directory

I don't have these devices. Everything is coming from /dev/video0 I believe for tvtime and mencoder.

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 24 Nov 2003 15:40

Ok, sorry, I did not know these devices.

If it comes from /dev/video0, then it is not really DVB-T, it is already video.

Try the v4l access, I think this should be the right one to use for you
Zorglub
Clément Stenac

dignified
Blank Cone
Blank Cone
Posts: 13
Joined: 24 Nov 2003 12:21
Contact:

Postby dignified » 24 Nov 2003 16:47

I can record TV using v4l drivers and mencoder. I am trying to get the mencoder to redirect to stdout and then pipe that in to vls to stream tv. But none of this is working.

I can only output to an avi file. I am using this syntax:

mencoder -tv driver=v4l:width=640:height=480:norm=NTSC:adevice=/dev/dsp:forceaudio:forcechan=1 tv:// -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200 -oac mp3lame -lameopts cbr:br=128:mode=3 -endpos 0:00:05 -o out.avi

With this codec the out.avi won't stream using vls either so I need to find a codec that will let me stream.

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 24 Nov 2003 17:02

Hello,
With this codec the out.avi won't stream using vls either so I need to find a codec that will let me stream.
You should try to encode your stream directly with VLC or VLS rather than mencoder.

Have a look here: http://www.videolan.org/doc/videolan-ho ... oding.html
(this example encodes to MPEG4)

(Note: vls can't stream avi files, anyway, you must use vlc stream output for this to work)
Zorglub
Clément Stenac


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 16 guests