Page 1 of 1

No sound when recording stream (weird)

Posted: 10 Apr 2010 15:54
by calande
Hello,

There's a TV channel that I watch using IPTV in VLC, it works fine, I have both audio and video, however, if I decide to record it in VLC, when I open the video file still in VLC, I have no sound. This is what I use to record the stream:

Code: Select all

vlc "rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=204&flavour=sd" :run-time=5 --sout test2.mpg vlc://quit
How could I solve this problem?
Thanks,

Re: No sound when recording stream (weird)

Posted: 10 Apr 2010 16:34
by RĂ©mi Denis-Courmont
Maybe the specified file format (MPEG PS) does not support the received audio codec.

Re: No sound when recording stream (weird)

Posted: 11 Apr 2010 16:08
by calande
Thank you. How could I troubleshoot it ? Is there a way to find a proper codec?

Re: No sound when recording stream (weird)

Posted: 16 Apr 2010 12:38
by calande
Here's more info:

Codec: mp4a
AAC Extension: SBR

Do you know what container I should use?
Thanks again,

Re: No sound when recording stream (weird)

Posted: 16 Apr 2010 12:52
by calande
I found out that if I save using .mp4 container, I have sound but the video if cut in half with a thick black strip on top :?
Is there a way to change this command in order to have the original video from the MPEG container, the audio of the MP4 container and saving everything using the MPEG container?

Code: Select all

vlc "rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=210&flavour=ld" :run-time=5 --sout test.mpg
Thanks again,

Re: No sound when recording stream (weird)

Posted: 16 Apr 2010 13:19
by calande
This seems to be the options to use but I don't see any change using some of them or not...

Code: Select all

Audio: --sout-transcode-aenc=<string> Audio encoder This is the audio encoder module that will be used (and its associated options). --sout-transcode-acodec=<string> Destination audio codec This is the audio codec that will be used. --sout-transcode-ab=<integer> Audio bitrate Target bitrate of the transcoded audio stream. --sout-transcode-channels=<integer> Audio channels Number of audio channels in the transcoded streams. --sout-transcode-aenc=<string> Audio encoder This is the audio encoder module that will be used (and its associated options). --sout-transcode-acodec=<string> Destination audio codec This is the audio codec that will be used.

Re: No sound when recording stream (weird)

Posted: 16 Apr 2010 14:41
by calande
It seems that I'm not the only one with this issue...
http://homeplayer.free.fr/new/index.php?topic=1507.0