When I receive a vlc v4l stream:
/usr/bin/vlc -v --color v4l:/dev/video:norm=pal:channel=1:size=720x576:adev=/dev/dsp1:audio=0 --sout '#transcode{vcodec=mp4v,acodec=mp3,vb=800,ab=192}:standard{access=http,mux=ts,dst=192.168.0.145:2500}'
The vlc client seems to think the sound comes as 48510
main audio output debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
and tries to resample it. But all what happens is that it sounds like a gramophone recored which is played the wrong speed (to fast) and and the sound ruckles all the time. Has somebody a idea how to disable the resampling of the audio input? I already disable the options high-quality-audio-resampling.
Many thanks
Roland Kaeser
VLC Client Debug output
Code: Select all
[00000296] main input debug: `http://192.168.0.145:2500' gives access `http' demux `' path `192.168.0.145:2500'
[00000296] main input debug: creating demux: access='http' demux='' path='192.168.0.145:2500'
[00000298] main demuxer debug: looking for access_demux module: 0 candidates
[00000298] main demuxer warning: no access_demux module matched "http"
[00000296] main input debug: creating access 'http' path='192.168.0.145:2500'
[00000299] main access debug: looking for access2 module: 8 candidates
[00000299] access_http access debug: http: server='192.168.0.145' port=2500 file='(null)
[00000299] main access debug: net: connecting to 192.168.0.145 port 2500
[00000299] main access debug: connection in progress
[00000299] access_http access debug: protocol 'HTTP' answer code 200
[00000299] access_http access debug: Content-Type: application/octet-stream
[00000299] main access debug: using access2 module "access_http"
[00000301] main private debug: pre-buffering...
[00000301] main private debug: received first data for our buffer
[00000301] main private debug: pre-buffering done 26640 bytes in 0s - 53 kbytes/s
[00000296] main input debug: creating demux: access='http' demux='' path='192.168.0.145:2500'
[00000302] main demuxer debug: looking for demux2 module: 44 candidates
[00000302] main demuxer debug: using demux2 module "ts"
[00000302] ts demuxer debug: DEMUX_SET_GROUP 0 (nil)
[00000296] main input debug: `http://192.168.0.145:2500' successfully opened
[00000302] ts demuxer debug: pid[68] unknown
libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 0) for PID 0
[00000302] ts demuxer debug: PATCallBack called
[00000302] ts demuxer debug: new PAT ts_id=13269 version=27 current_next=1
[00000302] ts demuxer debug: * number=1 pid=66
libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 0) for PID 66
[00000302] ts demuxer debug: PMTCallBack called
[00000302] ts demuxer debug: new PMT program number=1 version=18 pid_pcr=68
[00000302] ts demuxer debug: * es pid=68 type=16 fcc=mp4v
[00000296] main input debug: selecting program id=1
[00000334] main decoder debug: looking for decoder module: 25 candidates
[00000334] ffmpeg decoder debug: libavcodec initialized (interface 3344896 )
[00000334] ffmpeg decoder debug: postprocessing disabled
[00000334] ffmpeg decoder debug: using direct rendering
[00000334] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000334] main decoder debug: using decoder module "ffmpeg"
[00000360] main packetizer debug: looking for packetizer module: 17 candidates
[00000360] main packetizer debug: using packetizer module "packetizer_mpeg4video"
[00000334] main decoder debug: thread 2972064672 (decoder) created at priority 0 (input/decoder.c:159)
[00000302] ts demuxer debug: * es pid=69 type=3 fcc=mpga
[00000372] main decoder debug: looking for decoder module: 25 candidates
[00000372] main decoder debug: using decoder module "mpeg_audio"
[00000372] main decoder debug: thread 2963671968 (decoder) created at priority 0 (input/decoder.c:159)
[00000302] ts demuxer warning: first packet for pid=68 cc=0x5
[00000302] ts demuxer warning: first packet for pid=69 cc=0x3
[00000360] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000372] mpeg_audio decoder debug: MPGA channels:2 samplerate:44100 bitrate:192
[00000372] main decoder debug: no aout present, spawning one
[00000373] main audio output debug: looking for audio output module: 6 candidates
[00000360] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000360] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000360] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000360] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000360] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000373] arts audio output debug: aRts initialized, latency 92000, 4 packets of size 4096
[00000373] main audio output debug: using audio output module "arts"
[00000373] main audio output debug: output 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
[00000373] main audio output debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
[00000373] main audio output debug: filter(s) 'fl32'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo
[00000375] main private debug: looking for audio filter module: 24 candidates
[00000375] main private debug: using audio filter module "float32tos16"
[00000373] main audio output debug: found a filter for the whole conversion
[00000373] main audio output debug: looking for audio mixer module: 3 candidates
[00000373] main audio output debug: using audio mixer module "float32_mixer"
[00000373] main audio output debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes
[00000373] main audio output debug: filter(s) 'mpga'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo
[00000393] main private debug: looking for audio filter module: 24 candidates
[00000393] main private debug: using audio filter module "mpgatofixed32"
[00000373] main audio output debug: found a filter for the whole conversion
[00000373] main audio output debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
[00000394] main private debug: looking for audio filter module: 24 candidates
[00000394] main private debug: using audio filter module "linear_resampler"
[00000373] main audio output debug: found a filter for the whole conversion
[00000373] mpgatofixed32 audio output debug: libmad error: bad main_data_begin pointer