can't create wav or flac files from recorded internet stream

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
mfsoa
New Cone
New Cone
Posts: 1
Joined: 31 Mar 2012 23:05

can't create wav or flac files from recorded internet stream

Postby mfsoa » 31 Mar 2012 23:32

Hi, first post here...

I am trying to record http://radio.cesnet.cz:8000/cro-d-dur.flac and then convert to wav or flac.
I can record just fine - the recorded file plays back in VLC.
But when I convert to wav or flac the resulting file cannot be played by any software.

I don't see what I am missing? Any advice?

Thanks very much

-Mike

bat999
Cone that earned his stripes
Cone that earned his stripes
Posts: 200
Joined: 19 Dec 2007 02:35

Re: can't create wav or flac files from recorded internet st

Postby bat999 » 01 Apr 2012 18:13

I don't see what I am missing? Any advice?
Hi
For some reason VLC chooses to record that flac stream in an ogg container.
In messages I can see
Using record output `std{access=file,mux='ogg',dst='vlc-record-2012-04-01-16h52m54s-Cesky rozhlas D-dur-.ogg'}
I don't know whether this is a VLC bug, or whether it's a "feature". :)
You decide.

A workaround is to use command line.
Like this:-

Code: Select all

vlc "http://radio.cesnet.cz:8000/cro-d-dur.flac" --sout="#std{access=file,mux=raw,dst='filename.flac'}"

cyclinginstructor
New Cone
New Cone
Posts: 1
Joined: 26 Dec 2013 10:30

Re: can't create wav or flac files from recorded internet st

Postby cyclinginstructor » 26 Dec 2013 10:37

I do not feel confident using command line items. It would be great if in the future vlc could allow the user to record internet streams in a user defined format such as FLAC. Thanks for all your work developing vlc btw

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: can't create wav or flac files from recorded internet st

Postby kodela » 26 Dec 2013 12:06

Hi,

use the recording function. The audio is then encoded in FLAC format.

"MediaInfo" says:
  • Generally
    Complete name : D:\VLC\Aufnahmen\vlc-record-2013-12-26-11h49m54s-Cesky rozhlas D-dur-.ogg
    Format : OGG
    Format/Info : Free Lossless Audio Codec
    File size : 5,12 MiB
    Duration : 1min 0s
    Overall bit rate mode : variabel
    Overall bit rate : 707 Kbps

    Audio
    ID : 902057407 (0x35C44DBF)
    Format : FLAC
    Format/Info : Free Lossless Audio Codec
    Muxing mode : pre-FLAC 1.1.1
    Duration : 1min 0s
    Bit rate mode : variabel
    Channel(s) : 2 Kanäle
    Sampling rate : 48,0 KHz
    Bit depth : 16 bits
The FLAC-encoded audio is in an OGG-container. You can, if they want it, rename the file from .ogg after .flac.
See here: Wikipedia

kodela


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests