tv streaming sound problem

About encoding, codec settings, muxers and filter usage
bArde
New Cone
New Cone
Posts: 4
Joined: 26 May 2005 11:18

tv streaming sound problem

Postby bArde » 03 Jun 2005 15:35

Hi everyone,

I want to stream TV from my TV card (on a FC3 server) to winXP and linux clients, with vlc.
The video streaming works well.
But I have no sound. I really don't understand why because it seems I have no error on the server's log.

the command line is :
vlc -vvv --color --sout '#transcode{vcodec=mp4v,vb=4000,venc=ffmpeg{keyint=80,hurry-up,vt=800000},scale=1,acodec=mpga,ab=128,samplerate=44100}:std{access=udp,mux=ts,pcr=100,url=239.255.1.1,sap,name="F2"}' v4l:/dev/video0:size=640x380:frequency=623250:norm=secam:adev=/dev/dsp:audio=0

the server's log first lines are :
00000259] main private debug: using SAP address: 224.2.127.254
[00000259] main private debug: net: connecting to '224.2.127.254:9875@:0'
[00000259] main private debug: looking for network module
[00000259] main private debug: probing 2 candidates
[00000259] ipv4 private debug: socket buffer size is 0x3fffe instead of 0x80000
[00000209] main module debug: using network module "ipv4"
[00000209] main module debug: unlocking module "ipv4"
[00000259] main private debug: Addresses: 1 Sessions: 1
[00000228] main module debug: using sout stream module "stream_out_standard"
[00000247] main private debug: set sout option: sout-transcode-vcodec to mp4v
[00000247] main private debug: set sout option: sout-transcode-vb to 4000
[00000247] main private debug: set sout option: sout-transcode-venc to ffmpeg{keyint=80,hurry-up,vt=800000}
[00000247] main private debug: set sout option: sout-transcode-scale to 1
[00000247] main private debug: set sout option: sout-transcode-acodec to mpga
[00000247] main private debug: set sout option: sout-transcode-ab to 128
[00000247] main private debug: set sout option: sout-transcode-samplerate to 44100
[00000247] stream_out_transcode private debug: codec audio=mpga 44100Hz 0 channels 128Kb/s

[00000247] stream_out_transcode private debug: codec video=mp4v 0x0 scaling: 1.000000 4000kb/s
[00000227] main module debug: using sout stream module "stream_out_transcode"
[00000245] main input debug: `v4l:/dev/video0:size=640x380:frequency=623250:norm=secam:adev=/dev/dsp:audio=0' gives access `v4l' demux `' path `/dev/video0:size=640x380:frequency=623250:norm=secam:adev=/dev/dsp:audio=0'
[00000245] main input debug: demux2_New: access='v4l' demux='' path='/dev/video0:size=640x380:frequency=623250:norm=secam:adev=/dev/dsp:audio=0'
[00000260] main demuxer debug: looking for access_demux module
[00000260] main demuxer debug: probing 1 candidate
[00000260] v4l demuxer debug: WxH 640x380
[00000260] v4l demuxer debug: main device=`/dev/video0'
[00000260] v4l demuxer debug: V4L device BT878 video (Hauppauge (bt878)) 4 channels 1 audios 48 < w < 924 32 < h < 576
[00000260] v4l demuxer debug: setting channel Television(0) 1 tuners flags=0x3 type=0x1 norm=0x2
[00000260] v4l demuxer debug: frequency 623250 (9972)
[00000260] v4l demuxer debug: v4l device uses brightness: 32768
[00000260] v4l demuxer debug: v4l device uses colour: 32768
[00000260] v4l demuxer debug: v4l device uses hue: 32768
[00000260] v4l demuxer debug: v4l device uses contrast: 32768
[00000260] v4l demuxer debug: v4l device uses frame size: 729600
[00000260] v4l demuxer debug: v4l device uses chroma: RV24
[00000260] v4l demuxer debug: openened adev=`/dev/dsp' stereo 44100Hz
[00000260] v4l demuxer debug: v4l grabbing started
[00000260] v4l demuxer debug: added new video es RV24 640x380
[00000245] main input debug: Selecting program id=0
[00000260] v4l demuxer debug: new audio es 2 channels 44100Hz

[00000040] main module debug: using access_demux module "v4l"
[00000262] main packetizer debug: looking for packetizer module
[00000262] main packetizer debug: probing 16 candidates
[00000083] main module debug: using packetizer module "rawvideo"
[00000262] main packetizer debug: thread 1537272752 (decoder) created at priority 0 (src/input/decoder.c:157)
[00000273] main packetizer debug: looking for packetizer module
[00000273] main packetizer debug: probing 16 candidates
[00000149] main module debug: using packetizer module "packetizer_copy"
[00000273] main packetizer debug: thread 1547815856 (decoder) created at priority 0 (src/input/decoder.c:157)
[00000245] main input debug: starting in synch mode
[00000245] main input debug: `v4l:/dev/video0:size=640x380:frequency=623250:norm=secam:adev=/dev/dsp:audio=0' sucessfully opened
[00000245] main input debug: control type=1
[00000246] main stream output debug: adding a new input
[00000247] stream_out_transcode private debug: creating video transcoding from fcc=`RV24' to fcc=`mp4v'
[00000291] main decoder debug: looking for decoder module
[00000291] main decoder debug: probing 20 candidates
[00000082] main module debug: using decoder module "rawvideo"
[00000292] main encoder debug: looking for encoder module
[00000292] main encoder debug: probing 1 candidate
[00000292] ffmpeg encoder debug: libavcodec initialized (interface 4731 )
[00000292] main encoder debug: set sout option: sout-ffmpeg-keyint to 80
[00000292] main encoder debug: set sout option: sout-ffmpeg-hurry-up to (null)
[00000292] main encoder debug: set sout option: sout-ffmpeg-vt to 800000
[00000292] ffmpeg encoder debug: found encoder MPEG-4 Video
[00000017] main module debug: using encoder module "ffmpeg"
[00000017] main module debug: unlocking module "ffmpeg"
[00000292] main encoder debug: looking for encoder module
[00000292] main encoder debug: probing 1 candidate
[00000292] ffmpeg encoder debug: libavcodec already initialized
[00000292] main encoder debug: set sout option: sout-ffmpeg-keyint to 80
[00000292] main encoder debug: set sout option: sout-ffmpeg-hurry-up to (null)
[00000292] main encoder debug: set sout option: sout-ffmpeg-vt to 800000
[00000292] ffmpeg encoder debug: found encoder MPEG-4 Video
[00000017] main module debug: using encoder module "ffmpeg"
[00000256] main private debug: adding a new input
[00000256] mux_ts private debug: adding input codec=mp4v pid=68
[00000256] mux_ts private debug: new PCR PID is 68
[00000304] main private debug: looking for video filter2 module
[00000304] main private debug: probing 2 candidates
[00000304] ffmpeg private debug: input: 640x380 RV24 -> 640x380 I420
[00000304] ffmpeg private debug: libavcodec already initialized
[00000019] main module debug: using video filter2 module "ffmpeg"
[00000292] ffmpeg encoder debug: hurry up mode 2

I'm lost and don't know what to do.

Anyone has already have the same pb ? Any Ideas ?
thanks

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests