Jump to content

Help test new Android video player


Luke
 Share

Recommended Posts

markshu

I've just about given up on the Android client.  The only thing saving it for me is the play to external player feature, since it's been almost two months since the built-in player has been usable and the latest version has just made things worse.  I've got a couple Lenovo IdeaTabs (both 7" and 10") running Android 4.2.2, and with the move to the internal VLC engine, I get sound but a completely blacked-out display.  I know the server is sending video, since if I auto-rotate I get a single frame of video-in-progress as the system switches orientation, and then the picture blanks out again.  The controls overlay displays just fine, but not the playing video.

 

Before, I had picture-but-no-controls.  Now, I have controls-but-no-picture.  At least play to external player works ...

Edited by markshu
Link to comment
Share on other sites

markshu

what kind of video? are there transcoding logs on the server?

http://192.168.2.170:8096/videos/4b72a747d3d27762f83774876b2008aa/hlsdynamic/main/0.ts?DeviceId=00000000-0000-0000-2f3b-221ef07c58cf&MediaSourceId=4b72a747d3d27762f83774876b2008aa&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=3680002&AudioBitrate=320000&MaxAudioChannels=6&Level=41&ClientTime=635737482233972318&Profile=high&PlaySessionId=181dc7e3c1064c49a4e8c819341594db&api_key=891e98fecd594291af7858103496f240{"Protocol":"File","Id":"4b72a747d3d27762f83774876b2008aa","Path":"\\\\AIKO\\Movies\\mBluRay\\The Consultant [2011]\\The Consultant.mkv","Type":"Default","Container":"mkv","Name":"1080P/H264/AC3","RunTimeTicks":2370880000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"eng","IsInterlaced":false,"BitRate":18001194,"BitDepth":8,"RefFrames":4,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.97602,"RealFrameRate":23.97602,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false,"IsCabac":true},{"Codec":"ac3","Language":"eng","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":640000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"pgssub","Language":"eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":["mkv","webm"],"Bitrate":18001194,"RequiredHttpHeaders":{}}C:\Users\togashi\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150331\ffmpeg.exe -i file:"\\AIKO\Movies\mBluRay\The Consultant [2011]\The Consultant.mkv" -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 3680002 -bufsize 7360004 -vsync vfr -profile:v high -level 41 -force_key_frames expr:gte(t,n_forced*3) -flags +loop-global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 6 -ab 320000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -y "C:\Users\Public\MediaBrowser\transcoding\transcoding-temp\c1d08fee838fceb95097c05684deb1f3.m3u8"ffmpeg version N-71182-g5cba529 Copyright (c) 2000-2015 the FFmpeg developers  built with gcc 4.9.2 (GCC)  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib  libavutil      54. 21.100 / 54. 21.100  libavcodec     56. 32.100 / 56. 32.100  libavformat    56. 27.100 / 56. 27.100  libavdevice    56.  4.100 / 56.  4.100  libavfilter     5. 13.101 /  5. 13.101  libswscale      3.  1.101 /  3.  1.101  libswresample   1.  1.100 /  1.  1.100  libpostproc    53.  3.100 / 53.  3.100[matroska,webm @ 0000000002cd1a20] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle): unspecified sizeConsider increasing the value for the 'analyzeduration' and 'probesize' optionsInput #0, matroska,webm, from 'file:\\AIKO\Movies\mBluRay\The Consultant [2011]\The Consultant.mkv':  Metadata:    title           : The Consultant    encoder         : libmakemkv v1.8.11 (1.3.0/1.4.1) win(x64-release)    creation_time   : 2014-08-04 06:44:52  Duration: 00:03:57.09, start: 0.000000, bitrate: 18001 kb/s    Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)    Metadata:      title           : Surround 5.1    Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle    Stream #0:3: Attachment: mjpeg    Metadata:      filename        : cover.jpg      mimetype        : image/jpeg[libx264 @ 0000000005212300] using SAR=1/1[libx264 @ 0000000005212300] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX[libx264 @ 0000000005212300] profile High, level 4.1Output #0, hls, to 'C:\Users\Public\MediaBrowser\transcoding\transcoding-temp\c1d08fee838fceb95097c05684deb1f3.m3u8':  Metadata:    encoder         : Lavf56.27.100    Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, max. 3680 kb/s, 23.98 fps, 90k tbn, 23.98 tbc    Metadata:      encoder         : Lavc56.32.100 libx264    Stream #0:1: Audio: aac, 48000 Hz, 5.1, fltp, 320 kb/s (default)    Metadata:      encoder         : Lavc56.32.100 aacStream mapping:  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))Press [q] to stop, [?] for helpframe=   95 fps=0.0 q=22.0 size=N/A time=00:00:04.39 bitrate=N/A    frame=  164 fps=159 q=23.0 size=N/A time=00:00:07.27 bitrate=N/A    frame=  228 fps=148 q=24.0 size=N/A time=00:00:10.06 bitrate=N/A    frame=  293 fps=142 q=23.0 size=N/A time=00:00:12.69 bitrate=N/A    frame=  353 fps=137 q=24.0 size=N/A time=00:00:15.21 bitrate=N/A    frame=  409 fps=132 q=23.0 size=N/A time=00:00:17.51 bitrate=N/A    frame=  468 fps=130 q=23.0 size=N/A time=00:00:20.01 bitrate=N/A    frame=  531 fps=129 q=22.0 size=N/A time=00:00:22.61 bitrate=N/A    frame=  593 fps=128 q=23.0 size=N/A time=00:00:25.19 bitrate=N/A    frame=  656 fps=127 q=21.0 size=N/A time=00:00:27.86 bitrate=N/A    frame=  720 fps=127 q=20.0 size=N/A time=00:00:30.57 bitrate=N/A    frame=  781 fps=126 q=23.0 size=N/A time=00:00:33.04 bitrate=N/A    frame=  848 fps=127 q=22.0 size=N/A time=00:00:35.75 bitrate=N/A    frame=  904 fps=125 q=20.0 size=N/A time=00:00:38.16 bitrate=N/A    frame=  955 fps=124 q=29.0 size=N/A time=00:00:40.27 bitrate=N/A    frame= 1018 fps=124 q=22.0 size=N/A time=00:00:42.98 bitrate=N/A    frame= 1084 fps=124 q=21.0 size=N/A time=00:00:45.67 bitrate=N/A    frame= 1148 fps=124 q=21.0 size=N/A time=00:00:48.34 bitrate=N/A    frame= 1216 fps=124 q=20.0 size=N/A time=00:00:51.15 bitrate=N/A    frame= 1283 fps=125 q=23.0 size=N/A time=00:00:53.93 bitrate=N/A    frame= 1350 fps=125 q=21.0 size=N/A time=00:00:56.68 bitrate=N/A    frame= 1413 fps=125 q=20.0 size=N/A time=00:00:59.34 bitrate=N/A    frame= 1476 fps=125 q=22.0 size=N/A time=00:01:02.03 bitrate=N/A    frame= 1540 fps=125 q=20.0 size=N/A time=00:01:04.68 bitrate=N/A    frame= 1604 fps=124 q=23.0 size=N/A time=00:01:07.28 bitrate=N/A    frame= 1667 fps=124 q=24.0 size=N/A time=00:01:09.90 bitrate=N/A    frame= 1730 fps=124 q=21.0 size=N/A time=00:01:12.61 bitrate=N/A    frame= 1796 fps=124 q=22.0 size=N/A time=00:01:15.34 bitrate=N/A    frame= 1858 fps=124 q=23.0 size=N/A time=00:01:18.03 bitrate=N/A    frame= 1921 fps=124 q=22.0 size=N/A time=00:01:20.61 bitrate=N/A    frame= 1987 fps=124 q=23.0 size=N/A time=00:01:23.24 bitrate=N/A    frame= 2047 fps=124 q=22.0 size=N/A time=00:01:25.84 bitrate=N/A    frame= 2109 fps=124 q=22.0 size=N/A time=00:01:28.49 bitrate=N/A    frame= 2174 fps=124 q=24.0 size=N/A time=00:01:31.17 bitrate=N/A    frame= 2237 fps=124 q=22.0 size=N/A time=00:01:33.73 bitrate=N/A    frame= 2297 fps=124 q=23.0 size=N/A time=00:01:36.23 bitrate=N/A    frame= 2361 fps=124 q=22.0 size=N/A time=00:01:38.92 bitrate=N/A    frame= 2424 fps=124 q=20.0 size=N/A time=00:01:41.65 bitrate=N/A    frame= 2484 fps=124 q=21.0 size=N/A time=00:01:44.04 bitrate=N/A    frame= 2545 fps=123 q=23.0 size=N/A time=00:01:46.60 bitrate=N/A    frame= 2606 fps=123 q=24.0 size=N/A time=00:01:49.09 bitrate=N/A    frame= 2666 fps=123 q=22.0 size=N/A time=00:01:51.63 bitrate=N/A    frame= 2725 fps=123 q=21.0 size=N/A time=00:01:54.06 bitrate=N/A    frame= 2784 fps=123 q=20.0 size=N/A time=00:01:56.56 bitrate=N/A    frame= 2845 fps=123 q=21.0 size=N/A time=00:01:59.08 bitrate=N/A    frame= 2904 fps=123 q=23.0 size=N/A time=00:02:01.55 bitrate=N/A    frame= 2967 fps=123 q=23.0 size=N/A time=00:02:04.18 bitrate=N/A    frame= 3032 fps=123 q=22.0 size=N/A time=00:02:06.95 bitrate=N/A    frame= 3087 fps=122 q=22.0 size=N/A time=00:02:09.13 bitrate=N/A    frame= 3140 fps=122 q=23.0 size=N/A time=00:02:11.41 bitrate=N/A    frame= 3201 fps=122 q=23.0 size=N/A time=00:02:13.97 bitrate=N/A    frame= 3265 fps=122 q=23.0 size=N/A time=00:02:16.66 bitrate=N/A    frame= 3325 fps=122 q=21.0 size=N/A time=00:02:19.15 bitrate=N/A    frame= 3379 fps=121 q=22.0 size=N/A time=00:02:21.39 bitrate=N/A    frame= 3433 fps=121 q=24.0 size=N/A time=00:02:23.65 bitrate=N/A    frame= 3490 fps=121 q=24.0 size=N/A time=00:02:26.00 bitrate=N/A    frame= 3546 fps=121 q=24.0 size=N/A time=00:02:28.37 bitrate=N/A    frame= 3605 fps=121 q=23.0 size=N/A time=00:02:30.76 bitrate=N/A    frame= 3661 fps=120 q=22.0 size=N/A time=00:02:33.10 bitrate=N/A    frame= 3718 fps=120 q=24.0 size=N/A time=00:02:35.56 bitrate=N/A    frame= 3778 fps=120 q=21.0 size=N/A time=00:02:37.97 bitrate=N/A    frame= 3836 fps=120 q=24.0 size=N/A time=00:02:40.40 bitrate=N/A    frame= 3912 fps=121 q=18.0 size=N/A time=00:02:43.60 bitrate=N/A    frame= 3982 fps=121 q=22.0 size=N/A time=00:02:46.48 bitrate=N/A    frame= 4044 fps=121 q=24.0 size=N/A time=00:02:49.06 bitrate=N/A    frame= 4100 fps=121 q=22.0 size=N/A time=00:02:51.43 bitrate=N/A    frame= 4161 fps=121 q=23.0 size=N/A time=00:02:54.03 bitrate=N/A    frame= 4225 fps=121 q=23.0 size=N/A time=00:02:56.61 bitrate=N/A    frame= 4288 fps=121 q=23.0 size=N/A time=00:02:59.37 bitrate=N/A    frame= 4357 fps=121 q=22.0 size=N/A time=00:03:02.12 bitrate=N/A    frame= 4420 fps=121 q=23.0 size=N/A time=00:03:04.87 bitrate=N/A    frame= 4489 fps=121 q=22.0 size=N/A time=00:03:07.69 bitrate=N/A    frame= 4566 fps=121 q=18.0 size=N/A time=00:03:10.82 bitrate=N/A    frame= 4642 fps=122 q=18.0 size=N/A time=00:03:14.06 bitrate=N/A    frame= 4728 fps=122 q=19.0 size=N/A time=00:03:17.61 bitrate=N/A    frame= 4815 fps=123 q=18.0 size=N/A time=00:03:21.32 bitrate=N/A    frame= 4903 fps=124 q=21.0 size=N/A time=00:03:25.01 bitrate=N/A    frame= 4991 fps=124 q=22.0 size=N/A time=00:03:28.59 bitrate=N/A    frame= 5082 fps=125 q=21.0 size=N/A time=00:03:32.39 bitrate=N/A    frame= 5176 fps=126 q=20.0 size=N/A time=00:03:36.29 bitrate=N/A    frame= 5272 fps=126 q=19.0 size=N/A time=00:03:40.30 bitrate=N/A    frame= 5364 fps=127 q=22.0 size=N/A time=00:03:44.21 bitrate=N/A    frame= 5459 fps=128 q=22.0 size=N/A time=00:03:48.11 bitrate=N/A    frame= 5555 fps=128 q=25.0 size=N/A time=00:03:52.14 bitrate=N/A    frame= 5658 fps=129 q=18.0 size=N/A time=00:03:56.52 bitrate=N/A    frame= 5684 fps=129 q=-1.0 Lsize=N/A time=00:03:57.09 bitrate=N/A    video:79099kB audio:8195kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown[libx264 @ 0000000005212300] frame I:80    Avg QP:10.71  size: 82498[libx264 @ 0000000005212300] frame P:1876  Avg QP:14.86  size: 23505[libx264 @ 0000000005212300] frame B:3728  Avg QP:16.26  size:  8128[libx264 @ 0000000005212300] consecutive B-frames:  6.5% 15.6%  7.4% 70.4%[libx264 @ 0000000005212300] mb I  I16..4: 54.9% 28.1% 16.9%[libx264 @ 0000000005212300] mb P  I16..4: 12.0%  5.8%  0.6%  P16..4: 30.9%  0.0%  0.0%  0.0%  0.0%    skip:50.7%[libx264 @ 0000000005212300] mb B  I16..4:  1.9%  0.7%  0.0%  B16..8: 14.6%  0.0%  0.0%  direct:11.8%  skip:71.1%  L0:42.8% L1:49.1% BI: 8.1%[libx264 @ 0000000005212300] 8x8 transform intra:30.3% inter:40.6%[libx264 @ 0000000005212300] coded y,uvDC,uvAC intra: 35.2% 65.4% 51.4% inter: 5.8% 13.9% 0.9%[libx264 @ 0000000005212300] i16 v,h,dc,p: 63% 18% 14%  5%[libx264 @ 0000000005212300] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 15% 34%  6%  5%  6%  6%  5%  6%[libx264 @ 0000000005212300] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 24% 12%  7%  6%  7%  6%  6%  6%[libx264 @ 0000000005212300] i8c dc,h,v,p: 54% 19% 19%  8%[libx264 @ 0000000005212300] Weighted P-Frames: Y:4.2% UV:2.8%[libx264 @ 0000000005212300] kb/s:2733.29
Link to comment
Share on other sites

Hi Luke

 

I have 2.3.80, but still when direct stream te external substitles does not appears, when i reduce te quality to for expample 480p to force transcode then the subtitle apears

 

 

regards

 

Version 2.3.84 and still no subtitles when direct stream, only with transcoding

 

regards

Link to comment
Share on other sites

Hi, Luke, any plans to solve the issue when the subtitles only appears when the video is transcoded, and not in directstream

 

I have the same situation in:

 

version app 2.3.84

galaxy S3, android 4.3

And 

Asus nexus 7, android 5.1.1

 

Thankyou

 

regrads

Link to comment
Share on other sites

Yes, for the next release, make sure to participate in the android alpha area.

Link to comment
Share on other sites

pünktchen

Hi Luke,

since the integration of VLC as a player, my Emby app is always crashing to Android home when trying to play a LiveTV stream.

In the app log there is only "vlc exception" without any further information... Do you want the logs anyway?

Link to comment
Share on other sites

Am I too late to join???

 

Certainly not. It has been released so you can report issues based on the release version. 

 

If you'd like to help test pre-release builds, we're participating in google's open beta feature. You can signup here:

 

https://play.google.com/apps/testing/com.mb.android

 

You'll then start getting beta builds. In order to avoid confusion with the users on the release build, please use the Android alpha section at the bottom of the forum to discuss anything related to pre-release builds. Thanks.

Link to comment
Share on other sites

  • 4 weeks later...

Hi Luke,

something very strange happens, when streaming a movie with external subtitle, direct stream:

1) the movie starts playing

2) select the subtitles and displayed properly, everything is perfect, but suddenly,

3) for any reason, the video stutters and is pixelated for w few secconds and then again it playbacks normally

and then it happens

4) automatically disappear subtitles

5) ok well then I select the subtitle option and yes, they are actually "none"

6) After this, again I select the subtitle waiting to appear again, but no, it happens that suddenly stops playing the video

7) when again select "none" the video starts playing and so on

 

This means it can not longer display the subtitles, having to play from the beginning. This is a problematic situation.

 

apparently when playback stutters, something happens with external subtitle stream

 

Appreciate your help

regards

Link to comment
Share on other sites

Try lowering the bitrate setting.

 

Ok I understand that lowering the bitrate we would be avoiding stuttering and therefore avoiding this issue
but the subtitles should continue to work regardless if there is stuttering because of bandwidth problems?
Link to comment
Share on other sites

Does it even matter? A stuttering video is unwatchable anyway. I don't really see how that's worth spending any time dwelling on that.

Link to comment
Share on other sites

Does it even matter? A stuttering video is unwatchable anyway. I don't really see how that's worth spending any time dwelling on that.

 

Luke

 

but if the problem is only a few seconds and then corrected because some network traffic peak, however you think is right down the quality and make the server do transcoding?
I think it would be worth trying to correct this and wait a few seconds of stuttering rather than putting the server to work hard and lose quality
 
Video not stutter all the time, if that were the case, I do agree with you,
the situation is that there are only a few seconds and the problem arises
the video of which we speak is 720p h264 ACC, 800Mb bitrate, nothing problematic
 
in the end anyway I think that regardless of whether the video is stopped for any reason and then continue playing, the operation of the player, in this case with the subtitles, should continue to function normally without reducing the quality of the transmission
 
I think the decrease in video quality should be user's own choice, but should not be linked to a failure of the player.
 
I do not know where the problem lies in this case, but if I could fix it, I would do it without thinking, I think any big or small problem, fix it would be worth to ultimately be the best product of its kind
 
 
Regrads
Link to comment
Share on other sites

Hello again Luke reporting something happens to me on multiple devices with version app 2.4.25

Android 5.1 moto X 2014

Android 4.3 samsung s3

 

Forget the video is stuttering, in this case the video is played perfectly without subtitles

 

This video and subtitle work perfectly in web player, they also work perfectly on other players as plex

I mentioned above to tell you that the video and subtitles are OK

 

This situation happens to all my videos with external subtitle .srt

movie.mp4 (h264) AAC LC audio

movie.spa.srt

 

Once I start to play and select IMMEDIATELY external subtitles, these are deployed well.

but if I pause playback, forward or rewind the video,

Then the subtitles will automatically disappear,

and then, if the subtitles active again, the video stops

if I turn off the subtitles, the video is played again and so

 

Besides if I start to play the video without subtitle and then forward the video

and then, if the subtitles active again, the video stops

if I turn off the subtitles, the video is played again and so

 

I hope this is helpful to solve this problem

Thank you

Link to comment
Share on other sites

Thanks, will test.

 

Luke, thank you very much,
Now, the problem of external subtitles, already fully corrected
I think it was the new version of the server
I thought the problem was with the client.
 
Well, whatever, now everything flows
 
Well, something additional that I think would be very good, is that the subtitles can be larger, especially on smartphones.
 
regrads
Edited by AM S1
Link to comment
Share on other sites

  • 2 weeks later...
Hi Luke,

I am very positively surprised, however, I do not know that this situation is due, as suddenly, when I reproduced a movie with DTS 5.1 audio and also one with 5.1 AC3 audio, video h264 4.1 on a MKV container.

The films are heard and played in direct streaming, Great !!

I use the native player of the Android application.

android 5.1 lolipop in use: MotoX 2014 and Galaxy Tab (S) 8.4

 

You know what is allowing this ?? Emby? or Android?

because as far as I knew, android natively does not support DTS or AC3 or MKV.

Then Emby already supports these audio and video mkv?

 


I would like to know

 

Thank you

Regards

Edited by AM S1
Link to comment
Share on other sites

Both the Android mobile and Android TV apps integrate VLC as their playback engine (when possible) which is what allows us this type of playback.

Link to comment
Share on other sites

Both the Android mobile and Android TV apps integrate VLC as their playback engine (when possible) which is what allows us this type of playback.

Ebr thanks

Excelent!

 

Enviado desde mi XT1097 mediante Tapatalk

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...