[streaming] VLC Streaming composite input with line input audio on linux
Karl Lattimer
karl at nncc.info
Sun May 7 15:44:38 CEST 2006
I have been trying to get this working for months now, please can
someone help!
When I run a VLC instance to stream TV from composite across my network,
I can stream video fine but I am unable to stream audio, video works
fine but audio is not being transmitted, I have googled for this for too
long, I have tried everything that I can find and there is no success.
I have ensured that my line input is set as the recording channel, I
have tried with the volume muted and unmuted (some capture apps require
it to be muted) I have tried adding samplerate=... to the v4l command
line, i have tried the following command lines
vlc
v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/dsp" :v4l-channel=1 :v4l-norm=pal --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=64,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=http,mux=ts,url=192.168.1.1}' --ttl 12
and
vlc
v4l:/dev/video0:norm=pal:channel=1:v4l-adev=/dev/dsp:adev=/dev/dsp:samplerate=48000 --sout '#transcode{vcodec=mp4v,acodec=mp3,vb=3000,ab=64,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=http,mux=ts,url=192.168.1.1}' --ttl 1
and various other variations on that theme.
I simply cannot get this to stream audio from line-in along side video
from composite on a BT878 card. I have even tried to use mencoder to
capture the video and pass the data to vlc via stdin (mencoder seems to
put out junk though)
Can someone please let me know of a good debugging path to locate the
problem and correct it, so the audio will stream with line-in. I am not
the only person with this problem and it seems there is little being
done to come up with an adequate solution which works for everyone.
If i am capable of capturing video using
mencoder tv:// -tv
driver=v4l2:input=1:norm=pal:outfmt=i420:device=/dev/video0:adevice=/dev/dsp:forceaudio:forcechan=2 -ovc lavc -oac mp3lame -lameopts br=128:cbr:mode=0:vol=0 -o test.avi
Then surely I should be capable of streaming video with line-in audio
using VLC
Below is some of the verbose output from VLC when it starts as a server.
[00000304] mux_ts private debug: adding input codec=mp4v pid=68
[00000304] mux_ts private debug: new PCR PID is 68
[00000349] main private debug: looking for video filter2 module: 4
candidates
[00000352] deinterlace private debug: using blend deinterlace mode
[00000352] deinterlace private debug: using blend deinterlace method
[00000349] deinterlace private debug: deinterlacing
[00000235] main module debug: using video filter2 module "deinterlace"
[00000337] ffmpeg encoder debug: hurry up mode 2
[00000337] ffmpeg encoder debug: hurry up mode 2
[00000295] stream_out_transcode private debug: creating audio
transcoding from fcc=`s16l' to fcc=`mp3 '
[00000353] main decoder debug: looking for decoder module: 23 candidates
[00000353] araw decoder debug: samplerate:48000Hz channels:2
bits/sample:16
[00000093] main module debug: using decoder module "araw"
[00000354] main encoder debug: looking for encoder module: 7 candidates
[00000354] ffmpeg encoder debug: libavcodec already initialized
[00000354] ffmpeg encoder debug: found encoder MPEG Audio layer 1/2/3
[00000018] main module debug: using encoder module "ffmpeg"
[00000304] main private debug: adding a new input
[00000304] mux_ts private debug: adding input codec=mpga pid=69
[00000337] ffmpeg encoder debug: hurry up mode 2
[00000337] ffmpeg encoder debug: hurry up mode 2
[00000337] ffmpeg encoder debug: hurry up mode 2
[00000337] ffmpeg encoder debug: hurry up mode 2
Kind regards,
Karl Lattimer
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the streaming
mailing list