News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

Mplayer with Flac Audio

Started by jfoterek, February 14, 2010, 19:03:13

Previous topic - Next topic

What i have to do , to play Flac Audio Files

newbe
0 (0%)
newbe
0 (0%)
newbe
0 (0%)

Total Members Voted: 0

jfoterek

Hi all,

I have installed vompserver 0.3.1.1.all works perfect. The Mediaplayer option play MP3 it shows Pictures an other thinks. But now i heard that the new CVS version of Mplayer supports Flac AudioSo I installed this new version to my VDR system. I put the right things in the vomp.conf to see the Flac files in the list on my Media Mvp. But when i want to play one of my Flac files , nothing happens. I know that there is olso a short shell Script called test1.sh, that Adreas Vogel has written.
Who knows what i have to write into this Script , to play Flac Audio files. Maybe someone can help me.

Regards

Jürgen

avvdr

Hi Jürgen,
basicall you have to add some code the the script to handle the particular extension of the flac files.
So 2 steps:
1. add the extension to vomp.conf to be handled with a script
2. add something to e.g. test.sh to call mencoder with your file (just look e.g. how wav files are handled) - maybe simply add a function

handleFlac() {
  mencoder ....alotofoptions -o $FIFO "$1" 2>/dev/null &
  MPID=$!
}

and insert somewhere at around line 353ff:

flac|FLAC)
  createFifo
  handleFlac "$1"
  startReader
  waitFkt
  ;;


For testing call test.sh with the name of a flac file and pipe the output to some player (e.g. xine).

Regards
Andreas