[Debian] Do I need to install ffmpeg for transcoding?

About encoding, codec settings, muxers and filter usage
GraphiteCube
New Cone
New Cone
Posts: 4
Joined: 22 Aug 2009 08:27
Location: Hong Kong S.A.R.

[Debian] Do I need to install ffmpeg for transcoding?

Postby GraphiteCube » 06 Sep 2009 09:02

Hi. I am a user of Debian GNU/Linux and I am trying to stream music files from my Debian box using VLC. Since some of my music files are in *.mp3 and some of them are in *.wav format, I wish to transcode all of them to MP3 in 64kbps.

The command I executed is:

Code: Select all

vlc Music/* --random --loop --sout 'standard{access=http,mux=ts,ab=64,aenc=ffmpeg,dst=192.168.8.20:8000}' -I dummy --sout-keep
However, when I try to listen the stream on client using VLC as media player, the media information shown that the bitrate of stream is still 320kbps (the original bitrate of the MP3 file). In addition, the *.wav files seem not being streamed.

I wonder if the problem caused by missing packages on my system? But even I apt-get install ffmpeg (the command to install ffmpeg in Debian), the transcoding still didn't work.

Could someone give me some suggestions? Thanks. :)

VLC (no X support) package in Debian:
http://packages.debian.org/squeeze/vlc-nox

ffmpeg package in Debian:
http://packages.debian.org/squeeze/ffmpeg

lordnk
New Cone
New Cone
Posts: 9
Joined: 13 Aug 2009 03:39

Re: [Debian] Do I need to install ffmpeg for transcoding?

Postby lordnk » 10 Sep 2009 18:53

Your sout string can be manipulated quite extensively - in your case you will just need to add a transcode at the start of the chain to get all the files to go to the 'standard' module in the same format. At the moment your sout string isn't performing any transcoding, hence why changing your dependencies has had no effect.

A simple sout string could be '#transcode{acodec=mp3,ab=64}:standard{access=http,dst=192.168.1.8.20:8000}' - read the advanced streaming guide (there's a link on the vlc page) and it will tell you more about all the options.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 15 guests