CD ripping: Encoded mp3 is not playable

About encoding, codec settings, muxers and filter usage
tik0
New Cone
New Cone
Posts: 4
Joined: 28 Aug 2012 18:44

CD ripping: Encoded mp3 is not playable

Postby tik0 » 27 Oct 2016 10:37

Dear folks,

I've investigated the debug outputs using vlc -vv when I save a single track as mp3 to my hard drive, which is playable by the way.
Now, I try to use cvlc in the following way to rip my CD track by track, but the produced mp3 is not playable (but the tracks have the same size in MB):

Code: Select all

cvlc cdda:///dev/sr0 --cdda-track=1 --disc-caching=300 ":sout=#transcode{vcodec=none,acodec=mp3,ab=256,channels=2,samplerate=44100}:std{access=file{overwrite},mux=ts,dst='/tmp/myTrack.mp3'}" vlc://quit
Can anybody help me to write a proper command which works?
Further question: Is it possible to store the cddb information in the ID3 tag using cvlc?

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

Re: CD ripping: Encoded mp3 is not playable

Postby Rémi Denis-Courmont » 27 Oct 2016 15:31

This is generating a MPEG-TS file that contains a MPEG Audio Layer III track. It should be playable in VLC though, just rename the file extension from .mp3 to .ts.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests