FORUMS
Remove All Ads from XDA

How to get Network stream/HLS video to seek in MX player

10 posts
Thanks Meter: 0
 
By kmaid, Junior Member on 8th February 2017, 12:37 PM
Post Reply Email Thread
I have MX Mplayer Pro and have been developing some software to work with it. I have video streaming however I cannot get pause and seeking to work which is working in VLC. The headers of my HLS content look like this :

HTTP/1.1 200 OK
X-Powered-By: Express
Accept-Ranges: bytes
Content-Type: video/mp4
transferMode.dlna.org: Streaming
TimeSeekRange.dlna.org: npt=0-8177.905/8177.905
X-AvailableSeekRange: 1 npt=0-8177.905
contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=017000 00000000000000000000000000
Content-Length: 1992052865
Date: Sun, 05 Feb 2017 21:59:37 GMT
Connection: keep-alive

Any advice on how to make this work?
 
 
11th February 2017, 04:19 PM |#2  
Thirumalai.K's Avatar
Recognized Contributor
Thanks Meter: 3,992
 
More
Quote:
Originally Posted by kmaid

I have MX Mplayer Pro and have been developing some software to work with it. I have video streaming however I cannot get pause and seeking to work which is working in VLC. The headers of my HLS content look like this :

HTTP/1.1 200 OK
X-Powered-By: Express
Accept-Ranges: bytes
Content-Type: video/mp4
transferMode.dlna.org: Streaming
TimeSeekRange.dlna.org: npt=0-8177.905/8177.905
X-AvailableSeekRange: 1 npt=0-8177.905
contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=017000 00000000000000000000000000
Content-Length: 1992052865
Date: Sun, 05 Feb 2017 21:59:37 GMT
Connection: keep-alive

Any advice on how to make this work?

Can you collect & share the bug report here..?
Just reproduce the issue. Then open menu » help » bugreport & save it.
14th February 2017, 01:30 AM |#3  
OP Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by ktsamy

Can you collect & share the bug report here..?
Just reproduce the issue. Then open menu » help » bugreport & save it.


s000.tinyupload.com/?file_id=01527781060920754316=

Thanks for your help
15th February 2017, 01:08 AM |#4  
OP Junior Member
Thanks Meter: 0
 
More
I have had a look at the logs produced and it looks like FFMPEG can't detect the duration of the video.

What does FFMPEG lookat/do to workout duration and can the video be altered to contain the duration metadata without transcoding it?

FFMPEG can detect the video bitrate which with content-length header allows duration to be calculated. Is there any chance the developers will implement this?

Thanks for your help,
Kmaid
25th February 2017, 04:47 PM |#5  
OP Junior Member
Thanks Meter: 0
 
More
Just wondering if there is any feedback on this issue :?
5th March 2017, 04:48 PM |#6  
OP Junior Member
Thanks Meter: 0
 
More
Couldn't download the file from the host so here is the main log

Code:
--------- beginning of main
02-13 01:33:35.015 10620 10620 V MX.Screen: onRestart (com.mxtech.videoplayer.pro.ActivityScreen@cf82e42)
02-13 01:33:36.080 10620 10620 V MX.Screen: onStart (com.mxtech.videoplayer.pro.ActivityScreen@cf82e42): video-uri=http://tom-pi3:4000/video.m3u
02-13 01:33:36.415 10620 10620 V MX.Screen: onResume (com.mxtech.videoplayer.pro.ActivityScreen@cf82e42): uri=http://tom-pi3:4000/video.m3u
02-13 01:33:36.595 10620 10632 I art     : Background sticky concurrent mark sweep GC freed 4851(447KB) AllocSpace objects, 5(80KB) LOS objects, 8% free, 7MB/7MB, paused 4.287ms total 102.859ms
02-13 01:33:36.600 10620 10620 I Choreographer: Skipped 94 frames!  The application may be doing too much work on its main thread.
02-13 01:33:36.635 10620 10620 D MX.Screen: === Enter surfaceCreated. holder=android.view.SurfaceView$4@e976c3c _surfaceHolderCreated=null_surfaceView=android.view.SurfaceView{bdb8dc5 V.E..... ......ID 0,0-1920,1080 #7f110034 app:id/surfaceView}
02-13 01:33:36.635 10620 10620 D MX.Screen: === Leave surfaceCreated.
02-13 01:33:36.705 10620 10620 V MX.PlayService: onCreate
02-13 01:33:36.830 10620 10620 I MX.Player.Joint: Creating a joint player. 1st=com.mxtech.media.FFPlayer@1c25f427 2nd=null mix=0
02-13 01:33:36.835 10620 10620 D MX.Player.FF: PrepareAsync()
02-13 01:33:36.835 10620 10620 D MX.Screen: Set fullscreen = false
02-13 01:33:37.010 10620 20809 W *MX.FFmpeg: Format hls,applehttp detected only with low score of 1, misdetection possible!
02-13 01:33:37.435 10620 10632 W art     : Suspending all threads took: 79.050ms
02-13 01:33:37.475 10620 10632 I art     : Background sticky concurrent mark sweep GC freed 9480(513KB) AllocSpace objects, 0(0B) LOS objects, 7% free, 7MB/7MB, paused 109.019ms total 308.398ms
02-13 01:33:37.485 10620 20809 E *MX.FFmpeg: element type mismatch 1 != 0
02-13 01:33:37.565 10620 20809 E *MX.FFmpeg: element type mismatch 1 != 0
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg: Input #0, hls,applehttp, from 'http://tom-pi3:4000/video.m3u':
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg:   Duration: 
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg: N/A
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg: , start: 
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg: 0.000000
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg: , bitrate: 
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg: N/A
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg: 
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg:   Program 0 
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg:     Metadata:
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg:       variant_bitrate : 
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg: 0
02-13 01:33:37.590 10620 20809 I *MX.FFmpeg: 
02-13 01:33:37.595 10620 20809 I *MX.FFmpeg:     Stream #0:0
02-13 01:33:37.595 10620 20809 I *MX.FFmpeg: : Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9]
02-13 01:33:37.595 10620 20809 I *MX.FFmpeg: , 
02-13 01:33:37.595 10620 20809 I *MX.FFmpeg: 30.30 fps, 
02-13 01:33:37.595 10620 20809 I *MX.FFmpeg: 29.75 tbr, 
02-13 01:33:37.595 10620 20809 I *MX.FFmpeg: 1k tbn, 
02-13 01:33:37.595 10620 20809 I *MX.FFmpeg: 59.49 tbc
02-13 01:33:37.595 10620 20809 I *MX.FFmpeg: 
02-13 01:33:37.595 10620 20809 I *MX.FFmpeg:     Stream #0:1
02-13 01:33:37.595 10620 20809 I *MX.FFmpeg: : Audio: aac (HE-AAC), 48000 Hz, stereo, fltp
02-13 01:33:37.595 10620 20809 I *MX.FFmpeg: 
02-13 01:33:37.595 10620 20809 I *MX.FFReader: start-time: 0ms, duration: 0ms
02-13 01:33:37.650 10620 20808 I OMXClient: Using client-side OMX mux.
02-13 01:33:37.650 10620 20808 I +MX.SysVideoDecoder.0: _skipDisorderedFrame:false _rotationDegrees:0
02-13 01:33:37.935 10620 20808 I OMXCodec: [OMX.MTK.VIDEO.DECODER.AVC] AVC profile = 100 (High), level = 41
02-13 01:33:37.935 10620 20808 I OMXCodec: [OMX.MTK.VIDEO.DECODER.AVC] video dimensions are 1280 x 720
02-13 01:33:37.935 10620 20808 I OMXCodec: [OMX.MTK.VIDEO.DECODER.AVC] Crop rect is 1280 x 720 @ (0, 0)
02-13 01:33:37.970 10620 20808 I OMXCodec: [OMX.MTK.VIDEO.DECODER.AVC] OMX-buffers: min=16 actual=8 undeq=1+1
02-13 01:33:37.970 10620 20808 I OMXCodec: [OMX.MTK.VIDEO.DECODER.AVC] OMX-buffers: min=16 actual=20 undeq=4+1
02-13 01:33:38.015 10620 10632 I art     : Background partial concurrent mark sweep GC freed 23454(1502KB) AllocSpace objects, 5(138KB) LOS objects, 39% free, 5MB/9MB, paused 9.686ms total 319.986ms
02-13 01:33:38.115 10620 20808 I +MX.SysVideoDecoder.0: MIME=video/avc video-size=1280x720 frame-time=33.61ms ticks_per_frame=2 profile=100 AVStream::time_base=1/1000(0.001000) codec=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
02-13 01:33:38.130 10620 10620 V MX.Player.Joint: Video size: 1280 x 720
02-13 01:33:38.145 10620 10620 I MX.Player.FF: Info (801,0)
02-13 01:33:38.145 10620 10620 V MX.Player.Joint: 1st prepared. duration=0ms
02-13 01:33:38.175 10620 20808 I *MX.FFAudioDecoder.1: AVStream.time_base=1/1000 first-dts=31ms channels=2 channel-layout=3(0x3) request_channel_layout=0(0x0) codec=AAC (Advanced Audio Coding)
02-13 01:33:38.175 10620 20808 E *MX.FFmpeg: element type mismatch 1 != 0
02-13 01:33:38.215 10620 10620 D MX.AudioFocus: Focus acquired.
02-13 01:33:38.265 10620 10620 V MX.Player.Joint: Start
02-13 01:33:38.265 10620 10620 V MX.Player.Joint: Start 1st player. 1st_position=0 2nd_position=null
02-13 01:33:38.420 10620 20808 I *MX.AudioDevice.OpenSL: numChannels:2 channelMask:3 inputHz:48000hz outputHz:48000hz nativeHz:48000hz buffer-capacity:2048 frames frame-size:4B frame-count:4096 latency:127ms min-buffer-size:16384 low-latency-audio:false
02-13 01:33:38.455 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.srt
02-13 01:33:38.525 10620 20900 E *MX.FFmpeg: element type mismatch 1 != 0
02-13 01:33:38.525 10620 20900 E *MX.FFmpeg: element type mismatch 1 != 0
02-13 01:33:38.530 10620 20900 E *MX.FFmpeg: element type mismatch 1 != 0
02-13 01:33:38.615 10620 20900 E *MX.FFmpeg: element type mismatch 1 != 0
02-13 01:33:38.645 10620 20900 E *MX.FFmpeg: element type mismatch 1 != 0
02-13 01:33:38.690 10620 20900 E *MX.FFmpeg: element type mismatch 1 != 0
02-13 01:33:38.690 10620 20900 E *MX.FFmpeg: element type mismatch 1 != 0
02-13 01:33:38.720 10620 20900 E *MX.FFmpeg: element type mismatch 1 != 0
02-13 01:33:38.885 10620 10620 I MX.Player.FF: Info (3,0)
02-13 01:33:38.895 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.ssa
02-13 01:33:39.515 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.ass
02-13 01:33:39.560 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.sub
02-13 01:33:39.590 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.smi
02-13 01:33:39.600 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.txt
02-13 01:33:39.645 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.idx
02-13 01:33:39.730 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.mpl
02-13 01:33:39.950 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.vtt
02-13 01:33:40.045 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.psb
02-13 01:33:40.105 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.sami
02-13 01:33:40.140 10620 20901 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.pjs
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: Caught unexpected exception while flushing app events: 
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:746)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ConcurrentHashMap.containsKey(ConcurrentHashMap.java:774)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at com.facebook.internal.Utility.queryAppSettings(Utility.java:846)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at com.facebook.appevents.AppEventQueue.buildRequestForSession(AppEventQueue.java:198)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at com.facebook.appevents.AppEventQueue.sendEventsToServer(AppEventQueue.java:164)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at com.facebook.appevents.AppEventQueue.flushAndWait(AppEventQueue.java:133)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at com.facebook.appevents.AppEventQueue$1.run(AppEventQueue.java:68)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
02-13 01:33:51.505 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.lang.Thread.run(Thread.java:818)
02-13 01:35:24.875 10620 20900 I *MX.FFReader: Start buffering.
02-13 01:35:24.875 10620 10620 I MX.Player.FF: Info (701,0)
02-13 01:36:00.640 10620 10620 D MX.AudioFocus: Focus abandoned.
02-13 01:36:00.640 10620 10620 V MX.Player.Joint: Pause
02-13 01:36:00.640 10620 10620 V MX.Player.Joint: Pause 1st player. 1st_position=106276 2nd_position=null
02-13 01:36:00.780 10620 10620 D MX.AudioFocus: Focus acquired.
02-13 01:36:00.780 10620 10620 V MX.Player.Joint: Start
02-13 01:36:00.780 10620 10620 V MX.Player.Joint: Start 1st player. 1st_position=106276 2nd_position=null
02-13 01:36:03.580 10620 20809 E *MX.FFmpeg: Stream ends prematurely at 9437184, should be 945087404
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: Caught unexpected exception while flushing app events: 
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:746)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ConcurrentHashMap.containsKey(ConcurrentHashMap.java:774)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at com.facebook.internal.Utility.queryAppSettings(Utility.java:846)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at com.facebook.appevents.AppEventQueue.buildRequestForSession(AppEventQueue.java:198)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at com.facebook.appevents.AppEventQueue.sendEventsToServer(AppEventQueue.java:164)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at com.facebook.appevents.AppEventQueue.flushAndWait(AppEventQueue.java:133)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at com.facebook.appevents.AppEventQueue$1.run(AppEventQueue.java:68)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
02-13 01:36:15.640 10620 10765 W com.facebook.appevents.AppEventQueue: 	at java.lang.Thread.run(Thread.java:818)
02-13 01:37:44.180 10620 10620 V MX.Screen: onPause (com.mxtech.videoplayer.pro.ActivityScreen@cf82e42): uri=http://tom-pi3:4000/video.m3u
02-13 01:37:44.180 10620 10620 V MX.Player.Joint: Pause
02-13 01:37:44.180 10620 10620 V MX.Player.Joint: Pause 1st player. 1st_position=209672 2nd_position=null
02-13 01:37:44.180 10620 10620 V MX.Database: Open database.
02-13 01:37:44.195 10620 10620 V MX.Database: State saved for 'http://tom-pi3:4000/video.m3u': agc$h@2385e448 [Position=209673 decoder=4 decodeOption=0 audioDecoder=1 audioStream=-1 audioOffset=0 subtitle-offset=0 subtitle-speed=1.0 playback-speed=1.0 ratio=0.0:0.0 zoom=0x0 pan=(0, 0) process=0 subtitle-count=1 repeat=-1 ~ -1] (6ms)
02-13 01:37:44.260 10620 10620 V MX.Screen/Dump: onCreate (com.mxtech.videoplayer.pro.ActivityScreen@3fe7c774)
02-13 01:37:44.260 10620 10620 V MX.Screen/Dump: * data=http://tom-pi3:4000/video.m3u
02-13 01:37:44.260 10620 10620 V MX.Screen/Dump: * type=null
02-13 01:37:44.260 10620 10620 V MX.Screen/Dump: * Package=null
02-13 01:37:44.260 10620 10620 V MX.Screen/Dump: * Component=ComponentInfo{com.mxtech.videoplayer.pro/com.mxtech.videoplayer.ActivityScreen$WebDelegate}
02-13 01:37:44.260 10620 10620 V MX.Screen/Dump: * Flags=268435456
02-13 01:37:44.550 10620 10620 V MX.Database: States read: http://tom-pi3:4000/video.m3u (3ms)
02-13 01:37:44.565 10620 10620 V MX.Screen: onStart (com.mxtech.videoplayer.pro.ActivityScreen@3fe7c774): video-uri=http://tom-pi3:4000/video.m3u
02-13 01:37:44.565 10620 10620 V MX.DeviceUtils: Brightness for com.android.internal.policy.impl.PhoneWindow@2c1d7921: -1.0 --> 0.5
02-13 01:37:44.615 10620 10620 V MX.Screen: onResume (com.mxtech.videoplayer.pro.ActivityScreen@3fe7c774): uri=http://tom-pi3:4000/video.m3u
02-13 01:37:44.815 10620 29829 D MX.Navigator: Can't read directory from http://tom-pi3:4000
02-13 01:37:44.815 10620 29829 D MX.Navigator: adk: HTTP request failed with 404
02-13 01:37:44.815 10620 29829 D MX.Navigator: 	at adi.a(HttpFactory.java:225)
02-13 01:37:44.815 10620 29829 D MX.Navigator: 	at adi.a(HttpFactory.java:110)
02-13 01:37:44.815 10620 29829 D MX.Navigator: 	at agg$d.a(Navigator.java:386)
02-13 01:37:44.815 10620 29829 D MX.Navigator: 	at agg$d.doInBackground(Navigator.java:368)
02-13 01:37:44.815 10620 29829 D MX.Navigator: 	at android.os.AsyncTask$2.call(AsyncTask.java:292)
02-13 01:37:44.815 10620 29829 D MX.Navigator: 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
02-13 01:37:44.815 10620 29829 D MX.Navigator: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
02-13 01:37:44.815 10620 29829 D MX.Navigator: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
02-13 01:37:44.815 10620 29829 D MX.Navigator: 	at java.lang.Thread.run(Thread.java:818)
02-13 01:37:44.865 10620 10718 D mali_winsys: new_window_surface returns 0x3000
02-13 01:37:44.945 10620 10620 D MX.Screen: === Enter surfaceCreated. holder=android.view.SurfaceView$4@289429cc _surfaceHolderCreated=null_surfaceView=android.view.SurfaceView{b9a2415 V.E..... ......ID 0,0-1920,1080 #7f110034 app:id/surfaceView}
02-13 01:37:44.945 10620 10620 D MX.Screen: === Leave surfaceCreated.
02-13 01:37:45.075 10620 10620 D MX.Screen: Set fullscreen = false
02-13 01:37:45.095 10620 10620 I MX.Player.Joint: Creating a joint player. 1st=com.mxtech.media.FFPlayer@171e2fce 2nd=null mix=0
02-13 01:37:45.095 10620 10620 D MX.Player.FF: PrepareAsync()
02-13 01:37:45.105 10620 10620 D MX.Screen: === Enter surfaceDestroyed. holder=android.view.SurfaceView$4@e976c3c _surfaceHolderCreated=android.view.SurfaceView$4@e976c3c_surfaceView=android.view.SurfaceView{bdb8dc5 V.E..... ........ 0,0-1920,1080 #7f110034 app:id/surfaceView}
02-13 01:37:45.110 10620 20899 W art     : Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[29,tid=20899,Native,Thread*=0xb9961dd0,peer=0x32e4b460,"Thread-1113"]
02-13 01:37:45.130 10620 29855 W *MX.FFmpeg: Format hls,applehttp detected only with low score of 1, misdetection possible!
02-13 01:37:45.310 10620 10620 D MX.Screen: === Leave surfaceDestroyed.
02-13 01:37:45.365 10620 10620 V MX.Screen: onSaveInstanceState (com.mxtech.videoplayer.pro.ActivityScreen@cf82e42)
02-13 01:37:45.390 10620 10620 V MX.Screen: onStop (com.mxtech.videoplayer.pro.ActivityScreen@cf82e42): uri=http://tom-pi3:4000/video.m3u
02-13 01:37:45.395 10620 10620 V MX.Player.FF: === Begin closing soft player
02-13 01:37:45.405 10620 20900 W art     : Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[30,tid=20900,Native,Thread*=0xb9a84a08,peer=0x330d20a0,"Thread-1114"]
02-13 01:37:46.415 10620 20808 I *MX.FFReader: End buffering.
02-13 01:37:46.420 10620 20809 W *MX.FFmpeg: Failed to reload playlist 0
02-13 01:37:46.420 10620 20809 E *MX.FFmpeg: Read error
02-13 01:37:46.420 10620 20809 I *MX.FFmpeg: No longer receiving playlist 0
02-13 01:37:46.420 10620 20809 I *MX.FFReader: Reached EOS. [status:-541478725(0xdfb9b0bb) avio_feof():false defaultSourceHasRemainingPackets:false]
02-13 01:37:46.425 10620 20808 W art     : Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[18,tid=20808,Native,Thread*=0xbc2356b8,peer=0x3318e5e0,"Thread-1110"]
02-13 01:37:46.430 10620 10620 V MX.Player.FF: === End closing soft player
02-13 01:37:46.430 10620 10620 D MX.AudioFocus: Focus abandoned.
02-13 01:37:46.445 10620 10620 I Choreographer: Skipped 62 frames!  The application may be doing too much work on its main thread.
02-13 01:37:46.465 10620 20809 W art     : Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[22,tid=20809,Native,Thread*=0xb91336e0,peer=0x33193160,"Thread-1111"]
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: Input #0, hls,applehttp, from 'http://tom-pi3:4000/video.m3u':
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg:   Duration: 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: N/A
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: , start: 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: 0.042667
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: , bitrate: 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: 2162 kb/s
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg:   Program 0 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg:     Metadata:
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg:       variant_bitrate : 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: 0
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg:     Stream #0:0
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: : Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x784 [SAR 1:1 DAR 120:49], 2049 kb/s
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: , 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: 23.98 fps, 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: 23.98 tbr, 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: 24k tbn, 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: 47.95 tbc
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: 
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg:     Stream #0:1
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: : Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 113 kb/s
02-13 01:37:47.015 10620 29855 I *MX.FFmpeg: 
02-13 01:37:47.015 10620 29855 I *MX.FFReader: start-time: 0ms, duration: 0ms
02-13 01:37:47.020 10620 29854 I OMXClient: Using client-side OMX mux.
02-13 01:37:47.020 10620 29854 I +MX.SysVideoDecoder.0: _skipDisorderedFrame:false _rotationDegrees:0
02-13 01:37:47.035 10620 29854 I OMXCodec: [OMX.MTK.VIDEO.DECODER.AVC] AVC profile = 100 (High), level = 41
02-13 01:37:47.035 10620 29854 I OMXCodec: [OMX.MTK.VIDEO.DECODER.AVC] video dimensions are 1920 x 784
02-13 01:37:47.035 10620 29854 I OMXCodec: [OMX.MTK.VIDEO.DECODER.AVC] Crop rect is 1920 x 784 @ (0, 0)
02-13 01:37:47.045 10620 29854 I OMXCodec: [OMX.MTK.VIDEO.DECODER.AVC] OMX-buffers: min=16 actual=8 undeq=1+1
02-13 01:37:47.045 10620 29854 I OMXCodec: [OMX.MTK.VIDEO.DECODER.AVC] OMX-buffers: min=16 actual=20 undeq=4+1
02-13 01:37:47.110 10620 29854 I +MX.SysVideoDecoder.0: MIME=video/avc video-size=1920x784 frame-time=41.7ms ticks_per_frame=2 profile=100 AVStream::time_base=1/24000(0.000042) codec=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
02-13 01:37:47.130 10620 10620 V MX.Player.Joint: Video size: 1920 x 784
02-13 01:37:47.130 10620 10620 I MX.Player.FF: Info (801,0)
02-13 01:37:47.130 10620 10620 V MX.Player.Joint: 1st prepared. duration=0ms
02-13 01:37:47.135 10620 10620 D MX.AudioFocus: Focus acquired.
02-13 01:37:47.140 10620 10620 V MX.Player.Joint: Start
02-13 01:37:47.140 10620 10620 V MX.Player.Joint: Start 1st player. 1st_position=0 2nd_position=null
02-13 01:37:47.145 10620 29854 I *MX.FFAudioDecoder.1: AVStream.time_base=1/48000 first-dts=-43ms channels=2 channel-layout=3(0x3) request_channel_layout=0(0x0) codec=AAC (Advanced Audio Coding)
02-13 01:37:47.180 10620 29854 I *MX.AudioDevice.OpenSL: numChannels:2 channelMask:3 inputHz:48000hz outputHz:48000hz nativeHz:48000hz buffer-capacity:2048 frames frame-size:4B frame-count:4096 latency:127ms min-buffer-size:16384 low-latency-audio:false
02-13 01:37:47.500 10620 10620 I MX.Player.FF: Info (3,0)
02-13 01:37:47.600 10620 10632 I art     : Background sticky concurrent mark sweep GC freed 57098(2MB) AllocSpace objects, 9(144KB) LOS objects, 32% free, 6MB/9MB, paused 2.157ms total 327.463ms
02-13 01:37:47.650 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.srt
02-13 01:37:47.820 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.ssa
02-13 01:37:47.865 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.ass
02-13 01:37:48.525 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.sub
02-13 01:37:48.590 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.smi
02-13 01:37:48.665 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.txt
02-13 01:37:48.735 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.idx
02-13 01:37:48.835 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.mpl
02-13 01:37:48.915 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.vtt
02-13 01:37:49.065 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.psb
02-13 01:37:49.170 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.sami
02-13 01:37:49.295 10620 29980 D MX.Player.RemoteLoader: HTTP `404 Not Found` returned while reading file for http://tom-pi3:4000/video.pjs
02-13 01:37:54.575 10620 10620 V MX.Database: Release database. thread-contexts:0, reference-count:0
02-13 01:37:54.610 10620 10620 I ListPopupWindow: Could not find method setEpicenterBounds(Rect) on PopupWindow. Oh well.
02-13 01:37:55.060 10620 10718 D mali_winsys: new_window_surface returns 0x3000
02-13 01:37:55.945 10620 10620 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
02-13 01:37:55.945 10620 10620 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
02-13 01:37:55.945 10620 10620 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
02-13 01:37:55.945 10620 10620 V MX.Player.Joint: Start
8th March 2017, 05:57 AM |#7  
Thirumalai.K's Avatar
Recognized Contributor
Thanks Meter: 3,992
 
More
Quote:
Originally Posted by kmaid

Couldn't download the file from the host so here is the main log

Hi,
it seems to be file hosted on your local network.. just download the m3u8 file from your browser & attach it here.
It will helpful to get a better insight to the issue. I suspect there are some tags missing in your m3u8 playlist.

MX Player only supports hls compliant playlists.
8th March 2017, 10:20 PM |#8  
OP Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by ktsamy

Hi,
it seems to be file hosted on your local network.. just download the m3u8 file from your browser & attach it here.
It will helpful to get a better insight to the issue. I suspect there are some tags missing in your m3u8 playlist.

MX Player only supports hls compliant playlists.

Code:
#EXTM3U
#EXTINF:-1,Redacted (2016) [1080p]/Redacted.2016.1080p.BluRay.x264-[1080p].mp4
http://tom-pi3:4000/video
Here is a copy of the playlist file. I couldn't find a clear explanation of the file format but i'll look into it further and report back if I find anything. Thank you
9th March 2017, 09:25 AM |#9  
OP Junior Member
Thanks Meter: 0
 
More
I have tried changing the -1 which I thought indicated streaming to the duration of the video in seconds and to zero eg:
Code:
#EXTM3U
#EXTINF:6971,Redacted (2016) [1080p]/Redacted.2016.1080p.BluRay.x264-[1080p].mp4
I can't seem to find a m3u8 specification or example for HLS
13th March 2017, 03:44 AM |#10  
Thirumalai.K's Avatar
Recognized Contributor
Thanks Meter: 3,992
 
More
Quote:
Originally Posted by kmaid

I have tried changing the -1 which I thought indicated streaming to the duration of the video in seconds and to zero eg:

Code:
#EXTM3U
#EXTINF:6971,Redacted (2016) [1080p]/Redacted.2016.1080p.BluRay.x264-[1080p].mp4
I can't seem to find a m3u8 specification or example for HLS

In fact ffmpeg considers it as a live stream as there is no end tag.
Normal playlist should end with #EXT-X-ENDLIST
just put it at the end of the file & check again
14th March 2017, 12:54 AM |#11  
OP Junior Member
Thanks Meter: 0
 
More
Thank you so much. This immediately solved my problem. I was in way too deep and felt sure i was missing something with master playlists with codec, dimension, bandwidth or byte range headers or something . I read most of the spec and https://tools.ietf.org/html/draft-pa...ection-4.3.3.4 suggests it isn't even required and isn't in most of the examples! Thanks again

Kmaid
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes