Subsonic for Android and video playback

Need help? Post your questions here.

Moderator: moderators

Subsonic for Android and video playback

Postby flaresent » Wed Jun 15, 2011 8:52 am

Hi all,

First of all, thanx for a great product.

I'm running the latest version of Subsonic on a Win2003 R2 server, and it works flawlessly on most filetypes. Even mkv files now streams without buffering (after upgrading to the latest ffmpeg build).

I'm having some issues with the Subsonic app for Android however.
And that is probably a setup issue on my hand. When starting a video file, the app launches Opera mini, which halts with a "Connection failed" error.
What do i need to do to get this to work? Do i need to install some additional player app?

I have a Samsung Galaxy S2, on Android 2.3.

Any help appreciated!
flaresent
 
Posts: 3
Joined: Wed Jun 15, 2011 8:32 am

Postby GJ51 » Wed Jun 15, 2011 7:42 pm

Just download the Android app from the Market.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby flaresent » Thu Jun 16, 2011 6:12 pm

Just download the Android app from the Market.


Hm.. What makes you think that i haven't done that? Asking about some problems getting videofiles to play in the app, should be a dead giveaway ;-)
flaresent
 
Posts: 3
Joined: Wed Jun 15, 2011 8:32 am

Postby GJ51 » Thu Jun 16, 2011 6:19 pm

Probably because my app doesn't open the Opera browser.

"halts with a "Connection failed" error. " Are you able to play music? Do you have Flash installed on the phone?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby flaresent » Fri Jun 17, 2011 8:21 am

Well, flash 10.3 is installed.

I've upgraded to the latest app version.

I get two different behaviours in the app. When i "click" on the file directly,
it asks if i want to open the file in the native internet browser, or Opera Mini. Choosing the native browser, i get the flashplayer running in a small window, but fails with "Video not found or access denied".
Opera Mini fails with the mentioned connection error.

If i browse to the folder and "click" the play icon in the top right corner, it open the native mediaplayer on the phone and tries to play the first file in the list. There it throws an exception error: "Media Player error: -4 ..."
or "Prepare failed.."

In the logs i get: Invalid duration specification for ss: %-o

Complete log:

[6/17/11 10:16:48 AM CEST] INFO PlaylistInputStream admin listening to "test\test.avi"
[6/17/11 10:16:48 AM CEST] DEBUG TranscodeInputStream Starting transcoder: [c:\subsonic\transcode\ffmpeg] [-ss] [%-o] [-i] [D:\test\test.avi] [-async] [1] [-b] [1000k] [-s] [624x352] [ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-]
[6/17/11 10:16:48 AM CEST] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) ffmpeg version git-N-30698-g39dbe9b, Copyright (c) 2000-2011 the FFmpeg developers
[6/17/11 10:16:48 AM CEST] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) built on Jun 10 2011 22:10:00 with gcc 4.5.3
[6/17/11 10:16:48 AM CEST] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib --disable-outdev=sdl --pkg-config=pkg-config
[6/17/11 10:16:48 AM CEST] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) libavutil 51. 8. 0 / 51. 8. 0
[6/17/11 10:16:48 AM CEST] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) libavcodec 53. 7. 0 / 53. 7. 0
[6/17/11 10:16:48 AM CEST] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) libavformat 53. 3. 0 / 53. 3. 0
[6/17/11 10:16:48 AM CEST] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) libavdevice 53. 1. 1 / 53. 1. 1
[6/17/11 10:16:48 AM CEST] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) libavfilter 2. 15. 0 / 2. 15. 0
[6/17/11 10:16:48 AM CEST] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) libswscale 0. 14. 1 / 0. 14. 1
[6/17/11 10:16:48 AM CEST] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[6/17/11 10:16:48 AM CEST] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) Invalid duration specification for ss: %-o
flaresent
 
Posts: 3
Joined: Wed Jun 15, 2011 8:32 am

Postby GJ51 » Fri Jun 17, 2011 4:25 pm

Some .avi files can be troublesome. Test your phone on my site listed at the bottom. If your phone works on my site then your problem is either the source file or the transcoding. test the files in the Video folder. There are files formated for mobile that should work over a good 3g connection. Most any of them will work over a decent wifi.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York


Return to Help

Who is online

Users browsing this forum: No registered users and 14 guests