Save mp3 stream without transcoding

About encoding, codec settings, muxers and filter usage
morespray
New Cone
New Cone
Posts: 8
Joined: 24 Jan 2008 09:21

Save mp3 stream without transcoding

Postby morespray » 16 Aug 2009 16:19

Hi, I'm using VLC 1.0 Goldeneye to record an mp3 broadcast. It's working well, easier than in 0.9.6, but I'm not sure if the audio is being transcoded. Is there anyway to tell? Is 1.0 transcoding using this profile, is there another setting I can use so it doesn't transcode?
For the profile I'm selecting 'Audio - MP3', and if I edit the profile the codec details match the stream (128 kbs, 2 channels, 44100 sample rate). I also tried selecting 'Dump raw input' but it doesn't seem to make a difference (ie - it still works).

I tried it in 0.9.6 (where it shows you the 'Generated stream output string') and found it only worked if the output string was -

Code: Select all

:sout=#transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=raw,dst=E:\music\my rips\wrongmusic 20090816 02.mp3}}
This didn't work -

Code: Select all

:sout=#duplicate{dst=std{access=file,dst=E:\music\my rips\wrongmusic 20090816 02.mp3}}
To me, this looked like 0.9.6 was transcoding the stream - but I'm not sure about this. Anyone more knowledgeable care to comment?

Thanks :)

Edit: I'm using WinXP if that makes a difference

Rémi Denis-Courmont
Developer
Developer
Posts: 15263
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Save mp3 stream without transcoding

Postby Rémi Denis-Courmont » 16 Aug 2009 21:15

If you don't use transcode{}, it won't be transcoded, but it will be remultiplexed.

To record an exact copy, use demuxdump (this does not work for some input types):

Code: Select all

vlc --demux dump --demuxdump-file mycopy.mp3 <URL>
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

morespray
New Cone
New Cone
Posts: 8
Joined: 24 Jan 2008 09:21

Re: Save mp3 stream without transcoding

Postby morespray » 17 Aug 2009 03:54

That works perfectly :)

Thanks so much.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 4 guests