I'm unable to get a smooth video playback experience from my XTZ on any of the Nougat ROMs I have tried (LineageOS, crDroid, AOSP-CAF). Video streaming has some quite significant stuttering regardless of source (Netflix, Youtube) and playing local files has the same problem regardless of player app (LineageOS default video player, MX Player). Considering that Netflix streams on this device are not even HD, there should be easily enough processing power to play them without any stutter. Also, I do not recall having these problems on the 5.1.1 stock ROM.
I have already tried clean flashing several different nightlies of the official LineageOS as well as a couple of different unofficial builds of crDroid / AOSP-CAF. All of these produced the same results.
Right below are links to small video files which demonstrate the problem using a simple animation. The three white bars should be moving smoothly from right to left (as they do when I play the video on my PC). Instead, on my XTZ the bars "twitch" or "jump" all the time as if there are frames being dropped or something. The 30fps version should be the smoothest since this device has a 60Hz refresh rate. I would appreciate if someone could test this on 5.1.1 Stock and/or Nougat.
Motion_1080p_23.976fps_High_L4.mp4
Motion_1080p_24fps_High_L4.mp4
Motion_1080p_25fps_High_L4.mp4
Motion_1080p_30fps_High_L4.mp4
BTW, I am not the original author of this animation. I found it as an m2ts file on some other forum and then made the different frame rate versions to mp4 which the default Android players can handle.
For video streaming, i still recommend stock ROM, though it is quite old.
Related
Has anyone experienced video lagging causing audio to fall out of sync? I've been playing a small variety of .mkv files and some lag and others don't. What's most odd is that the largest file I've tried (24 minute 1.15GB, with subs) works fine, while a smaller file (24 minutes, 274MB, with subs) falls out of sync within a minute and doesn't re-sync until I move the playback head.
I've seen that other Android handsets seem to have similar issues, though the solution was usually to re-encode the file at a lower bitrate, but I don't get why a larger file would work fine while a smaller one would have sync problems?
Both video files I'm mentioning here are MPEG4 (h264), but the larger file's audio is Dolby AC3 48000Hz audio while the smaller one is AAC 44100Hz audio. I'm playing the video with mVideoPlayer and the videos are stored on the internal memory.
Edit: I've played the same file side-by-side on my laptop and phone, and it's definitely the video that's lagging.
Sorry for the bump, but I'd really like to know if anyone else is having this problem, or if there's a solution for it. No one else experiencing this problem?
I went back and tested multiple players mentioned here on the boards. I tested every player using the same file, one that lagged in the stock player and in mVideoPlayer. Here's a rundown of my results:
VPlayer: no lag, no matter what combination of settings used
RockPlayer: lags in hardware decoding mode, no lag in software decoding mode but terrible video quality (artifacting everywhere)
MoboPlayer: lags (in hardware decoding mode?), no lag in "default software decoding"
mVideoPlayer: lags
stock player: lags
I don't know what's causing the lag, but it almost seems like the players relying on hardware decoding are mainly the ones that lag. Not all files lag, just certain ones, as mentioned earlier.
usually, the reason why video & audio out of sync is the bitrate and framerate are inconsistent, in this case, i suggest u using a video tool, with the video tool, there are two solutions for you:
1. you can convert mkv to the format that compatibled well by galaxys 2
2. just import the mkv video into the tool, then adjust bitrate and framerate.
i prefer the first way, the second way you need trying many times.
for myself, i use fox real video converter, it has video audio sync technology
Thanks for the suggestions. Part of my decision to buy the GS2 was the fact that it could play large video files without conversion since I don't have the time to constantly re-encode video files. Will probably drop the $4.99 on VPlayer since it's been playing my files well. Still prefer mVideoPlayer tho.
Is there some way to check if a file has inconsistencies between bitrate and framerate as you've mentioned?
I convert MKV files to play on my PS3 with a great tool called mkv2vob. It can convert a 1.5GB movie in about 2 minutes, so I imagine it's not actually encoding at all. I'm just curious as to whether it would solve your problem, especially with it being such a quick and easy app to use.
http://www.mkv2vob.com/showthread.php?tid=1
Giving mkv2vob a shot, but it's taking far longer to convert than 2 minutes. My ~250MB file is about 25% through video transcoding, and I'm already 5 minutes in. Will report back whether it worked or not, but I don't think I'll be doing this for every video that lags.
Okey-dokey, here's what happened with the video file I converted with mkv2vob:
It output an mpg file that was unplayable or problematic in mVideoPlayer, MoboPlayer, Rock Player Lite, and lagged in VPlayer. Encoding/transcoding took about 30 minutes, and the resulting file was 337MB, up from the original's 273MB.
I guess you could say it didn't work out well. I found it interesting hat the file lagged in VPlayer where before the same file played fine before the conversion.
-Tj- said:
Thanks for the suggestions. Part of my decision to buy the GS2 was the fact that it could play large video files without conversion since I don't have the time to constantly re-encode video files. Will probably drop the $4.99 on VPlayer since it's been playing my files well. Still prefer mVideoPlayer tho.
Is there some way to check if a file has inconsistencies between bitrate and framerate as you've mentioned?
Click to expand...
Click to collapse
i don't know how to check the file, when i met this problem, i just import the file into the video tool, by viewing the preview to adjust some parameters
i have the same problem with my neverlocked and unrooted sgs2 running firmware "pda:kf3/phone:kf7": mp4 videos with x264 video codec and AAC VBR audio codec loose audio-video sync. i.e. the video lags behind and you hear people talking before they open their mouth. using xvid4psp 5.0 i experimented with the used audio codec. when recoding the videos to mp4 with x264 video codec and AAC ABR av sync is o.k.. using MP3 as audio codec also works but since AAC is the mp4 standard audio codec i'll stick to that.
and by the way: using another video player like vplayer also works with the problematic AAC VBR videos. since vplayer does software-decoding i suspect a problem with the hardware-decoding layer in combination with certain video/audio codec combinations (like x264 und AAC VBR). the benefits of hardware-accelerated-decoding are better performance and lower battery drain. therefore i want to stick with the stock-video-player (because i asume it is strictly using hardware-accelerated-decoding).
I'm currently running my phone SGH i777 on Unnamed rom v1.3.0, i'm experiencing some problems on video playback on my current rom. The video stutters while playing less than even a second but happens quiet constantly on the phone. I wanted to know is the problem with the hardware of the phone or does the problem exist on this rom.?
pranavvm1992 said:
I'm currently running my phone SGH i777 on Unnamed rom v1.3.0, i'm experiencing some problems on video playback on my current rom. The video stutters while playing less than even a second but happens quiet constantly on the phone. I wanted to know is the problem with the hardware of the phone or does the problem exist on this rom.?
Click to expand...
Click to collapse
No problems here - but it depends on the video. Video that uses certain features that are part of H.264 High Profile can do weird things.
I am on UnNamed 1.3.1 and hadn't tried video playback since I installed so I pulled up Mobo player and tried some movies on my SD card. Movies with dolby digital and two channel AAC would sometimes close as soon as they started although they would play after I tried a few times. Video without dolby digital seemed to play first time. I looked at the Mobo options and turned on "soft decoding". I haven't got a close since then. Video playback is very smooth (32GB class 10 uSD card). My videos were encoded in Handbrake as H.264 using the AppleTV2 setting. I only use AAC for movies that don't have much of a soundtrack.
These were videos .mp4 that i downloaded using tubemate and played them on my phone..In software decoding mode the're working fine in HW dec mode stutter while playing, so does that mean that the default video player on this rom is unable to play back these videos with the support of the hardware..?
I used the latest VEGAn-ge-7.1.0 for the 1.2 bootloader on my gTab with CWM the other day. First time ever flashing a rom and everything went great! The problem I'm having is that the built-in video player in VEGAn will no longer play my mpeg4 movies/TV shows. With the stock ROM on the gTab I never had any problems with the built-in videoplayer OR mVideoplayer. They both worked just fine. Once I flashed VEGAn my movies wont work.
I can only assume it has something to do with hardware acceleration.?.?.?.? I have over 5tb worth of movies and tv shows already ripped from my collection, I will NOT re-encode anything at this point!
99% of what I use my gTablet for is watching movies while I'm at work(I'm on call with lots of down time) I would love to use a better ROM then the crappy TnT stuff Viewsonic shipped this thing with. But I cant NOT be able to play my mpeg4 movie files.
Is there a good ROM that will let my mpeg4's work like the stock ROM does? I dont care about any fancy features or anything in the ROM, I only watch movies on this thing and play the occasional game. But if I had a better ROM I'm sure I'd use this thing for more then what I do now.
My mpeg4 encode settings used in DVDFab are as follows:
848x480 resolution
3000kbps fixed bitrate(less then this movies can get pixelated)
128bit DolbyPrologic2 audio
FastEncoding 1 pass
These are the best settings for mpeg4's that I have found while testing out various settings when I bought the gTab. From the looks of the settings could it be that I need HW accel video playback instead of SW?
Any of the Froyo based roms such as Beastly-Clemsyn (my favorite, very fast and stable), Frankentab, BC, etc all have working hardware acceleration, as does the new ICS beta. You are probably right about the hardware accel. being the problem, this is the same reason I always end up back on a Froyo rom. I have encoded a lot of video that I stream from my main PC, and there is almost always skips, freezes or audio sync problems on roms w/o hardware acceleration.
You can also try on your current rom, MXPlayer and Mobo Player have versions that are optimized for ARM v7 (Gtablet). In the players settings, change from hardware to software video and audio decoding. Most of my videos play alright with MXPlayer on software decoding using CM7, which doesn't have hardware acceleration.
Last, you could try Qloud Media, if you have a pretty fast PC. Qloud will re-encode and stream your video from the PC, optimized for the target device. It works very well on every device I have tried it on, and can even work beyond your network, but it consumes my entire 4 CPU cores in bursts of a few seconds while it is re-encoding, so no intense PC usage while it is running.
Thank you! I'll try and stick with the Froyo based ROM's. I've DL'd quite a few different ROM's but I have yet to install any of them other then the latest VEGAn one.
I bought the (Slimport) nano.console (Analogix) (http://www.analogix.com/en/products/nanoconsole) on Indiegogo a couple of weeks ago so I could play recorded videos directly from the LG V10 onto my Samsung SUHD 4K (JS7000) TV. I was disappointed to see that the video playback was choppy. All ok on the device screen but choppy on the TV. Tried at 1080 p and UHD resolutions at 30 fps. I also tried using Miracast to stream wirelessly over wifi to my Chromecast. It worked. Looked like a bit lower resolution but also choppy. So, I'm thinking this issue is likely NOT with the Slimport. I'm thinking that it's something with the phone.
Anyone have any suggestions to make the video output smoother? I tried alternate video players, such as MX player and VLC player. Same thing. Thanks!
UPDATE 3/15: Heard back from Analogix. They indicate that this problem must be with the phone. They suggested making sure to close out any programs that might be occupying the processor. I did that and things look a little bit smoother. I need to play with this more when I get a minute.
After playing for several hours, long files and long playlist playback regularly gets borked for audio files in any player and for video in the YouTube app. This has happened ever since I got my first Nexus 9, and on all operating systems I've installed since.
Originally, on Lollipop and Marshmallow, audio playback would slow down, like a vinyl record being played too slow.
Nowadays, on Nougat variants, playback speeds up, appearing to skip frames.
A key trigger for this playback deformation seems to be prolonged playback, as in it happens with long files and long playlists which have been playing for several hours.
I'm not sure about the scope of media that's affected by this. I have experienced this with audio files on a near daily basis and it happens with YouTube video as well. I remember it happening with video files in other media players too, in the past, but I am not sure whether that is still an issue as I am watching fewer video files in media player apps these days.
(This has happened for years on two separate Nexus 9 tablets, running Lollipop, Marshmallow, Nougat, CyanogenMod and LineageOS.)
I haven't had any problems with video playback. Usually up to 4.5 hours of video per day. Video files stored locally on device (and sometimes on USB stick via otg) playing with either mxplayer or VLC. Haven't seen slow down or speed up. I don't use YouTube much though so I don't have any feedback there.
Running custom ROMs (since stock is pretty much useless). Dirty unicorns until they stopped development. Then purenexus, slim, and currently aicp.
I'm not sure what the issue is, but it happened from day one and on two separate devices running different OS'ses -- currently stock Nougat and LineageOS.