wma transcoding Ubuntu 10.04 & 9.10

Need help? Post your questions here.

Moderator: moderators

wma transcoding Ubuntu 10.04 & 9.10

Postby daniell » Tue Apr 20, 2010 11:02 am

Running Ubuntu 10.04-9.10 /Tomcat6 /subsonic war, and still have problems to transcode wma and play files. Have tried absolute everything within this forum suggestions. It seems that the files is streams to the webplayer, but it don't starts play. Anybody have a solution !!
daniell
 
Posts: 90
Joined: Fri Nov 13, 2009 6:44 am
Location: Stavanger, Norway

Postby drifter » Tue Apr 20, 2010 8:28 pm

I got a similar setup and had the same problem and after going thru' most of the threads i got it working.

This is what I did. Unfortunately I can't find the original thread.


In /var/subsonic/transcode create a script called wma2mp3 and make it executable.

Code: Select all
#!/bin/bash
ffmpeg -i "$1" -f wav -ab "$2" - 2>/dev/null | /var/subsonic/transcode/lame -b "$2" - -
#


copy ffmpeg and lame from /usr/bin to /var/subsonic/transcode


In Settings>Transcoding

wma > mp3 - wma - mp3 - wma2mp3 %s %b
drifter
 
Posts: 17
Joined: Tue Apr 13, 2010 6:56 pm

wma & mpc, SKALLEBAAAAANK !!!!

Postby daniell » Wed Apr 21, 2010 5:50 am

Thank's drifter. Your scrip work for some of the wma files, well, it's better than notting.. Thnks.
It seem that wma files with 160 Kbps and up will not play, maybe some more tuning needed ??
Same actual goes for the mpc files. It load's the file, but don't starts to play.. Anybody please!!
daniell
 
Posts: 90
Joined: Fri Nov 13, 2009 6:44 am
Location: Stavanger, Norway

Postby daniell » Fri Apr 23, 2010 7:43 am

Seem like most of my wma songs was corrupted,. I was not able to play them in any player at all.. Very strange, they where ok before..
Supermicro Intel(R) Core(TM) i7-3555LE CPU @ 2.50GHz, 4 cores 8gb ram
CentOS Linux 6.6 Server, jetty-6.1.x, java 1.7.0_71, Linux (143,2 MB / 437,5 MB) Subsonic 5.1
Supermicro Intel® Atom™ D510 4gb ram
Sophos Security Gateway UTM /v9
daniell
 
Posts: 90
Joined: Fri Nov 13, 2009 6:44 am
Location: Stavanger, Norway

Postby drifter » Mon May 03, 2010 8:20 pm

I had similar issue with few of my wav files, but I can play them in other players. But subsonic plays my newly converted wav files. I got few wma files but all are in 128kbps. Mean time where did you get this wma files, I am not sure is it possible that they are protected some how?.
drifter
 
Posts: 17
Joined: Tue Apr 13, 2010 6:56 pm

Postby daniell » Fri May 07, 2010 8:23 am

I'll rip't them from Cd's with WMP. They are not playable in ANY player. It's only for the 160 kbps files who don't play..
Supermicro Intel(R) Core(TM) i7-3555LE CPU @ 2.50GHz, 4 cores 8gb ram
CentOS Linux 6.6 Server, jetty-6.1.x, java 1.7.0_71, Linux (143,2 MB / 437,5 MB) Subsonic 5.1
Supermicro Intel® Atom™ D510 4gb ram
Sophos Security Gateway UTM /v9
daniell
 
Posts: 90
Joined: Fri Nov 13, 2009 6:44 am
Location: Stavanger, Norway

Postby daniell » Mon May 24, 2010 7:55 am

Seems like a wma license is missing, when i play the wma files with wmp, it says "Need to download license to play the file".. After that the files plays. But not in Subsonic.. Anybody pls.
Supermicro Intel(R) Core(TM) i7-3555LE CPU @ 2.50GHz, 4 cores 8gb ram
CentOS Linux 6.6 Server, jetty-6.1.x, java 1.7.0_71, Linux (143,2 MB / 437,5 MB) Subsonic 5.1
Supermicro Intel® Atom™ D510 4gb ram
Sophos Security Gateway UTM /v9
daniell
 
Posts: 90
Joined: Fri Nov 13, 2009 6:44 am
Location: Stavanger, Norway

Postby serond » Sat Jul 31, 2010 10:59 am

drifter wrote:I got a similar setup and had the same problem and after going thru' most of the threads i got it working.

This is what I did. Unfortunately I can't find the original thread.


In /var/subsonic/transcode create a script called wma2mp3 and make it executable.

Code: Select all
#!/bin/bash
ffmpeg -i "$1" -f wav -ab "$2" - 2>/dev/null | /var/subsonic/transcode/lame -b "$2" - -
#


copy ffmpeg and lame from /usr/bin to /var/subsonic/transcode


In Settings>Transcoding

wma > mp3 - wma - mp3 - wma2mp3 %s %b


This worked like a charm! Thanks :D
serond
 
Posts: 11
Joined: Tue Mar 30, 2010 7:32 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 19 guests