Page 1 of 1

VLC recording TV no sound

Posted: 06 Apr 2012 00:35
by morice
Anyone can tell me how to get the sound when i record TV with VLC ? I use orange TV and all is ok but when i record something from one channel, i don't have the sound when i play the file. I think it changed since last update because it worked before...

Re: VLC recording TV no sound

Posted: 10 Apr 2012 12:14
by Jean-Baptiste Kempf
What is the input and the logs?

Re: VLC recording TV no sound

Posted: 10 Apr 2012 19:38
by morice
Sorry i don't know what you talk about, as my english is bad and i don't know much about all this.
But i noticed that the sound works if i play the file with VLC but i have no sound with any other player (window player, media player etc).
I suppose that i need a codec ?
(sorry for bad english)

Thanks for your reply.

Re: VLC recording TV no sound

Posted: 11 Apr 2012 08:23
by Lotesdelere
Please open Tools -> Messages (set Verbosity to 2) before you start the playback and then paste the full resulting log here or on Pastebin.com if it's too long.

Also upload a short sample of a problematic file to either http://streams.videolan.org/upload/ or to MirrorCreator.com or to EmbedUpload.com, so it will upload the file for you to several other hosts, and then post the link to the file here.

Re: VLC recording TV no sound

Posted: 11 Apr 2012 10:13
by morice
ok here is the .log fold


main debug: adding item `vlc-record-2012-04-11-10h09m23s-015. BFM TV-Non Stop.ts' ( file:///C:/Users/ppr/Desktop/vlc-record-2012-04-11-10h09m23s-015.%20BFM%20TV-Non%20Stop.ts )
main debug: rebuilding array of current - root Liste de lecture
main debug: rebuild done - 1 items, index -1
main debug: processing request item: vlc-record-2012-04-11-10h09m23s-015. BFM TV-Non Stop.ts, node: null, skip: 0
main debug: resyncing on vlc-record-2012-04-11-10h09m23s-015. BFM TV-Non Stop.ts
main debug: vlc-record-2012-04-11-10h09m23s-015. BFM TV-Non Stop.ts is at 0
main debug: starting playback of the new playlist item
main debug: creating new input thread
main debug: Creating an input for 'vlc-record-2012-04-11-10h09m23s-015. BFM TV-Non Stop.ts'
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\ppr\AppData\Local\Temp'
main debug: `file:///C:/Users/ppr/Desktop/vlc-record-2012-04-11-10h09m23s-015.%20BFM%20TV-Non%20Stop.ts' gives access `file' demux `' path `/C:/Users/ppr/Desktop/vlc-record-2012-04-11-10h09m23s-015.%20BFM%20TV-Non%20Stop.ts'
main debug: creating demux: access='file' demux='' location='/C:/Users/ppr/Desktop/vlc-record-2012-04-11-10h09m23s-015.%20BFM%20TV-Non%20Stop.ts' file='C:\Users\ppr\Desktop\vlc-record-2012-04-11-10h09m23s-015. BFM TV-Non Stop.ts'
main debug: looking for access_demux module: 3 candidates
main debug: no access_demux module matching "file" could be loaded
main debug: TIMER module_need() : 0.834 ms - Total 0.834 ms / 1 intvls (Avg 0.834 ms)
main debug: creating access 'file' location='/C:/Users/ppr/Desktop/vlc-record-2012-04-11-10h09m23s-015.%20BFM%20TV-Non%20Stop.ts', path='C:\Users\ppr\Desktop\vlc-record-2012-04-11-10h09m23s-015. BFM TV-Non Stop.ts'
main debug: looking for access module: 3 candidates
filesystem debug: opening file `C:\Users\ppr\Desktop\vlc-record-2012-04-11-10h09m23s-015. BFM TV-Non Stop.ts'
main debug: using access module "filesystem"
main debug: TIMER module_need() : 0.745 ms - Total 0.745 ms / 1 intvls (Avg 0.745 ms)
main debug: Using stream method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 22727 KiB/s
main debug: looking for stream_filter module: 4 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 0.128 ms - Total 0.128 ms / 1 intvls (Avg 0.128 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.096 ms - Total 0.096 ms / 1 intvls (Avg 0.096 ms)
main debug: creating demux: access='file' demux='' location='/C:/Users/ppr/Desktop/vlc-record-2012-04-11-10h09m23s-015.%20BFM%20TV-Non%20Stop.ts' file='C:\Users\ppr\Desktop\vlc-record-2012-04-11-10h09m23s-015. BFM TV-Non Stop.ts'
main debug: looking for demux module: 55 candidates
qt4 debug: IM: Setting an input
ts warning: lost synchro
ts debug: skipping 132 bytes of garbage
ts warning: lost synchro
ts debug: skipping 76 bytes of garbage
ts warning: lost synchro
ts debug: skipping 20 bytes of garbage
ts warning: lost synchro
ts debug: skipping 152 bytes of garbage
ts warning: lost synchro
ts debug: skipping 96 bytes of garbage
ts warning: lost synchro
ts debug: skipping 40 bytes of garbage
ts warning: lost synchro
ts debug: skipping 172 bytes of garbage
ts warning: lost synchro
ts debug: skipping 116 bytes of garbage
ts warning: lost synchro
ts debug: skipping 60 bytes of garbage
ts debug: PATCallBack called
ts debug: new PAT ts_id=40902 version=2 current_next=1
ts debug: * number=1 pid=66
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=24 pid_pcr=69
ts debug: * es pid=68 type=3 dr->i_tag=0xa
ts debug: found language: fra
ts debug: * es pid=68 type=3 fcc=mpga
main debug: selecting program id=1
ts debug: * es pid=69 type=27 fcc=h264
filesystem warning: unimplemented query 4097 in control
main debug: using demux module "ts"
main debug: TIMER module_need() : 36.528 ms - Total 36.528 ms / 1 intvls (Avg 36.528 ms)
main debug: looking for a subtitle file in C:\Users\ppr\Desktop
main debug: looking for decoder module: 31 candidates
main debug: using decoder module "mpeg_audio"
main debug: TIMER module_need() : 16.597 ms - Total 16.597 ms / 1 intvls (Avg 16.597 ms)
main debug: looking for decoder module: 31 candidates
avcodec debug: libavcodec initialized (interface 0x360a64)
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec warning: threaded frame decoding is not compatible with ffmpeg-hw, disabled
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using slice thread mode with 4 threads
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 12.951 ms - Total 12.951 ms / 1 intvls (Avg 12.951 ms)
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "packetizer_h264"
main debug: TIMER module_need() : 13.898 ms - Total 13.898 ms / 1 intvls (Avg 13.898 ms)
ts debug: DEMUX_SET_GROUP 0 00000000
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\ppr\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 2.593 ms - Total 2.593 ms / 1 intvls (Avg 2.593 ms)
main debug: `file:///C:/Users/ppr/Desktop/vlc-record-2012-04-11-10h09m23s-015.%20BFM%20TV-Non%20Stop.ts' successfully opened
main debug: Buffering 0%
main debug: Buffering 0%
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:128
main debug: creating audio output
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: looking for audio output module: 2 candidates
aout_directx debug: Opening DirectSound Audio Output
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
packetizer_h264 debug: Seen SEI recovery point, 0 recovery frames
main debug: Stream buffering done (1000 ms in 1 ms)
aout_directx debug: found device: Périphérique audio principal
aout_directx debug: found device: Haut-parleurs (Realtek High Definition Audio)
aout_directx debug: using device: Haut-parleurs (Realtek High Definition Audio)
aout_directx debug: found device: Realtek Digital Output (Realtek High Definition Audio)
aout_directx debug: found device: Realtek HDMI Output (Realtek High Definition Audio)
aout_directx debug: device supports 2 channels (DEFAULT!)
aout_directx debug: device supports 1 channel
aout_directx debug: Windows says your SpeakerConfig is stereo
aout_directx debug: creating DirectSoundThread
main debug: using audio output module "aout_directx"
main debug: TIMER module_need() : 36.443 ms - Total 36.443 ms / 1 intvls (Avg 36.443 ms)
main debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
aout_directx debug: DirectSoundThread ready
main debug: filter(s) 'f32l'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 14 candidates
audio_format debug: f32l->s16l, bits per sample: 32->16
main debug: using audio filter module "audio_format"
main debug: TIMER module_need() : 19.336 ms - Total 19.336 ms / 1 intvls (Avg 19.336 ms)
main debug: conversion pipeline completed
main debug: looking for audio mixer module: 2 candidates
main debug: using audio mixer module "float32_mixer"
main debug: TIMER module_need() : 1.442 ms - Total 1.442 ms / 1 intvls (Avg 1.442 ms)
main debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/1161 bytes
main debug: looking for audio filter module: 1 candidate
scaletempo debug: format: 48000 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: TIMER module_need() : 2.059 ms - Total 2.059 ms / 1 intvls (Avg 2.059 ms)
main debug: filter(s) 'mpga'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 14 candidates
mpgatofixed32 debug: mpga->f32l, bits per sample: 32
main debug: using audio filter module "mpgatofixed32"
main debug: TIMER module_need() : 0.204 ms - Total 0.204 ms / 1 intvls (Avg 0.204 ms)
main debug: conversion pipeline completed
main debug: filter(s) 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: conversion pipeline completed
main debug: filter(s) 'f32l'->'f32l' 52800 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 14 candidates
main debug: using audio filter module "samplerate"
main debug: TIMER module_need() : 0.234 ms - Total 0.234 ms / 1 intvls (Avg 0.234 ms)
main debug: conversion pipeline completed
main debug: End of audio preroll
main debug: Decoder buffering done in 59 ms
packetizer_h264 debug: Recovery from SEI recovery point complete
avcodec debug: Available decoder output format 61 (PIX_FMT_DXVA2_VLD)
avcodec debug: Trying DXVA2
avcodec debug: DLLs loaded
avcodec debug: D3dCreateDevice succeed
avcodec debug: OurDirect3DCreateDeviceManager9 Success!
avcodec info: obtained IDirect3DDeviceManager9
avcodec info: DXVA2CreateVideoService Success!
avcodec debug: - 'MPEG-2 inverse discrete cosine transform' is supported by hardware
avcodec warning: - Unknown GUID = 9E5A0DCA-2b9c-414e-XXXX
avcodec error: DxFindVideoServiceConversion failed
avcodec warning: Failed to open DXVA2
avcodec debug: Available decoder output format 53 (PIX_FMT_VAAPI_VLD)
avcodec debug: Available decoder output format 81 (Unknown)
avcodec debug: Available decoder output format 0 (PIX_FMT_YUV420P)
main debug: looking for text renderer module: 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 4.062 ms - Total 4.062 ms / 1 intvls (Avg 4.062 ms)
main debug: looking for video filter2 module: 18 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 5.341 ms - Total 5.341 ms / 1 intvls (Avg 5.341 ms)
main debug: looking for video filter2 module: 18 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 18.262 ms - Total 18.262 ms / 1 intvls (Avg 18.262 ms)
main debug: Deinterlacing available
main debug: deinterlace -1, mode blend, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module: 6 candidates
direct3d debug: creating Vout EventThread
direct3d debug: DirectXCreateWindow
main debug: looking for vout window hwnd module: 2 candidates
qt4 debug: requesting video...
qt4 debug: Video was requested 0, 0
main debug: using vout window hwnd module "qt4"
main debug: TIMER module_need() : 12.783 ms - Total 12.783 ms / 1 intvls (Avg 12.783 ms)
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
main debug: VoutDisplayEvent 'resize' 1071x612 window
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
main debug: using vout display module "direct3d"
main debug: TIMER module_need() : 84.110 ms - Total 84.110 ms / 1 intvls (Avg 84.110 ms)
main debug: original format sz 544x576, of (0,0), vsz 544x576, 4cc I420, sar 64:33, msk r0x0 g0x0 b0x0
main debug: removing module "freetype"
main debug: VoutDisplayEvent 'resize' 1055x576 window
main debug: looking for text renderer module: 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 1.590 ms - Total 1.590 ms / 1 intvls (Avg 1.590 ms)
avcodec debug: using direct rendering
main warning: audio output out of sync, adjusting dates (91926 us)
main warning: not synchronized (91929 us), resampling
main warning: buffer too late (91545), up-sampling
main debug: End of video preroll
direct3d debug: Created 971x38 texture for OSD
main debug: Post-processing available
main debug: Detected interlaced video
main debug: deinterlace -1, mode blend, is_needed 1
main debug: Adding 'deinterlace' as static
main debug: looking for video filter2 module: 1 candidate
deinterlace debug: using blend deinterlace method
deinterlace debug: deinterlacing
main debug: using video filter2 module "deinterlace"
main debug: TIMER module_need() : 2.066 ms - Total 2.066 ms / 1 intvls (Avg 2.066 ms)
main debug: Filter 'deinterlace' (040232c8) appended to chain
main debug: auto hiding mouse cursor
ts debug: eof ?
main debug: EOF reached
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: finished input
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing module "mpgatofixed32"
main debug: removing module "scaletempo"
main debug: removing module "samplerate"
main debug: removing module "aout_directx"
aout_directx debug: closing audio device
aout_directx debug: DirectSoundThread exiting
main debug: removing module "audio_format"
main debug: removing module "float32_mixer"
main debug: releasing audio output
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: killing decoder fourcc `h264', 0 PES in FIFO
main debug: saving a free vout
main debug: reusing provided vout
main debug: removing module "packetizer_h264"
main debug: removing module "ts"
ts debug: pid list:
ts debug: - pid[0] seen
ts debug: - pid[66] seen
ts debug: - pid[68] seen
main debug: Program doesn't contain anymore ES
ts debug: - pid[69] seen
ts debug: - pid[8191] seen
main debug: removing module "stream_filter_record"
main debug: removing module "filesystem"
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
main debug: destroying useless vout
main debug: removing module "direct3d"
direct3d debug: Direct3D scene released successfully
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for 'vlc-record-2012-04-11-10h09m23s-015. BFM TV-Non Stop.ts' : 87.473 ms - Total 87.473 ms / 1 intvls (Avg 87.473 ms)
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
main debug: Filter 040232c8 removed from chain
main debug: removing module "deinterlace"
qt4 debug: releasing video...
qt4 debug: Video is not needed anymore
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"

Re: VLC recording TV no sound

Posted: 11 Apr 2012 14:39
by Jean-Baptiste Kempf
This is an mpeg-audio (mp2 or mp3) so you should add codecs on other players.

Re: VLC recording TV no sound

Posted: 11 Apr 2012 14:42
by morice
Ok thanks

Re: VLC recording TV no sound

Posted: 11 Apr 2012 14:42
by Jean-Baptiste Kempf
Sharing a sample would be nice too.

Re: VLC recording TV no sound

Posted: 11 Apr 2012 16:45
by morice
I uploaded a sample but got no link to give to you :s i must go fast... will try later soon

Re: VLC recording TV no sound

Posted: 11 Apr 2012 17:36
by Jean-Baptiste Kempf

Re: VLC recording TV no sound

Posted: 13 Apr 2012 12:27
by morice

Re: VLC recording TV no sound

Posted: 19 Apr 2012 17:34
by kooij
I have the same problem using Youtube.

Example: the stream http://www.youtube.com/watch?v=9MHKJ9bBJDY&feature=fvst

This stream plays correct with VLC (Media -> Networkstream). Video and sound.

When I record this stream, no sound when I play the recorded file with VLC.
The Codec-information shows only a video-stream.

I use the latest VLC-version.

Thanks for reply.