Useful VLC Tricks
Posted: 05 Apr 2005 01:19
I want to share, via this thread, a variety of simple methods to accomplish common tasks using VLC which I have discovered. Anyone else with similar tips might post them also, and then we would have a nice reference thread.
I have a large collection of LaserDiscs, and sometimes I want to encode a .mp3 audio file from one of them. The technique I use is probably applicable to most line-in recording tasks, but I can only describe my particular situation.
My first step is to definitively locate the "in" and "out" points of the the audio segment I wish to record; with the LD player I can preset "repeat" points at these locations. Then, as a precaution, I disable Video under Preferences, which may ot be necessary. Working under the GUI, I "Open Network Stream" and select my PVR card as the source device, producing a MRL such as:
Selecting "Stream Output", I choose "Stream to File" with an appropriate path and filename, "Encapsulate: Raw", and "Transcode: Audio: MP3, 192 kbps, 2 ch". The resulting sout string resembles:
I then press "OK" enough times to get through all but the last of the repetitive Option displays which pop up with the setting I have; I start the LDP playing from the selected spot more-or-less simultaneously pressing the last "OK" and starting the stream, and when I come to the "out" point I press "Stop" in the VLC GUI. This procedure yields an acceptable .mp3 file, although I would be happier if the VLC .mp3 transcode operation supported ordinary [non-joint] stereo.
The final step is to validate the file. Since VLC will find a way to play all manner of degenerate formats, a more "finicky" player is indicated; I use WinAmp because it costs me nothing and makes editing the track tags easy. If the file plays properly, I move on.
I have a large collection of LaserDiscs, and sometimes I want to encode a .mp3 audio file from one of them. The technique I use is probably applicable to most line-in recording tasks, but I can only describe my particular situation.
My first step is to definitively locate the "in" and "out" points of the the audio segment I wish to record; with the LD player I can preset "repeat" points at these locations. Then, as a precaution, I disable Video under Preferences, which may ot be necessary. Working under the GUI, I "Open Network Stream" and select my PVR card as the source device, producing a MRL such as:
Code: Select all
dshow:// :dshow-vdev="ATI eHomeWonder Capture" :dshow-adev="" :dshow-size="" :dshow-config :no-dshow-tuner
Code: Select all
:sout=#transcode{acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=file,mux=raw,url="C:\Documents and Settings\publius\My Documents\My Music\spool\dummy.mp3"}}
The final step is to validate the file. Since VLC will find a way to play all manner of degenerate formats, a more "finicky" player is indicated; I use WinAmp because it costs me nothing and makes editing the track tags easy. If the file plays properly, I move on.