FIXED - Videos no longer play after rooting to Cyanagen 7
Problem Description:
i) I have an HTC Desire S (saga). Before I rooted my phone I was able to play streamed videos with Subsonic in the default browser.
Since rooting my phone and putting Cyanagen mod 7.0.2, when trying to play a video, the browser opens and shows the following:
Video title
Get Flash player
0:00 0:00 500 Kbps
After some troubleshooting outlined below the problem is now as follows:
ii)I now get the JWPlayer, playback controls, only the black box for the video and audio works.
Do I need to compile a newer version of ffmpeg for Subsonic or change the arguments that it gets called with?
Troubleshooting Steps:
i) Tests:
Searched this Forum with no real solutions that I could see.
YouTube videos play fine - video and sound at the same time, no lag.
Installed the VLC for Android beta, no change in symptoms.
Uninstalled, restarted my phone and re installed Subsonic. No change in symptoms.
Tested if Flash is installed using Adobe's article. Flash was not detected.
http://forums.adobe.com/docs/DOC-1338 > http://adobe.ly/wRILS
XDA thread - fix flash 10.3 on CM7 - the Flash plugin folder did not exist, /data/data/com.android.browser/app_plugins.
http://forum.xda-developers.com/showthr ... ?t=1116618
I found this super helpful website online, with a link to all 3 of the Adobe tests, none of which detected Flash.
There was however a link to the Adobe Archive to get the Flash APK, mentioned on the XDA developers site.
http://flashtester.org/
ii) Test after installing the APK: Flash Player 11.1 for Android 2.x and 3.x (11.1.111.43)
Used the Adobe Flash tester to check that Flash is now installed and detected, it is. The Flash video plays and detects it as the version listed above.
Subsonic now loads the JWPlayer,playback controls and has the spinny loading wheel. The sound starts, but there is no video play bacl.
Restarted my phone and retested Subsonic with 3 different videos. See log at the bottom for the detail.
Playback Application and version:
Android Subsonic 3.6
Subsonic Version:
4.7 (build 3105) September 11 2012
Hardware Platform:
Client: HTC Desire S with Cyanagen Mod 7.0.2 (Android version 2.3.7)
Server: Ubuntu 12.04.2 LTS
Java Memory Limit: N/A
Problem Filename: All video files: mp4, mkv, avi.
Output from ffmpeg -i:
N.B. Using sudo, as Subsonic is installed with it's own service account with no log on right to the server (/sbin/nlogin).
$ sudo /var/subsonic/transcode/ffmpeg -i
ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
built on Aug 9 2011 14:18:27 with gcc 4.5.2
configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-version3 --enable-bzlib --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static
libavutil 51. 11. 1 / 51. 11. 1
libavcodec 53. 9. 1 / 53. 9. 1
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 28. 1 / 2. 28. 1
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
/var/subsonic/transcode/ffmpeg: missing argument for option 'i'
Last ten log file lines:
i) N.B. I grep'd the log on the server for the title that I am testing with and it did not appear in the logs when viewed my phone is used, before I installed the Flash APK. I have pasted at the bottom what is shown when I play via Chrome on one of my Windows machines and what I get with the Flash APK Installed.
[3/8/13 12:56:29 AM GMT] WARN JaudiotaggerParser Failed to find cover art tag BLANK
[3/8/13 12:56:37 AM GMT] INFO MediaScannerService Scanned media library with 8000 entries.
[3/8/13 12:56:45 AM GMT] INFO MediaScannerService Scanned media library with 8250 entries.
[3/8/13 12:57:07 AM GMT] INFO MediaScannerService Scanned media library with 8500 entries.
[3/8/13 12:57:25 AM GMT] INFO MediaScannerService Scanned media library with 8750 entries.
[3/8/13 12:58:25 AM GMT] INFO MediaScannerService Scanned media library with 9000 entries.
[3/8/13 12:59:45 AM GMT] INFO MediaScannerService Scanned media library with 9228 entries.
[3/8/13 12:59:45 AM GMT] INFO MediaScannerService Marking non-present files.
[3/8/13 12:59:45 AM GMT] INFO MediaScannerService Marking non-present artists.
[3/8/13 12:59:45 AM GMT] INFO MediaScannerService Marking non-present albums.
[3/8/13 12:59:45 AM GMT] INFO MediaScannerService Completed media library scan.
[3/8/13 12:59:45 AM GMT] INFO PlaylistService Starting playlist import.
[3/8/13 12:59:45 AM GMT] INFO PlaylistService Completed playlist import.
[3/8/13 12:59:45 AM GMT] INFO PlaylistService Starting playlist statistics update.
[3/8/13 12:59:45 AM GMT] INFO PlaylistService Completed playlist statistics update.
Chrome on Windows
[2013-03-07 18:42:41,619] INFO PlayQueueInputStream - admin listening to "BLANK.avi"
[2013-03-07 18:42:41,625] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/mnt/mybook-tv/BLANK.avi] [-async] [1] [-b] [1000k] [-s] [624x352] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[2013-03-07 18:42:41,988] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Input #0, avi, from '/mnt/mybook-tv/BLANK.avi':
With the Flash APK installed
[2013-03-08 01:54:05,136] INFO PlayQueueInputStream - admin listening to "BLANK.mp4"
[2013-03-08 01:54:05,140] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/mnt/mybook-tv/BLANK.mp4] [-async] [1] [-b] [500k] [-s] [428x240] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) built on Aug 9 2011 14:18:27 with gcc 4.5.2
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-version3 --enable-bzlib --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavutil 51. 11. 1 / 51. 11. 1
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavcodec 53. 9. 1 / 53. 9. 1
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavformat 53. 6. 0 / 53. 6. 0
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavdevice 53. 2. 0 / 53. 2. 0
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavfilter 2. 28. 1 / 2. 28. 1
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libswscale 2. 0. 0 / 2. 0. 0
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[2013-03-08 01:54:05,562] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)
[2013-03-08 01:54:05,562] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001)
[2013-03-08 01:54:05,562] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/mybook-tv/BLANK.mp4':
i) I have an HTC Desire S (saga). Before I rooted my phone I was able to play streamed videos with Subsonic in the default browser.
Since rooting my phone and putting Cyanagen mod 7.0.2, when trying to play a video, the browser opens and shows the following:
Video title
Get Flash player
0:00 0:00 500 Kbps
After some troubleshooting outlined below the problem is now as follows:
ii)I now get the JWPlayer, playback controls, only the black box for the video and audio works.
Do I need to compile a newer version of ffmpeg for Subsonic or change the arguments that it gets called with?
Troubleshooting Steps:
i) Tests:
Searched this Forum with no real solutions that I could see.
YouTube videos play fine - video and sound at the same time, no lag.
Installed the VLC for Android beta, no change in symptoms.
Uninstalled, restarted my phone and re installed Subsonic. No change in symptoms.
Tested if Flash is installed using Adobe's article. Flash was not detected.
http://forums.adobe.com/docs/DOC-1338 > http://adobe.ly/wRILS
XDA thread - fix flash 10.3 on CM7 - the Flash plugin folder did not exist, /data/data/com.android.browser/app_plugins.
http://forum.xda-developers.com/showthr ... ?t=1116618
I found this super helpful website online, with a link to all 3 of the Adobe tests, none of which detected Flash.
There was however a link to the Adobe Archive to get the Flash APK, mentioned on the XDA developers site.
http://flashtester.org/
ii) Test after installing the APK: Flash Player 11.1 for Android 2.x and 3.x (11.1.111.43)
Used the Adobe Flash tester to check that Flash is now installed and detected, it is. The Flash video plays and detects it as the version listed above.
Subsonic now loads the JWPlayer,playback controls and has the spinny loading wheel. The sound starts, but there is no video play bacl.
Restarted my phone and retested Subsonic with 3 different videos. See log at the bottom for the detail.
Playback Application and version:
Android Subsonic 3.6
Subsonic Version:
4.7 (build 3105) September 11 2012
Hardware Platform:
Client: HTC Desire S with Cyanagen Mod 7.0.2 (Android version 2.3.7)
Server: Ubuntu 12.04.2 LTS
Java Memory Limit: N/A
Problem Filename: All video files: mp4, mkv, avi.
Output from ffmpeg -i:
N.B. Using sudo, as Subsonic is installed with it's own service account with no log on right to the server (/sbin/nlogin).
$ sudo /var/subsonic/transcode/ffmpeg -i
ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
built on Aug 9 2011 14:18:27 with gcc 4.5.2
configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-version3 --enable-bzlib --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static
libavutil 51. 11. 1 / 51. 11. 1
libavcodec 53. 9. 1 / 53. 9. 1
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 28. 1 / 2. 28. 1
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
/var/subsonic/transcode/ffmpeg: missing argument for option 'i'
Last ten log file lines:
i) N.B. I grep'd the log on the server for the title that I am testing with and it did not appear in the logs when viewed my phone is used, before I installed the Flash APK. I have pasted at the bottom what is shown when I play via Chrome on one of my Windows machines and what I get with the Flash APK Installed.
[3/8/13 12:56:29 AM GMT] WARN JaudiotaggerParser Failed to find cover art tag BLANK
[3/8/13 12:56:37 AM GMT] INFO MediaScannerService Scanned media library with 8000 entries.
[3/8/13 12:56:45 AM GMT] INFO MediaScannerService Scanned media library with 8250 entries.
[3/8/13 12:57:07 AM GMT] INFO MediaScannerService Scanned media library with 8500 entries.
[3/8/13 12:57:25 AM GMT] INFO MediaScannerService Scanned media library with 8750 entries.
[3/8/13 12:58:25 AM GMT] INFO MediaScannerService Scanned media library with 9000 entries.
[3/8/13 12:59:45 AM GMT] INFO MediaScannerService Scanned media library with 9228 entries.
[3/8/13 12:59:45 AM GMT] INFO MediaScannerService Marking non-present files.
[3/8/13 12:59:45 AM GMT] INFO MediaScannerService Marking non-present artists.
[3/8/13 12:59:45 AM GMT] INFO MediaScannerService Marking non-present albums.
[3/8/13 12:59:45 AM GMT] INFO MediaScannerService Completed media library scan.
[3/8/13 12:59:45 AM GMT] INFO PlaylistService Starting playlist import.
[3/8/13 12:59:45 AM GMT] INFO PlaylistService Completed playlist import.
[3/8/13 12:59:45 AM GMT] INFO PlaylistService Starting playlist statistics update.
[3/8/13 12:59:45 AM GMT] INFO PlaylistService Completed playlist statistics update.
Chrome on Windows
[2013-03-07 18:42:41,619] INFO PlayQueueInputStream - admin listening to "BLANK.avi"
[2013-03-07 18:42:41,625] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/mnt/mybook-tv/BLANK.avi] [-async] [1] [-b] [1000k] [-s] [624x352] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[2013-03-07 18:42:41,988] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Input #0, avi, from '/mnt/mybook-tv/BLANK.avi':
With the Flash APK installed
[2013-03-08 01:54:05,136] INFO PlayQueueInputStream - admin listening to "BLANK.mp4"
[2013-03-08 01:54:05,140] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/mnt/mybook-tv/BLANK.mp4] [-async] [1] [-b] [500k] [-s] [428x240] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) built on Aug 9 2011 14:18:27 with gcc 4.5.2
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-version3 --enable-bzlib --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavutil 51. 11. 1 / 51. 11. 1
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavcodec 53. 9. 1 / 53. 9. 1
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavformat 53. 6. 0 / 53. 6. 0
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavdevice 53. 2. 0 / 53. 2. 0
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavfilter 2. 28. 1 / 2. 28. 1
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libswscale 2. 0. 0 / 2. 0. 0
[2013-03-08 01:54:05,154] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[2013-03-08 01:54:05,562] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)
[2013-03-08 01:54:05,562] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001)
[2013-03-08 01:54:05,562] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/mybook-tv/BLANK.mp4':