Impossible to stream FLAC in 24b 96 Khz in OGG

General discussions.

Moderator: moderators

Impossible to stream FLAC in 24b 96 Khz in OGG

Postby Jey » Thu Jul 25, 2013 12:02 pm

Hi,

I have few albums in 24bits and 96 khz.
I use SubSonic 4.8 (build 3434) ( jetty-6.1.x, java 1.7.0_17, Windows 2003 (112,8 MB / 136,6 MB)).
And the last application on Android.

When I start the streaming, all tracks are downloaded in 1s (impossible), and I can't play music.

It's normal ?

This is my encoding parameters for FLAC > OGG
Code: Select all
ffmpeg -i %s -acodec libvorbis -ab %bk -f ogg -


Thanks for your help :)
Jey
 
Posts: 14
Joined: Sun Feb 12, 2012 6:30 pm

Re: Impossible to stream FLAC in 24b 96 Khz in OGG

Postby Jey » Thu Feb 20, 2014 9:56 am

I upgraded the server yesterday with 4.9.
Same problem.

Please, do you have any idea?
Jey
 
Posts: 14
Joined: Sun Feb 12, 2012 6:30 pm

Re: Impossible to stream FLAC in 24b 96 Khz in OGG

Postby lenashou » Thu Mar 06, 2014 7:36 pm

i had the same problem with flac, but also from normal flac files..
so your problem might not be only for 24b/96khz

it seems that the -V 0 command is deprecated on newer ffmpeg build

here is my command line to stream files most file format to OGG

Code: Select all
ffmpeg -i %s -async 1 -ab %bk -vn -ar 44100 -ac 2 -acodec libvorbis -f ogg -


it's sad that there's not an easier way to choose another output than mp3 for mobile app.
depending of you mobile data plan, it's better to choose ogg, and tomorrow opus.
(it would be GREAT if opus decoding was in the mobile app)

-ar 44100 -> convert stream to 44.1khz
-vn -> don't encode video (or remove it)
-ac 2 -> 2 channel (for 5.1 audio files)
-async 1 -> to correct sync pblm, (usefull ?.. hum.. i don't mind.. i should remove it)
lenashou
 
Posts: 4
Joined: Tue Nov 29, 2011 12:05 am

Re: Impossible to stream FLAC in 24b 96 Khz in OGG

Postby daneren2005 » Thu Mar 06, 2014 7:49 pm

The mobile app doesn't control what formats it can play. Your phone does since it uses the default phones playback capabilities.

Sent from my Nexus 5 using Tapatalk
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Impossible to stream FLAC in 24b 96 Khz in OGG

Postby Jey » Thu Mar 13, 2014 10:11 am

It works! thanks :)
Jey
 
Posts: 14
Joined: Sun Feb 12, 2012 6:30 pm


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests