What interface use for audio on a Osprey 210 capture card

About encoding, codec settings, muxers and filter usage
Flying Jack
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Sep 2005 12:25
Location: France
Contact:

What interface use for audio on a Osprey 210 capture card

Postby Flying Jack » 26 Sep 2005 12:32

Hy !
I'm working on an encoding server project, using a Debian OS and a Osprey 210 card.
Newbie on video application under *nix plateform, i don't understand about devices etc...

I've try that command "successfully":
vlc -vvv --color v4l:/dev/video:norm=pal:frequency=543250:size=vga:channel=0:adev=/dev/audio:audio=1 --sout '#transcode{vcodec=mp4v,vb=512,scale=1,acodec=mpga,ab=96,channels=2,deinterlace}:std{access=http,mux=asf,url=:8080}'

-> With this, I can watch the video, but there's no sound...

I'm using RCA input stereo of the Osprey 210 card, but i don't know what device use...
adev=/dev/audio:audio=1 -> ????

Somebody know that card ?
I must use Osprey input audio because the computer i will have to use hasn't audio card...

Thanks.
Image
Image

Flying Jack
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Sep 2005 12:25
Location: France
Contact:

Postby Flying Jack » 26 Sep 2005 20:58

UP ?

PS: Si y a des français dans la salle, les réponses dans la langue de Molière sont les bienvenues ;)
Image
Image

Flying Jack
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Sep 2005 12:25
Location: France
Contact:

Postby Flying Jack » 27 Sep 2005 11:02

Help ?

I've try adev=/dev/dsp instead of adev=/dev/audio, it doesn't work... :(
I've try to plug my audio source on the input of Osprey, on the Line In or on the Mic Input of my sound card. Doesn't work :(

Please help :(
Image
Image

Flying Jack
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Sep 2005 12:25
Location: France
Contact:

Postby Flying Jack » 27 Sep 2005 12:58

I've install vlc-alsa and vlc-plugin-alsa, but alsaconf doesn't find any audio card...
if I load my btaudio module (modprobe btaudio) i can listen sound, but not what I stream, only a big noise...

I don't know what to do...
Image
Image

Flying Jack
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Sep 2005 12:25
Location: France
Contact:

Postby Flying Jack » 27 Sep 2005 16:07

I've found where is the problem:
encodeur:/etc/modprobe.d/arch# dmesg | grep btaudio
btaudio: driver version 0.7 loaded [digital+analog]
btaudio: Bt878 (rev 17) at 01:08.1, irq: 20, latency: 32, mmio: 0xdc101000
btaudio: using card config "Osprey 200"
btaudio: registered device dsp0 [digital]
btaudio: registered device dsp1 [analog]

btaudio: registered device mixer0
I know now what i have to use :)


But here is what happens:
encodeur:/etc/modprobe.d/arch# vlc --color v4l:/dev/video:norm=pal:frequency=543250:size=vga:channel=0:adev=/dev/dsp1:audio=1 --sout '#transcode{vcodec=mp4v,vb=500,scale=1,acodec=mpga,ab=128,channels=2,deinterlace}:std{access=udp,mux=ts,url=239.255.12.43}'
VLC media player 0.8.2-svn Janus
libhal.c 767 : org.freedesktop.DBus.Error.ServiceDoesNotExist raised
"Service "org.freedesktop.Hal" does not exist"


[00000245] main playlist: adding playlist item `v4l:/dev/video:norm=pal:frequency=543250:size=vga:channel=0:adev=/dev/dsp1:audio=1' ( v4l:/dev/video:norm=pal:frequency=543250:size=vga:channel=0:adev=/dev/dsp1:audio=1 )
[00000249] skins2 interface error: Cannot open display
[00000249 skins2 interface error: Cannot initialize OSFactory
Interface de commande à distance initialisée, « h » pour obtenir de l'aide.
[mp2 @ 0x41396618]Sampling rate 44800 is not allowed in mp2
[00000314] ffmpeg encoder error: cannot open encoder
[00000255] stream_out_transcode private error: cannot find encoder
[00000255] stream_out_transcode private error: cannot create audio chain
[00000275] main packetizer error: cannot create packetizer output
It appears that I must down sample my audio input at 44.1 kHz but it don't know how do that...
Could you help me ?

Thanks
Image
Image

Flying Jack
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Sep 2005 12:25
Location: France
Contact:

Postby Flying Jack » 28 Sep 2005 14:48

There's really nobody who wants to help me ?.........

Or if I try to use mp4a for audio...

encodeur:~# vlc --color v4l:/dev/video:norm=pal:frequency=543250:size=vga:channel=0:adev=/dev/dsp1:audio=1 --sout '#transcode{vcodec=mp4v,vb=512,scale=1,acodec=mp4a,ab=64,channels=2}:std{access=udp,mux=ts,url=239.255.12.43}'
VLC media player 0.8.2-svn Janus
libhal.c 767 : org.freedesktop.DBus.Error.ServiceDoesNotExist raised
"Service "org.freedesktop.Hal" does not exist"


[00000245] main playlist: adding playlist item `v4l:/dev/video:norm=pal:frequency=543250:size=vga:channel=0:adev=/dev/dsp1:audio=1' ( v4l:/dev/video:norm=pal:frequency=543250:size=vga:channel=0:adev=/dev/dsp1:audio=1 )
[00000249] skins2 interface error: Cannot open display
[00000249] skins2 interface error: Cannot initialize OSFactory
Interface de commande à distance initialisée, « h » pour obtenir de l'aide.
[00000313] ffmpeg encoder error: cannot find encoder MPEG AAC Audio
[00000255] stream_out_transcode private error: cannot find encoder
[00000255] stream_out_transcode private error: cannot create audio chain
Image
Image

Vato
New Cone
New Cone
Posts: 6
Joined: 13 Oct 2005 11:43
Contact:

Postby Vato » 21 Oct 2005 11:04

Try samplerate=44100 after ab=... string. It will help, IMHO.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 31 guests