Related
In particular MKV files.
I have noted that if I playback an 720p MKV with AC3/DTS sound the video plays perfectly fluid. No microjudder or frame drops AFAIK. But there is no sound of course because the inbuilt player does not support AC3/DTS natively.
However add AAC 2.0 audio into the file (MKV or MP4 container it matters not) I see judder. Kinda like when you have 23.976FPS playing on a 50Hz PAL CRT.
I have tried muxing at various framerates and interestingly the judder gets faster the higher the FPS. Very odd.
I'm used to dealing with AV stuff as I use MPC-HC/ReClock/MadVR etc to my HDTV over HDMI (BTW my Panasonic G20 Plasma does not recognise the TF HDMI output. My PC monittor does however so the TF is outputting in an unsupported res/Hz for my HDTV obviously).
It's puzzling me how when the TF does not have to playback audio the video is perfect but as soon as it has to decode audio it throws a wobbly.
The other interesting thing of note is that Youtube vids at 720p and even 1080p (Big Buck Bunny for instance) play just fine. Methinks that Flash is optimized to the Tegra 2 chip whilst the inbuilt TF player (and all the other players) are not. Moboplayer, Vplayer etc are all a bit crap at it. There is one player called LittlePlayer which gives the option of hardware playback but it is no better than the inbuilt player as it does not decode AC3/DTS and it too judders when AAC audio is played.
Anyone got a clue why this is the case? I was wondering if it was a UK specific issue (would not put it past Asus to make it PAL centric) but then why would it play a 23.976FPS 720p x264 in MKV perfectly (sans audio obviously)?
Yeah I have a 720p mkv and it plays a little off with the sound but I play a higher quality move still at 720p and the sound is like a second off. And the 1080p vids I have don't play at all. What app do you use to play your videos?
Sent from my Transformer TF101 using XDA Premium App
you must be doing something wrong with the muxing or the avc stream you ended up with is not extracted properly.
I encode movies with x264 (commandline), encode the audio with neroaacen(lc, cbr, 128kbit) and mux them with mp4box. The file plays perfectly with the built-in player, meridian or rockplayer in hardware decoding mode.
Most mkv TV series I can extract th evideo stream from and use it, but not all. Some use too many reference frames while encoding and the TF can't handle it.
X264 profile high, level 4.1, preset veryfast or medium. No other options except quality level ((crf 20 or 21 I use mostly).
I've tried MKVToolnix for straight muxing. A simple MKV to MP4 prog without reencoding called mkvavi2mp4. Handbrake (Used settings suggested on this forum). I've also tried some test clips from various sites. All of them judder when audio is being decoded. I am not talking about HUGE judder. I am talking about very small judder. The video is not 100% fluid. Some may not even notice it. I do because I am always messing with progs like ReClock and MadVR in order to get perfect 24p playback to an HDTV. I am also susceptible to phosphor lag, any audio sync issues and other annoyances. I am Mr Super Anal when it comes to perfect playback and have color calibrated all my displays with a colorimeter
But I digress.
If I play Big Buck Bunny 1080p in Youtube or in the default browser it plays fluid (well enough not to be annoying). Now if I rip that same Youtube clip down to my hard disk. Copy it to the TF and play it in ANY player (Moboplayer - with or without codecs packs, Rockplayer, Vplayer, Littleplayer or the inbuilt player) it will not play it without stuttering. What the hell is that all about? Flash player is better at video playback on the TF than Honeycombs implementation? Quite.
I wish I could figure out a way to load the MP4 files in Flash through the browser. I tried file://path to MP4 and it did not work.
If anyone knows a way to do that I would be interested. Maybe I should setup a web server on my PC and stream everything in Flash
P.S. If you wish I can provide you with two sample MKV's. One with audio the other without and you can directly compare the two and post your results. I see small juddering on the clip with audio muxed in every time.
The Youtube app is not using Flash. If it was, Youtube wouldn't play on the iPhone or iPad, and it most certainly wouldn't have played on Android devices before Android 2.2. If you want to see true Flash performance so far, load up Hulu and see if you can get a 480p stream to play acceptably. Edit: Since you mention the UK though, I probably shouldn't assume you're in the US. If that's the case, just load up any Flash-based video player besides Youtube. Sometimes it helps to set your user agent to Desktop, too.
The Youtube app is actually using HTML5, with videos encoded in H.264/MPEG-4 AVC and stereo AAC. The maximum bitrates supported are 5 Mbit/s and 152 kbps, respectively. You need to bear in mind too that by playing videos through the browser, the servers will recognize the device you're playing from and compress and optimize the stream accordingly. A full 1080p video at 5 Mbit/s would take forever to buffer on a tablet, so it's highly unlikely that you're getting the full quality over the network stream. Locally-stored videos, however, are free to be downloaded and played in their maximum quality, so it's understandable that you may see some stutter on large files.
deadman3000 said:
I've tried MKVToolnix for straight muxing. A simple MKV to MP4 prog without reencoding called mkvavi2mp4. Handbrake (Used settings suggested on this forum). I've also tried some test clips from various sites. All of them judder when audio is being decoded. I am not talking about HUGE judder. I am talking about very small judder. The video is not 100% fluid. Some may not even notice it. I do because I am always messing with progs like ReClock and MadVR in order to get perfect 24p playback to an HDTV. I am also susceptible to phosphor lag, any audio sync issues and other annoyances. I am Mr Super Anal when it comes to perfect playback and have color calibrated all my displays with a colorimeter
But I digress.
If I play Big Buck Bunny 1080p in Youtube or in the default browser it plays fluid (well enough not to be annoying). Now if I rip that same Youtube clip down to my hard disk. Copy it to the TF and play it in ANY player (Moboplayer - with or without codecs packs, Rockplayer, Vplayer, Littleplayer or the inbuilt player) it will not play it without stuttering. What the hell is that all about? Flash player is better at video playback on the TF than Honeycombs implementation? Quite.
I wish I could figure out a way to load the MP4 files in Flash through the browser. I tried file://path to MP4 and it did not work.
If anyone knows a way to do that I would be interested. Maybe I should setup a web server on my PC and stream everything in Flash
P.S. If you wish I can provide you with two sample MKV's. One with audio the other without and you can directly compare the two and post your results. I see small juddering on the clip with audio muxed in every time.
Click to expand...
Click to collapse
Shoot them over
http://www.mediafire.com/?gp3bumw7qy9mppm
Check the panning of each. One has AAC audio the other not. Use the default inbuilt video player of the TF (Should offer if you click on the files if you have other players installed). The one without audio plays perfectly smooth on my TF. The one with audio has slight juddering.
deadman3000 said:
If I play Big Buck Bunny 1080p in Youtube or in the default browser it plays fluid (well enough not to be annoying).
Click to expand...
Click to collapse
Just to clarify: You are talking about viewing youtube via the default _web_ browser, setting your user agent such that you get the desktop site and using the flash plugin to play the video? Rather then using the mobile youtube web site or using the built in youtube app?
FYI of your two clips the one without audio plays smoothly in the _default_ player and the one with audio chokes with "This video cannot be played" (This is assuming you tack ".mp4" onto the file names to fool the default media player into trying to play it)
Interesting... I just re-encoded the audio _only_ ("-vcodec copy -acodec libmp3lame" in ffmpeg) and that plays smoothly.
Now mp3 audio isn't part of the mp4 container spec so you'll only get away with it in an mkv container (its flexibility is one of the things that makes matroska difficult to parse)
Ah... the video is High profile at 3.8Mbps that pretty much on the limit of what the tegra2 can do at the moment (I'd say it over it actually) so I'd say that the addition of a complex (relative to mp3) audio track is just too much.
I bet if you re-encoded that video to baseline at the same bitrate and copied the audio stream it would play fine, its just at the max computation threshold.
sub'd... I want to see what you guys are doing, I'd really like to play at least 720p peacefully.
I've tried reencoding using Handbrake and get similar results. Jerky playback with audio. Smooth without. It's like small juddering every quarter second or so. Ignore the web playback that's already been explained that it's HTML5 and is not sending me the full 1080p stream anyhow.
In fact. If someone can send me a 720p video clip with audio that they say plays 100% smooth on their TF I could see if it's not 100% smooth here. If not (as I suspect it won't be) then it's either my TF has issues. Your eyesight is not picking it up or I am going nuts
deadman3000 said:
I've tried reencoding using Handbrake and get similar results. Jerky playback with audio. Smooth without. It's like small juddering every quarter second or so. Ignore the web playback that's already been explained that it's HTML5 and is not sending me the full 1080p stream anyhow.
In fact. If someone can send me a 720p video clip with audio that they say plays 100% smooth on their TF I could see if it's not 100% smooth here. If not (as I suspect it won't be) then it's either my TF has issues. Your eyesight is not picking it up or I am going nuts
Click to expand...
Click to collapse
try this: http://forum.xda-developers.com/showthread.php?t=1060825
I am using the same profile settings in handbrake (high profile) and ALL my videos are really smooth! and YES...I did have judder/stutter before. download the sample files and you can test it on your TF.
the ONLY downside is that handbrake takes a while to encode but its worth it!
hope this helps.
..........
While I agree that, officially, Honeycomb doesn't support the mkv container. It must be able to parse it as it does support WebM and that uses the matroska container.
http://dl.dropbox.com/u/6553908/with_audio_mp3.mkv
This is the same video stream but with the audio re-encoded to mp3, plays nicely for me in the default video player it I tack ".mp4" on the end to fool the player into trying to play it.
I don't stream but everything e.mote said about hinting is spot on, also you may want to look at interleaving (a feature of the muxing that MP4Box can do) is you want to stream.
earlyberd said:
A full 1080p video at 5 Mbit/s would take forever to buffer on a tablet, so it's highly unlikely that you're getting the full quality over the network stream.
Click to expand...
Click to collapse
Way too generalized. I have a Playbook and it plays 1080p Youtube in the browser flawlessly.
I played The Cape clip from the example Handbrake settings thread. The clip plays with micro judder like every other clip with sound. I am now using a Prime 1.4 rooted not the stock firmware and it still does it. It is like frame drop every half or quarter second. If you have ever seen NTSC 23.976FPS played back on a PAL 50Hz CRT TV you will know what it looks like. It is very obvious on pans.
Surely I cannot be the ONLY person who can see this??? Are your eyes really that bad?
EDIT: Tried the MP3 version you provided. Still there. You can count the judder. Tick tick tick tick... every quarter second.
EDIT2: I guess the only way to demonstrate this to you guys is by way of a video of it along with some audio prompting from me to point it out to you (excuse the d(t)icks). You will notice that the audio drops out for some reason during playback but when it does the video plays buttery smooth. No idea why the audio drops out. I was playing back the MP3 muxed version from the link above using Moboplayer but this problem - the juddering - occurs with any player I have tried. The juddering happens on every single video I have tested it on when it is decoding audio.
http://www.youtube.com/watch?v=oXfdQP8BtEA
I will restate however. Yotube playback looks much smoother than playing a file from the inbuilt flash memory or SD cards.
I am having the same problem as you and I see the judder on these clips as well. I posted my issues in the encoding guide thread:
http://forum.xda-developers.com/showthread.php?t=1060825&page=9
It has nothing to do with the overall bitrate rate as many of my samples are <2,000 kbps, and just like you, if I remove the AAC audio, video is silky smooth. I assume it's just a software issue that should be able to be resolved, but I guess we'll see...
e.mote said:
BTW, if you recoded the clip, then I suggest using better settings. The settings used are excessive. When facing a device with marginal playback, there is less tolerance for bad encodes. If you're anal about playback, then you should be equally anal about your encode settings.
Click to expand...
Click to collapse
Thanks for that. But since your video judders just like every other clip that means diddly squat. I don't see why I should have to reencode every video I have in order for it to playback on the TF either. It should be able to handle 720p at least. It does play it but only plays it smoothly with no audio playback whatsoever.
bartleyg82 said:
I am having the same problem as you and I see the judder on these clips as well. I posted my issues in the encoding guide thread:
http://forum.xda-developers.com/showthread.php?t=1060825&page=9
It has nothing to do with the overall bitrate rate as many of my samples are <2,000 kbps, and just like you, if I remove the AAC audio, video is silky smooth. I assume it's just a software issue that should be able to be resolved, but I guess we'll see...
Click to expand...
Click to collapse
Phew! Thanks for chimeing in! I am glad it's not just me. Do you live in the UK perchance? If not that would rule out any UK specific reasons.
Nope, I'm in the US. My TF is also running Prime 1.4. I've tried the "stock" kernel and the OC kernel and the problem is the same with both. I didn't think to test video before rooting and installing Prime, so I can't vouch for whether or not it happens on completely stock HC 3.1
deadman3000 said:
http://www.youtube.com/watch?v=oXfdQP8BtEA
.
Click to expand...
Click to collapse
How... what...
Are you serious? I see literally no issue. Either my eyes or your camera, one of the two can't pick up this judder. And I did notice the compression in the better encode offered here (text, grappling hooks, lasers, pretty much anything like that. Not a bad result, but clearly visible)
Sent from my GT-P1000 using Tapatalk
Hey all;
So, I've had my Eee Pad for a few months now. Absolutely love it. One of the things that I'm aiming to do, is movie playback for road trips. Myself or my wife (whoever is passenger) can watch a movie, while streaming the audio through the car via Bluetooth (FordSync).
I had converted a couple of movies from HD MKVs (720p and 1080p) to MP4 for playback on my tablet using Handbrake and they played fine. Even HD (720p) music videos I've ripped from YouTube playback OK once converted, however any of my 420p (DVD) rips don't want to playback properly. The video is 2-4 times faster than it should be. I've Googled, and even done some searching on these forums, but the threads regarding fast video playback didn't apply to the Eee Pad.
I'm still on stock ROM, but updated to the latest one (3.1 I think it is). I've tried the built in video player, as well as a couple of others (current one installed is mVideoPlayer).
My Handbrake settings are as follows:
Picture
Keep Aspect Ratio
Anamorphic: None
Modulus: 16
Video Filters
All off
Video
Video Coded: H.264 (x264)
Framerate (FPS): Same as source
(Video)Quality
Avg Bitrate (kbps): 2200
Audio
Audio Coded: AAC (faac)
Mixdown: Stereo
Sample Rate: Auto
Bitrate: 160
DRC: 0.0
Advanced
Encoding
Reference Frames: 1
Maximum B-Frames: 0
Analysis
Motion Estimation Method: Uneven Multi-Hexagon
Subpixel ME & Mode Decision: 6: RD in I/P-frames
Motion Estimation Range: Default (16)
If the video has a 1080 resolution, I usually bring it down to 720 as it plays back better. If its an SD film, I leave the resolution/aspect ratio to whatever the video is encoded as.
Any help is greatly appreciated!!
Some things to try:
Go here build.handbrake.fr and download the latest SVN Handbrake GUI (Not CLI) and install it. It's possible that it is a bug in the latest official version that has been fixed.
Second, rather than using your own settings which may have inadvertently switched some switch - use the High Profile preset and encode this way. It should be automatic, but use Constant Quality = 20 instead of average bit rate as well. These are settings that are known working on mine and other devices.
Try that and report back.
sassafras
How are you ripping the DVDs? If you're just re-converting the .VOB files, that might be the cause depending on if Handbrake can properly read the d2v info embed in VOB files and properly inverse-telecine the DVDs. This will explain why seems to play 2x faster as the timecode is not read properly by handbrake.
sassafras_ said:
Some things to try:
Go here build.handbrake.fr and download the latest SVN Handbrake GUI (Not CLI) and install it. It's possible that it is a bug in the latest official version that has been fixed.
Second, rather than using your own settings which may have inadvertently switched some switch - use the High Profile preset and encode this way. It should be automatic, but use Constant Quality = 20 instead of average bit rate as well. These are settings that are known working on mine and other devices.
Try that and report back.
sassafras
Click to expand...
Click to collapse
I did 4 movies, one I ripped myself, the other 3 I've had for years which I downloaded. Aside from some granyness in the videos now (I'm going to re-try with the 2-pass encode) they played perfectly. Thank you!!
frosty5689 said:
How are you ripping the DVDs? If you're just re-converting the .VOB files, that might be the cause depending on if Handbrake can properly read the d2v info embed in VOB files and properly inverse-telecine the DVDs. This will explain why seems to play 2x faster as the timecode is not read properly by handbrake.
Click to expand...
Click to collapse
Once I ripped the movie using AnyDVD, I'd throw it in to Handbrake and use the HighProfile setting. I'd set the aspect ratio to be the same as that of the movie, 2-pass encode with a turbo first pass, set the audio to be the 5.1 track as passthrough, no chapters, and the rest of the settings as the default for the profile. The original ripped videos play fine on my PC, and even the re-encoded ones played fine as well.
Is there any way to record videos at, say 500fps? Slow-Motion apps available on Google Play are not at all genuine - all they do is reduce the FPS of any video to give a slow playback rate. Can the 30 FPS limit be changed anyhow to enable smooth slow-motion video recording??
Basically I am wondering if there is a way to modify video file metadata or something to have the Google Photos app show the show motion controls on videos that weren't recorded in slow motion.
I think this should be possible because the way Google Photos deals with slow motion files, it plays the slow motion selected section in 1x and speeds up the non selected section.
I have a ZTE Axon 7 which records in slow motion. The slow motion is recorded at various frame rates, however the resulting file is always 25fps.
Meaning if I record 5 seconds on 4x, I get a 20 second 25 fps file, 8x I get a 40 second 25 fps file etc.
If I copy this file to a PC it appears to be a normal 25 fps video file, but something in it is telling the Google Photos app that it was recorded in slow motion and that the app should display the special show motion slider controls. I'm thinking there's some metadata in the file giving it this info, what is the data, or 'slow motion flag', and can it be inserted into a different video file?
I have a slow motion recorded video file I can upload for somebody to inspect for flags or metadata, but I am too new to post a link.
I am also wondering if you copy the unedited slow motion .mp4 out of one phone into a different phone if you still get the slow motion sliders in Google Photos on the destination phone.
How can I modify a video file not recorded in slow motion to show the slow motion controls in the Google Photos app? How does the Photos app 'know' a file is 'slow motion' (when really it appears to be just a normal 25fps video file)?
Thanks!
Hello.
Yesterday I've got a gimbal and started to test it out. I went out of the home, started to record some footage with [email protected] Then I came back to home to see how good the gimbal is.
The gimbal was good, but unfortunately video frame rate wasn't at all. Stuttering was very visible, that effect destroys everything (if you are gamer, you know what I'm talking about).
Later, I've checked the parameters via MediaInfo app. I was stunned that minimum frame rate @60fps was only 29.20 and @30FPS only ~7FPS! (resolution doesn't matter - the same results at 1080p and 4k)
I have additional iPhone SE, which minimum framerate @60fps (up to 1080p resolution) was 54.545 and @30FPS 28.571.
Do you have the same results? Why there are such FPS drops?
marjanoos said:
Hello.
Yesterday I've got a gimbal and started to test it out. I went out of the home, started to record some footage with [email protected] Then I came back to home to see how good the gimbal is.
The gimbal was good, but unfortunately video frame rate wasn't at all. Stuttering was very visible, that effect destroys everything (if you are gamer, you know what I'm talking about).
Later, I've checked the parameters via MediaInfo app. I was stunned that minimum frame rate @60fps was only 29.20 and @30FPS only ~7FPS! (resolution doesn't matter - the same results at 1080p and 4k)
I have additional iPhone SE, which minimum framerate @60fps (up to 1080p resolution) was 54.545 and @30FPS 28.571.
Do you have the same results? Why there are such FPS drops?
Click to expand...
Click to collapse
The only problem I've noticed with video is that I can't play 4K60fps on my computer in WMP, gonna contact OP6 support about it. Here is the description of my problem, posted yesterday:
https://forum.xda-developers.com/oneplus-6/help/strange-4k60fps-video-file-t3848611
mzsquared said:
The only problem I've noticed with video is that I can't play 4K60fps on my computer in WMP, gonna contact OP6 support about it. Here is the description of my problem, posted yesterday:
https://forum.xda-developers.com/oneplus-6/help/strange-4k60fps-video-file-t3848611
Click to expand...
Click to collapse
Could you check your parameters, please? Min framerate especially?
marjanoos said:
Could you check your parameters, please? Min framerate especially?
Click to expand...
Click to collapse
The frame rates in my videos seem fine, only about 2-3fps below the nominal and, by the way, I've gotten a response from OP1 support in regard to my problem: it's a known problem, the WMP just can't play high fps videos. That's ok, I like VLC player, it has more features.
And you've checked it with some software?
marjanoos said:
And you've checked it with some software?
Click to expand...
Click to collapse
No, just by right clicking on the file >Properties>Details
mzsquared said:
No, just by right clicking on the file >Properties>Details
Click to expand...
Click to collapse
It's not measureable because it's only average FPS. If you have MediaInfo software, it will show you minimum frame rate which is the most crucial for smoothness.
marjanoos said:
It's not measureable because it's only average FPS. If you have MediaInfo software, it will show you minimum frame rate which is the most crucial for smoothness.
Click to expand...
Click to collapse
Right, the playback fps which is related to the video player processing abilities, if the video player can't handle it then it drops fps. But the overall recorded video fps rate is written in those file details, it's all up to the playback device to handle that speed, just like having inadequate GPU for advanced video games, you can't blame the game itself for slowing down and skipping. My 60fps videos are fine, I just wrongly confused myself thinking that there's something wrong with my phone, no, it was the WMP player - the VLC handles the 4k60 with ease.
Now, do you see a jittery playback while viewing it on your phone screen alone?
mzsquared said:
Right, the playback fps which is related to the video player processing abilities, if the video player can't handle it then it drops fps. But the overall recorded video fps rate is written in those file details, it's all up to the playback device to handle that speed, just like having inadequate GPU for advanced video games, you can't blame the game itself for slowing down and skipping. My 60fps videos are fine, I just wrongly confused myself thinking that there's something wrong with my phone, no, it was the WMP player - the VLC handles the 4k60 with ease.
Now, do you see a jittery playback while viewing it on your phone screen alone?
Click to expand...
Click to collapse
My CPU is i7 6700 so it's not lack of power issue. And yes the frame skipping is visible while watching it on my phone. Moreover, it's visible even on the screen while the camera app is open and I'm not recording anything. Maybe it's autofocus related issue?
marjanoos said:
And yes the frame skipping is visible while watching it on my phone.
Click to expand...
Click to collapse
In that case you should contact OnePlus technical support, hopefully they'll figure it out.