[TIPS]A/V out of sync when compressing 720p videos - Android General

I'm sure you noticed that when you record a 720p/1080p video with a smartphone, the bitrate will be pretty high, in the 10-15Mbps area.
This is not really necessary if you watch the videos just on your smartphone or on a limited size LCD TV, and you can just recompress it using x264 codec at about 2Mbps without severe quality loss (unless it's a sport video).
However you'll notice severe audio video out-of-sync issues if you compress both audio and video tracks and DON'T CHOOSE MP4 (which is the default container for the videos recorded by the smartphone) as default container for your x264 video.
Furthermore, if you want to compress and then JOIN different videos, you have to compress them one by one and THEN join them, otherwise you'll notice glitches in the playback.
I tried with mkv and avi but I kept having sync issues, so I thought that it was worth to share this tip.

SUPER @ video conversion program
Have you tried a video conversion program called SUPER @? Here's its link:
http://www.erightsoft.com/SUPER.html
The program can be pretty intensive in terms of memory used but it usually does a great job for me and bitrates can be chosen for just any vid type you might want to save to. Usually, I turn off my internet connection prior to executing it (so it can't do an update check) and run it by itself.

Yep, I guess it's something similar to Wondershare Video Converter Ultimate, it's just that I prefer more control over encoding parameters (so I tend to use programs such as Avidemux)

flapane said:
Yep, I guess it's something similar to Wondershare Video Converter Ultimate, it's just that I prefer more control over encoding parameters (so I tend to use programs such as Avidemux)
Click to expand...
Click to collapse
You've probably already thought of this but you can load your video in virtualdubmod and have it change framerate so video and audio match perfectly.
No re encoding needed and even on large files it takes less than a minute or two.
If you find virtualdubmod won't recognise the video you can download a suitable vfw codec and it should then.
Dave
( http://www.google.com/producer/editions/CAownKXmAQ/bigfatuniverse )
Sent from my LG P920 using Tapatalk 2

The problem is that vdubmod won't help, because framerate is not constant and it varies from some 19 to 30fps, at least on Vibrant.
In a lot of cases the fps number gets lost during encoding (and you'll obtain a video which has a constant framerate of 29.97fps), because softwares such as Avidemux doesn't have an option to leave the FPS untouched (or at least it seems that the fps number gets lost if you want to use MKV as container).

flapane said:
The problem is that vdubmod won't help, because framerate is not constant and it varies from some 19 to 30fps, at least on Vibrant.
In a lot of cases the fps number gets lost during encoding (and you'll obtain a video which has a constant framerate of 29.97fps), because softwares such as Avidemux doesn't have an option to leave the FPS untouched (or at least it seems that the fps number gets lost if you want to use MKV as container).
Click to expand...
Click to collapse
I've used it in similar situations so it might be worth a try as it doesn't need a constant framerate, it looks at the audio length then adjusts video framerate to match.
If it is just a problem created while actually recording, ie if the video itself records at varying framerates it would suggest that it can't write to storage quick enough and is dropping frames.
In that case you would need to record in lower resolution or perhaps find a replacement camera application and see if that could fix your problem as sometimes default apps are not all that good.
It also makes a difference if you can close un needed background apps to free ram if low on memory. That can cause frames to drop as well.
Dave
( http://www.google.com/producer/editions/CAownKXmAQ/bigfatuniverse )
Sent from my LG P920 using Tapatalk 2

Actually it seems that the framerate is lower in case of dark scenes, which seems to be a behaviour found on other phones. I'm writing on the internal storage and I always kill everything before taking a video, so I gotta try another Camera app and see if anything changes.
I'll also take a look at that interesting vdubmod feature, I didn't know it.
Thanks.

flapane said:
Actually it seems that the framerate is lower in case of dark scenes, which seems to be a behaviour found on other phones. I'm writing on the internal storage and I always kill everything before taking a video, so I gotta try another Camera app and see if anything changes.
I'll also take a look at that interesting vdubmod feature, I didn't know it.
Thanks.
Click to expand...
Click to collapse
Is there a setting where you can change encoding parameters of your x264 on your phone?
On a pc the codec has a feature that can compress more data per frame in darker areas, on a phone I don't know if that is active or not but might be worth checking. Sorry I couldn't help more but hope you find a solution.
Dave
( http://www.google.com/producer/editions/CAownKXmAQ/bigfatuniverse )
Sent from my LG P920 using Tapatalk 2

Related

Poor video playback - solutions?

Hy guys,
Just to know, I'm coming from my trusty Eten M700. I bought the HTC Touch Pro about one week ago here, in Romania.
And I must say the video playback seems way too sluggish for a phone like this. On the M700, with same coreplayer version (latest), with raw frame buffer and medium quality and no other modification I could play every video I wanted. Including 720x576 xvid clips.
On this one...no matter what I set (QTV, raw frame buffer, direct draw), everything seems a little too sluggish compared to M700.
do you have the same impression, or is it just me?
I just read another thread here about video performance but it had too much dissipated info.
Gigs said:
Hy guys,
Just to know, I'm coming from my trusty Eten M700. I bought the HTC Touch Pro about one week ago here, in Romania.
And I must say the video playback seems way too sluggish for a phone like this. On the M700, with same coreplayer version (latest), with raw frame buffer and medium quality and no other modification I could play every video I wanted. Including 720x576 xvid clips.
On this one...no matter what I set (QTV, raw frame buffer, direct draw), everything seems a little too sluggish compared to M700.
do you have the same impression, or is it just me?
I just read another thread here about video performance but it had too much dissipated info.
Click to expand...
Click to collapse
Which is why it's great that you started a new thread to dissipate the info further. Read the other thread(s) again, this has already been answered and solved within coreplayer.
P0ll0L0c0 said:
Which is why it's great that you started a new thread to dissipate the info further. Read the other thread(s) again, this has already been answered and solved within coreplayer.
Click to expand...
Click to collapse
which topic is it? i have smilar issues
Untill now I have found that QTV with Medium acceleration, and dither on has the best performance, anyway less than m700. Setting the buffer to 8000 kb did not had any effect. Still want to hear from another pro owners what they think about this.
I agree, video playback just sucks! I hate Qualcomm processors, Xscale rulezzz!
However when I put QTv, my screen goes black and there's only sound.
How did you achieve to run it on QTv???
krabicka3 said:
I agree, video playback just sucks! I hate Qualcomm processors, Xscale rulezzz!
However when I put QTv, my screen goes black and there's only sound.
How did you achieve to run it on QTv???
Click to expand...
Click to collapse
It depends on what kind of file you want to play with it. On mine, some 3gp and some clips compressed for mobile devices don't show anything on screen. Try to switch to raw frame buffer, and restart core player, maybe it helps?
Unfortunately the HTC Touch Pro is not the mulitmedia phone you want if your looking to run your non-mobile encoded videos. However it still can be a awesome video player if you encode videos to the right dimension and specs.
I took this past Sunday to play around with finding just the right video format and encode settings to play video as close to vga as possible. Unfortunately the Touch Pro can't play videos in full-vga resolution. HOWEVER, it can perfectly play videos in 480x320 which when you compare to a 640x480 video on the touch pro's 2.5inch screen there is no difference in quality what so ever.
When you play small videos on such a small screen you wont notice the difference in the resolution, however comparing a qvga (320x240) to the half vga 480x320 resolution you can definitely see a difference.
I use two different encoders, one being pocket divx encoder and the other videora iphone converter.
I encoded a bunch of animes and movies using pocket divx set to 480x320, 2-Pass, vhq enabled, around 850 video bitrate and 128kb stereo bitrate and all my videos look crisp on the Touch Pro and plays smoothly.
I suggest others to try it out and benchmark the playback yourself and you'll see it'll run at a easy 135%+ which is perfect for 100% smooth playback.
Gigs said:
It depends on what kind of file you want to play with it. On mine, some 3gp and some clips compressed for mobile devices don't show anything on screen. Try to switch to raw frame buffer, and restart core player, maybe it helps?
Click to expand...
Click to collapse
1.) I suggest check two things, one be sure you are running the latest build which I assume you are,
2) under preferences and under the Qtv page look to make sure "Tytn 2 driver mode" is enabled.
3) some builds have a issue of zoomed in pictures to a an extreme amount that only a black screen shows when first installed, set the zoom to 50% and then reset to the normal or best fit.
Hopefully those changes should help you out
UPDATE: Also there is one bug I know of with Coreplayer. When coreplayer is launched and left running in the back (or if still active on screen) should the device go into sleep mode and then come back you will not be able to see any video playing when choosing to start. You'll have to close coreplayer and reopen again, I noticed this the other day and just came into mind when experiencing just now again.
I almost agree with you puerrican but I think it's such a burden to reencode....I managed to get easy after I saw that everything encoded with h264, mkv and encoders like this can't be played in the pro. However, everything I had in my computer encoded in divx, xvid, normal things works just fine with the settings I put in some posts above. I just tried 700 MB DVDrip(around 1000 kbit/s and 640x272) and some videoclip(624x352 vbr around 2300kbits) both xvid and they worked ok. 688x400 AVC1 (h264) killed the pro.It's not just the resolution but also the encoder used.
EDIT: just saw the update and I wanted to mention that I'm also using the 1.2.5 build 4506 with tytn 2 mode enabled and qtv on medium selected. And touchflo3d is disabled and I'm using the spb shell (or something like that with icons on screen).
IDEA: I think it would be interesting playing back xvid 640x480 and h264 640x480 to test this idea of mine
Definitely it is pain to go and do that. Plus reencoding speed relies heavily on your pc specs, on a high end specs your looking at around 4-5 mins for a 2-pass encoded video of 24 min length. While a movie length of 90 mins or so your looking at at least 16-22 mins.
So expect much longer wait on a lower end thats not even dual core or lower clock rate.
Until pdas start sporting dedicated gpus from nvidia or other names windows mobile wont ever benefit on being a media playback alternative which is a nice plus for those not looking to carry 2-3 devices for music, pmp, pda, and phone. Wish HTC would look into intel processors for their next unit and possibly throw in a nvidia mobile gpu like the 5500 with a decent amount of video memory. I mean at this point in the technology chain its not even remotely impossible to do so... so whats the hold up with companies???
yeah, i have no problem with mp4 at 640x480 (640x360 widescreen). mkv at high res (above 640x480) is a little juttery. my movies are usually 24fps, 1000kbps, 640x360
got same settings as gigs
coreplayer is working on fix for v1.3
I'm at a lost, I tried playing 640x480 videos on my touch pro and it stutters way too much, how are you guys managing to have to it playback flawlessly?
I dont really get whats good about watching movies on a 2.5 inch screen...do you do that on such a regular basis that this is so important ?
Regarding Video, i just watch some short youtube clips and stuff like that...
Ever tried to watch a full length movie on such a small screen ? I did that on holiday on my ipod and its really hurting the eyes to concetrate on such a small screen for 90+ minutes... not really anything you want to do regularly...besides not reencoded videos take up alot of space on your memorystick...
i dont have a problem with reencoding some videos and stuff, full length movies arent meant to be watched on a phone anyway
Well, a 2,5 inch screen is a bit too small, but our Touch Pros have a 2,8 inch screen
I have a zune and it has a 3 in screen and was perfect for watching tv videos or movies, and thats half the resolution then a TP. Cant wait to get my hand on the TP !!!
To each his own, some ppl like being able to watch videos whenever the call comes. Sometimes when I have to wait for something like a class to start or I'm away from my pc, or even on a airplane or public transportation I like to be able to watch few episodes easily and clearly. A full blown movie yea its gonna be a nuisance for a long time depending on the person. But some are accustomed to it, I for one can easily watch 4-6 episodes in a row without getting any kind of headahce.
yep, its quite convient. all in one device. it has tv out as well, so since it is simalar res to tv, it looks great
music + movies on phone, no ned for mp3 player. plus i can stream movies off my pc
yeah i see that there is room for this, but i dont think many people use this so regulary that converting a few movies is that much of a pain. You will save a lot of space on your memorystick as well.
I have modifying 2 regentries and the video is now much better.
Look here:
http://forum.xda-developers.com/showthread.php?t=438318
Using CorePlayer the benchmark was before 75-95%,now 145%. on same videofile - Uncompressed VGA XviD.
Edit... I am sorry. It wasn't working. I just forgot,that I set the video quality to medium before.
You have to chose Medium Quality on Video Settings (with Qtv selected), otherwise it lags so much ..
Even on medium on motion scenses some frame drops
Video used for tests: RL_XQ_640x480_1500_128.avi (found somewhere here on this forum.. can't remember the topic name )

Raphael Video Encoding Thread

NOTE: USE OF THIS THREAD AND INFO ASSUMES YOU HAVE LEGAL AUTHORITY TO USE / ENCODE ALL SOURCE MATERIALS. I AM A US CITIZEN AND A SOLDIER, AND HENCE FALL UNDER JURISDICTION OF MANY ORGANIZATIONS, TO INCLUDE THE FEDERAL CENSORSHIP CLUB (FCC) AND THE DOUCHEBAGS MOLESTING CONSUMERS ACT. NO QUESTIONS WILL BE FIELDED REGARDING RIPPING, DOWNLOADING, OR PIRATING OF SOURCE MEDIA, REGARDLESS OF THE INQUIRER'S NATIONALITY. - Fathead, P.I.
This thread will be about video encoding, with the end product being the Raphael. My current Device, Radio and ROM are in my sig and updated for reference.
The premise of this guide: Using freely available (NON-WAREZ) CODEC and software, the user will be able to create video with audio playable on a HTC Touch Pro. The video will be of a watchable quality and small in file size.
Some of you may be familiar with my work on SEGA Dreamcast with GypPlay, DC-Divx, DC-VCD standard, and XDP (X-Rips, Inc. Dreampassport, English translation of DP 2 and above)
- Fathead, P.I.
----- START OF THEOREY -----
If you're like me, the first thing you asked yourself after buying your Fuse was "HOLY ****! I can run 4x the storage on this thing that my old Wizard could!" Yes, 16 GB of Micro-SD goodness is freakin' sweet. But how to use it? You can only listen to so much music per week, even with Napster To Go. You can only play so many games. (I'm further reduced due to lack of a usable joy pad for Pocket Nester.) Why not throw some movies on this joker?
----- VIDEO FORMAT -----
The first thing most people want to know is "What resolution and format should I use?" I am a longtime fan of Divx. I have used it to successfully create video content for low end devices, specifically the SEGA Dreamcast. Creating or downsampling content for a mobile phone gives us a considerable edge over bigger-screen counterparts. Before we jump into the configuration of settings and knob-dicking with software, let's figure out just what kind of video we want to produce.
FRAME RATE
Most content you find will come in one of 3 frame rates:
30 FPS (VHS / NTSC Broadcast / DVD / Blu-Ray(?) )
25 FPS (PAL)
23.976 FPS (Actual frame rate used to record cinema and produce much media)
The first thing you need to realize is that many things initially encoded in 30 FPS can be converted back to 23.976 FPS with no loss of fluidity or data. If your source is a webcam, skip the scaling to 23.976 and drop down to frame decimation. If your source is film, you're in luck. The other frames are just dummy frames that waste a little data. Deleting those frames frees up more video data to better express the picture information in the other 23.976 frames. This trick allows you to:
A. Use a lower bitrate (and hence smaller file) for the same picture OR
B. Get a better picture at the current bitrate
To figure out the frame rate, load up your file in V-Dub and go to File - File Information. The Data Rate box in the Video Stream area will tell you current bit rate, while frame size will give you resolution and frame rate. If you have a 23.976 FPS source, continue. If you have a 30 FPS source that you think should be 23.976 FPS (Film, etc) :
1. Load up the file in V-Dub.
2. Go to the Video drop down menu. Select Frame Rate (CTL+R is shortcut)
3. Change the Frame Rate on the source to 23.976 FPS.
If you continue to have audio sync issues with this method, leave the file at 30 FPS and continue.
Now we are going to look at frame decimation. Frame decimation drops every X frame while keeping the audio sync'd. The end result is a file X the frame rate of the source. While this is noticeable on large screens, on the Touch Pro / Diamond Screens (and probably even the HD), it shouldn't be an issue at all. You can play with this option. It is more noticeable on film, but I cannot see a difference at all on animated sources.
I use the decimate by 2 option in VDub. Video -> Frame Rate (CTL+R shortcut) and select Decimate video frame rate by 2. Our output video is now half the frame rate of our source. The end result is we can:
A. Get a better picture with the current video bit rate OR
B. Lower the video bit rate to get the same picture in a smaller size.
I use option B. Another big advantage here is that the device is trying to decode half the frames. A general rule about audio and video playback: The lower the bit rate you ask the device to handle, the less work it has to do to decode and display the video, and less battery power will be used.
RESOLUTION
Most content you will find is around 640 x 480. DVD sources usually come around 720x480. Blu-Ray would be above that, but possibly scaled down. We are going to watch this movie on a 3 inch screen. Guess what that means? If we never found a video about 320x240, or comparable widescreen resolution, It wouldn't matter. At all. Stepping up to 640x480 is just going to quadruple the amount of pixels we are trying to express on a limited budget.
A handy tool I use in V-Dub is the 2:1 reduction filter (high quality). To kick kit on, go to Video -> Filters (CTL+F). Click add, and it should be the first filter you can choose. This cuts your resolution by half. As a rule of thumb, If I've got a source that's around 640x480 (or 16:9 equiv) or higher, I hit it with the 2:1. You'll find oddball sources like 480 x 360, you can give it a shot, but it might not be worth it. Again, lower resolution means less pixels to express both in bit rate and in reproduction (playback).
Pausing here again, tired as hell.
THE SOFTWARE I USE
Video Editing / Audio and Video Compression and Mux - Virtual Dub. Totally free. I usually refer to this as VDub.
Home
Download
Audio Compression CODEC - LAME MP3 - Free and versatile.
Home
Compiled Binaries
Use the ACM Binary here for Windows and Virtual Dub
Video Compression CODEC / PC and SP/PPC Player - Divx - Decoder, player, mobile player, and MOST of the Encoder are FREE. DO NOT POST ABOUT CRACKING THIS.
Home / CODEC and PC Player
MOBILE (PPC and SP) Player
One more for good measure...
Okay, replies and requests, go!
Am I correct in thinking that videos should be encoded in 640 x 480 ?
*RESERVED*
cucusoft
i use Cucusoft Ultimate DVD + Video Converter Suite
mpeg-4
video bitrate 600kbit/s
framerate, depends from 23.976 to 25 (not important)
videosize 480x368
format 4:3
audio aac
128kb/s
samplerate 48000k
2 chanels stereo
it works fine, no framedrops
played with coreplayer 1.25 build 4506
I just use the standard 700mb divx movie in .avi
I use the free divx player V0.91
Smaller would be sweeter.
Taking a break for a bit, added some new material. Internets in the hotel are barely functional.
I'll be focusing on getting files down to smaller levels. The theorey should give you enough information to start dramatically cutting your file sizes. I've been moving my Boondocks DVD over to Divx 6.8 movies. Averaging 40 megs per episode.
I have been using spb mobile dvd for a few years now. It is very easy to use can convert straight from a dvd or a video file and supports vga res.
Will have to check that one out, have been thinking about backing up my DVD's to mobile, will be traveling about 26 - 30 weeks out of the year and need some boredom killers.
Gonna score some sleep and SEGA time, later all.
Added some new info, taking a pre breakfast nap.
i use slysoft clonedvdmobile. output at vga res and filesize around 700mb seems to run fine for me...although its not free, its well worth the money
Brendo said:
i use slysoft clonedvdmobile. output at vga res and filesize around 700mb seems to run fine for me...although its not free, its well worth the money
Click to expand...
Click to collapse
This is a great bit of software. It also utilises all 4 cores on my Q6600. Another fantastic program is DvDFab which can transcode DVD to Divx/Xvid/MP4 etc on the fly, or dump the Video TS to your HD.
Going to have to check all this out. Have many a DVD that needs ripped. Wonder if any of those have a frame decimation feature. I like my 30 - 40 meg per episode cartoons.
Based on some comments in other threads, I've tried a couple of freeware programs to try to encode in the format that works so well with WMP (MP4, H.264, 640x368, 1000 Kbps, AAC @ 96Kbps): DVD Decrypter + SUPER for one and AutoMKV for the other. However, I haven't been fully successful with either, so I'm hoping that someone who uses these tools can clue me in on the appropriate settings and procedures for encoding.
The combination of DVD Decrypter and SUPER creates very nice movies for playback on the Fuze. Unfortunately, DVD Decrypter keeps the VOB structure from the DVD and SUPER follows suit, which means that a movie will be broken into several pieces at arbitrary points: unsatisfactory, to say the least. The SUPER support forum mentions a way to join inputs into a single output, but following what I understood those instructions to say did not, in fact, result in a combined file.
AutoMKV is very convenient, as it is a single program (or at least UI) to both rip and encode. Unfortunately, I haven't found the settings that generate output that is comparable to the SUPER output -- WMP won't play any of the files I've managed to create so far.
Anybody use these successfully and can share how they do it? TIA.
amerisoft, works very well for me so far, except an occasional blank screen
Just wanted to add...
I don't bother encoding video anymore. Sure, a full-blown 50 minute xvid show might be 400meg. However, the touch pro does not have any issue playing such files back.
Makes life much easier!
I'd agree. I've loaded up a couple of 700MB XVIDs and had no problem playing them.
For some reason, my Sprint Touch Pro has issues playing back even reasonable quality video. For instance, 640x480 video at 1200k (MP4) is a little choppy in WMP, and almost -everything- is extremely choppy in TCPMP, no matter how it's encoded, including 350MB 45-minute XVid TV shows.
AndyCR said:
For some reason, my Sprint Touch Pro has issues playing back even reasonable quality video. For instance, 640x480 video at 1200k (MP4) is a little choppy in WMP, and almost -everything- is extremely choppy in TCPMP, no matter how it's encoded, including 350MB 45-minute XVid TV shows.
Click to expand...
Click to collapse
As I understand it, it's a driver issue. (This is what I've gathered across numerous postings here; someone please correct me if I've gotten something wrong.) The Qualcomm chipset in the TP/Fuze has an efficient driver called Qtv, but Qualcomm charges for a license. WMP appears to incorporate the driver, so it's able to handle moderately challenging videos. 1200 Kbps might be a little more than it's capable of displaying smoothly, but people have reported that 1000 Kbps plays well. On my one trial with DVD Decrypter + SUPER, that was the case for me, too -- full resolution and smooth motion for a video ripped from a DVD with the specs I reported in my earlier message in this thread.
TCPMP, on the other hand, does not include the Qtv driver, so in order to get smooth playback you have to reduce the size, resolution, or frame rate.
Coreplayer has a reverse-engineered partial driver for Qtv. As a result, it falls between TCPMP and WP in capabilities. It is claimed that version 3.0 of Coreplayer will have full Qtv support.

Newb question: Best video decoding settings.

Im going to try and make this short.
I realize this may not be the best place to ask but i know you guys are the best to ask.
What are the best 1) resolution 2) bit rate 3) quality settings for encoding video for the gtab that give you a nice picture and dont break the ram bank.
At 768x450 2000bits/sec My test movie is 1.3gb. At the native 1024x600 the file size hits in the 1.7gb neighborhood (nice looking but probably not feasible unless i am only going to put one or two movies on here at a time...would like to do 5 or 6)
I tried it at 512/300 (50% of the native resolution) and a bit rate of 800bps and did manage to get the file at around 500mbs but the quality was just sub par for my tastes (fuzzy VISIBLY jerky).
Rather than me testing for days and days..i was wondering what settings you guys had set on (and why).
Thanks!
Allen
Edit: The H.264mp4 format was causing artifacting that i couldnt fix at any setting..
Right now i am using .mp4 at 768x450 (or a 75% scale of the native resolution) and a bit rate of 1,500 with the sound set at DVD quality (which actually does help since i use blue tooth head phones). File size still just at 1gb (that maybe about the smallest i can do with the quality i like). Even at that setting...its still a tad jerky. What should i try? Lowering the resolution and upping the bit rate a tad more???
Still wanting to know if any of you guys have a magic setting for me!
The good news here is that i am not loading my up memory with mp3/songs (have an iphone for that) using pandora radio instead. Regular apps dont take up too much room so i figure i probably have around 10G to play with for video. (when vegan gets the SD card utilizatin fixed ill have another 8G on top of that).
Bump:
Still looking for settings suggestions.
I am using 720X480 @ 1,500kbs in MP4. This gets me ~1.2gb files. It is the actual resolution of a DVD, which is where my material is sourced. This lets the display device do the scaling, rather than the encoding process.
Robert Duncan said:
I am using 720X480 @ 1,500kbs in MP4. This gets me ~1.2gb files. It is the actual resolution of a DVD, which is where my material is sourced. This lets the display device do the scaling, rather than the encoding process.
Click to expand...
Click to collapse
Duh that makes total sense!
Testing now.
Any ideas what the "video quality output settins are". 1 is best, 32 is worse. 26 is recommended.
I dont have much to go on. I see the recommended settings for an ipad are 1335 bit rate and a quality setting of 24.
UPdate: When i did a test run with higher settings i noticed the video would lag every three or four seconds. I concluded that the settings were too high for the hardware to handle. Likewise when i set them too low..it was jerky, and i concluded the bit rate was too low for smooth frame rates.
At 720x480 1500Bits (and a "quality setting of 24"). The lag is MUCH better, but it still lags about every 20 seconds or so (very briefly). I will test at 1400bits/26q and see what happens.
Jeeze! A lot of work.... its too bad someone hadnt already figured all this out and just given me the quick answer! lol
Thanks again for the answer!
You should be able to play 1080 with no lag?
Sent from my V9 using XDA App
You may want to grab a program called Mediainfo. This program analyzes the video file and tells you what profile was used, video and audio encoding stats. I was using this to make sure my source and output files were not using the "High" profile. I have some 1080 files re-encoded under the "Simple" profile and they look great with zero lag. I have re-encoded all my files with Handbrake and the all work without lag.
I used the info listed in roebeet's FAQ post: http://forum.xda-developers.com/showthread.php?t=842899
daml said:
You should be able to play 1080 with no lag?
Sent from my V9 using XDA App
Click to expand...
Click to collapse
BUT why when the screen resolution is only 1024x600?
DONT need media info unless reatail dvds are encoded with more than one setting Are they?
I saw roebeets post about using the ipad settings but that makes no sense. THE ipad has a different resoultion and a less powerful processor.
I am getting lag at 720x450 1500bits but not at 720x450 1400 bits. Very interesting.

[SOLVED] Video performance issues

Am I being unrealistic in my expectations WRT playback of video on the Transformer? (NB After some of the replies below, I've added this comment to emphasise my point - I am NOT talking about high-def video here [e.g. 720p], just normal PAL or NTSC video taken from standard DVDs.)
I've ripped some DVDs using Handbrake on my Mac, using the default High Profile settings. The resulting h.264 files play smoothly and nicely on the Mac.
However, on the Transformer, the playback is juddery.
These are standard-resolution DVD rips, from TV shows and movies.
I wouldn't have been surprised for HD content to be a bit dodgy, but I was surprised not to be able to play SD content smoothly.
Has anyone else got good video playback (i.e. do I have a dodgy tablet) or is the Transformer with its Tegra 2 really not up to playing full-screen SD video?
Don't use high profile. Search before you post - there is many threads about video issues of Tegra2 devices here and in Xoom forum.
Why do people keep doing this, you have a Google tablet, Google this.
The Tegra 2 has a strange limitation, it doesn't play high profile. Before you make the mistake everyone else does, high profile is not a measure of quality, its the measure of compression. The bit rate is the quality.
Put it on high profile go to advanced, turn off 8x8 transform and Weighted P Frames and Subpixel ME to 6, use MP4.
Don't bother with other peoples presets, just use Moboplayer and you will be good with this setup.
Thanks
OK, thanks to you both for sorting me out with this. I did (contrary to appearances) try to find a thread on this topic but failed. Clearly I must brush up on my searching skills.
What about YouTube playback? Even this works terrible on my transformer. It keeps droping how of frames with latest firmware update.
Sent from my Transformer TF101 using Tapatalk
ivan.volosyuk said:
What about YouTube playback? Even this works terrible on my transformer. It keeps droping how of frames with latest firmware update.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
there will be an update for this, also the browser player works fine for me.
Settings that work
OK. After some testing with the first chapter of the Matrix DVD (because I have it to hand and it's got some nice pans and action to check the juddering against), I have found that the following settings in Handbrake give me acceptable performance on my Transformer with the h.264 codec. This is standard-definition video, please note, NOT high-def.
Note that sorting this out is far from as simple as "Google it" because there are a great many mutually contradictory sets of advice out there!
I took the Normal profile, then went to the Advanced tab and disabled CABAC and set the max B frames to 0.
This was the least dramatic setting that gave smooth playback on my Transformer. So I guess I should repeat my original question - given that my tablet appears to require much lower video settings than generally advised AFAICS in order to get smooth video playback (it's hard to measure this but this is my preception), should I worry? Or is this pretty much what everyone finds with the Transformer?
(The easiest way to get smooth video seems to be just to switch to the MPEG-4 codec and to increase the quality to about 3 to compensate. However, this gives files that are 40-50% larger, so I wanted to avoid that if possible.)
I usually use Handbrake for everything but I was in a hurry so I tried Freemake Video Converter. I converted a few downloaded x264 MMA videos. It has built in settings for Android. I was surprised how well it looked.
I'll still probably go back to Handbrake as soon as I have time to setup and test various suggested settings listed here and some other forums.
FtL1776 said:
Why do people keep doing this, you have a Google tablet, Google this.
The Tegra 2 has a strange limitation, it doesn't play high profile. Before you make the mistake everyone else does, high profile is not a measure of quality, its the measure of compression. The bit rate is the quality.
Put it on high profile go to advanced, turn off 8x8 transform and Weighted P Frames and Subpixel ME to 6, use MP4.
Don't bother with other peoples presets, just use Moboplayer and you will be good with this setup.
Click to expand...
Click to collapse
Thanks for the info.
Are you using handbrake? If so, are you using constant quality, bitrate or target size for your encode?
The Tegra 2 supports 720p High Profile Hardware Decoding, but Honeycomb can't utilize it yet. 3.1 or something later should address this.
frosty5689 said:
The Tegra 2 supports 720p High Profile Hardware Decoding, but Honeycomb can't utilize it yet. 3.1 or something later should address this.
Click to expand...
Click to collapse
Link please?
NOT about high-def content
Can I reiterate that my query is NOT about high-def content (e.g. 720p)? I'm talking here about being able to view simple SD content from a DVD I've bought, without juddering.
Can other folks view standard DVD rips on their Transformers using standard Handbrake settings, with no juddering during whole-screen update sections (e.g. pans or action sequences)?
I just used Adobe Media Encoder CS5 (part of the Creative Suite) to encode a file and it played flawlessly on my xformer. I used the Apple TV Preset as a base then modified the profile from main to baseline.
Sent from my Transformer TF101 using XDA Premium App
cd419 said:
I used the Apple TV Preset as a base then modified the profile from main to baseline.
Click to expand...
Click to collapse
Could you share which modifications you made? As I don't have access to CS5, I'd need to reproduce the settings on my software.
Thanks!
there's a handbrake profile for video encoding for the transformer. search for it.
seshmaru:
Unless you know something is there then you don't know to search for it. Now I know, I have searched and found that what I posted above is basically the situation - no B frames, no CABAC.
That being said, all the discussion I have seen has been based on 720p content rather than standard def so it's not clear to a newcomer to video issues that tthe same restrictions necessarily apply.
Anyhow, that seems to be the answer so thanks to all for the help.

🎥 A better Slow Motion Recording Experience►

Hello, everyone‼:laugh:
Thank you for reading this.
Almost any phone of today has a Slow-Motion / High-Framerate feature.
Well, i've got nothing agianst it but there's something about it that truly sucks.
Here's my old thread about this.
The Bad method:
You Record: 00H:00M:10s@240fps (Resolution doesn't matter)
You get a Video with 80 Seconds @ 30fps
...and Muted Audio ♫♪
So that â–ºx1.0 isn't realtime!
Well, the iPhones record in realtime, but they can only record for 20 Seconds (real time equilevant)
kryz70fr said:
With the iPhone 5S camera software, you can edit your video to active slowmotion or not on the timeline ... how to do this with the Note 3?
Click to expand...
Click to collapse
Yes, you're right!
...but the Smartphones which use the sucking method of taking Slow-Motion Videos encode the output file being Slown Down.
The one and only advantage of this method, is for Media-Players which haven't got a Fast/Slow motion playback mode so that â–ºx1.0 makes the Slow Motion Effect Visible.
But i'd like to have â–ºx1.0 is Realtime-Equivalent!
So the Correct way in my opinion [IMO] is this:
If you Record 00:00:[email protected]
The Output File must be also 00:00:10 encoded at 204FPS and with ♪♫ Audio from ALL Microphones of the Phone!
Also some other Devices use the WRONG Method:
Lumix FƵ1000 - Great Camera but Slow Motion Feature uses WRONG WAY.
Canon IXUS 255 HS
But those Devices use a Good Method!
Sony RX100/3
Canon Powershot 510HS and 50HS
Sony FDR-AX100
Samsung NX1 (i think)
Example Videos ? :
Good
Only 720p BUT
XAVCS
And Audio
And Realtime
BAD
1080p but...
No XAVCS
Not Realtime
Muted Audio
Sucks
All Example Videos are taken by DKamera.dé!
Feel free posting your opinion! :laugh:
All the best Have a good and nice day ...
High Framerate Recording
Has anybody an Opinion about this?
There are many users who want Audio on Slow-Motion.
That, what i described there ↑↑↑, also covers this.
I'd be thankful for some feedback on my suggestion.
It's also nice, if every media player in the world has following features:
Speed Up / Slow Down
If adjust speed, enable/disable adjusting Sound Pitch
...so that 120FPS with output file encoded to 30FPS and muted sound is not there anymore
With â–ºx1.0 i mean Original Playback Speed of the Output File.
I'd always like to have 1.0x Playback Speed being Realtime-equivalent and Sound from every microphone that the device has (not just 2), independent from the Video's Framarate . (And no time limit until the Deices Battery/Storage runs out)
Example: Samsung's Galaxy Note 3 and Note 4 have 3 Microphones. But they do only use them all for the Sound-Memo and only 2 for video recording. They also record Slow-Motion the wrong way
Feel free giving your Feedback
Slow Motion - Redefined :·) (•:
I'd always like the Output file being always RealTime â–ºx1.0
That means, that i'd always like to get an Output File to be Real-Time-equivalent at x1.0 Playback Speed.
â–º1.0 to be Real Time Speed
And surely Audio from all Microphones of the device
(In FLAC Format, 1.6 Mbit/S )
(See Video04.Mp4✔)
Just like [email protected]
If i record 00:00:[email protected] then i'd also like to have an output file with 0:00:[email protected]FPS with sound.
...and not 00:00:[email protected]FPS without sound.
It feels like Recording REAL [email protected]FPS, i don't know how to explain.
Just like normal Video Recording but with a Higher Framerate - not additionally encoded to be slown down so that Original â–ºx1.0 Playback Speed is 0.25x Real Time Speed or 0.125x.
And also see this
Scroll down to see what i mean.
GSMArena Blog said:
The slow motion clips might look cool on your iPhone, but they look quite disappointing on a TV or a monitor. Which reminds us of our other disappointment about the feature – when we tried to play those iPhone 5s slo-mo videos on a PC we found that unlike all previous slow motion-capable smartphones, the iPhone 5s actually encodes the video at 120 fps and your computer will play it on 120fps unless you explicitly force it to slow the video four times in order to achieve the desired slow-motion effect. It would have been way more natural the iPhone 5s to process the frames and output a standard 30fps video as most of the phones do, which doesn’t require special players and tools to play properly.
Click to expand...
Click to collapse
They've got another Opinion. But their described opinion is caused by the only advantage of the sucking way to take Slow-Motion Videos.
Here’s hoping Apple fixes this promptly with an update – it certainly can’t be that hard.
Click to expand...
Click to collapse
I hope not so lol
Sensor output / Output File
The Output File should have the same framerate, as the Sensor is Capturing.
(Exceptionally HDR-Video. HDR Video needs a Higher Framerate/Sensor Speed but the Outputfile is still Realtime at â–ºx1.0 )
ï´¾From my Old Threadï´¿:
celderic said:
Suprised this hasn't been mentioned before, this will be very useful.
Click to expand...
Click to collapse
Wow, really? Not mentioned befre?
But yes, it will be very useful :laugh:
Many Smartphone Manufacturers write in their User Manuals, that Slow Motion Recording with Audio {Sound} Recording is not possible.
So why don't manufacturers simply use the method for Slow Motion Videos that i Described?
Maybe it's just because of the „One and Only advantge of the Sucking way to take Slow Motion Videos:“
Not every player has an Adjustable Playback Speed--.....
The Galaxy K Ƶooom has also a Menu Option for PlayBack Speed for the Ouptut File.
But you only can use the 120FPS-Mode @ ¼ or ⅛ Speed for Output File, but i'd prefer it always to be x1.
I'd like 1x Playback Speed to be Real-Time Equilevant.
Accordingly, Every Player should have a Manually Settable Playback Speed, Sound Pinch, Reverse and Recording Feature.
VLC Media Player has ¾ it all - exceptionally the Reverse◄ Playback Feature.
If manufacturers fix this slow motion problem, have fun
Optical Flow / If you really want... / Video Converting,, Video Converters, Applicato
https://itunes.apple.com/us/app/slopro-1000fps-slow-motion/id507232505?mt=8
This iOS-App uses Optical Flow.
I hope this app also uses ?▶► Real Slow Motion...
If you REALLY want the Output file to be not â–º1.o Realtime, then you can convert it after recording it into a second file.
There are Programs to do that.
Most Famous: AVS Video Converter
Most User-Friendly and Free: FreeMake Price: €0.00
Have Fun/NiceDay/ All the best ♥:laugh:
Correction :
Correctiõn:
The NX1 also uses the Wrong way.
http://www.dkamera.de/media/testberichte/samsung/nx1/6_beispielaufnahmen/video/video04.MP4
DKameraâ„¢
There's a very high Request on Slow Motion-Audio and being able to adjust the Playback Speed in the Media Player.
http://forums.androidcentral.com/samsung-galaxy-note-4/464112-slow-motion-video-sound.html
I also don't understand, why manufacturers use the Way for taking Slow Motion Videos that i mentioned, because the other frequent way sucks.
Isn't there an app, which can record slow-motion videos the way i mentioned?
However, the iPhones only use Mono-Audio for any kind of Video-Recording. Horrible.
Sony:
Their Cameras (RX100 and FDR-AX100E etc.) record slow Motion the Proper Way. Congratiulations!
But their Smartphones only allow editing before saving - once saved, you can't adjust any speeds anymore.
Canon:
Newer models like SX50 HS and 510 HS use the right way - even for 240 fps - no specific time limit!. Respect!
But the beautiful SX255 HS also sucks recording them - 120 and 240 fps. And there's a limit of 20 Seconds (in Real-Time.)
Conclusion:
There are many - also free Video-Editing Programs for adjust the speed and Sound-Pitch (Pitchbend) of vidéos - so there's (almost) no reason for the (i call it the sucking way) of recording slow motion videos. (Only reason is the missing Playback Speed Pitch in many Media Players. S5+ aka S5 LTE A had it - from x0.5 up to x1.5 Playback Speed - even for 4k-Videos up to 61.2 mBit/s Bitrate!)
And also - setting playback is a small additional step before enjoying the Motion but if this step is too much, you're lazy.
Concluson
I wanted to send (post) this message 20 Minutes before already - but i forgot to press the Sumbit-Button :laugh:
Click to expand...
Click to collapse
Galaxy S6
Finally Samsung did it:
I'm rather disappointed from the S6 (http://forum.xda-developers.com/showthread.php?t=3044369 )
but finally, the Galaxy S6 does the RIGHT WAY of Slow Motion Recording.
Thanks god!!!!!!
GSMArena said:
Finally, in Slow motion mode the camera goes back up to 48Mbps but is now shooting 720p @ 120fps. Videos are actually recorded at 120fps, but you can edit them on the phone - trim beginning and end and choose between half, quarter and eighth playback speed. Here's how it looks when we drop to 30fps (playing at a quarter of real time speed).
Click to expand...
Click to collapse
I hope the Slow Motion also includes Audio.
Confirmed:
The S6 records Slow Motion WITH Audio and Realtime - like iPhone and SX50 and 510 HS and also RX100m3 (aka RX100 III)
GSMAréna
I was reading a Review on GSMArena.
Then i saw this:
A note about formats - the iPhone records and saves 720p videos with 240fps framerate so you'll need to either edit them on the phone to create the slowdown effect or use a video editor on your computer, just copying them would only get you an extra smooth normal speed video. The Galaxy Alpha videos are slowed down to 30fps so the slow motion is easy to share. There's an option to slow the videos down to 15fps, which matches the iPhones 8x slowdown but the result isn't as smooth
Click to expand...
Click to collapse
With the Galaxy S6, Samsung finally goes the Right way, because you can Export a Version of your Video, that is actually Edited and Costumized yourself, to share or so...
It's always recomennded to keep the Original Slow Motion Video File with the Audio and the Real-Time.
The Galaxy S6 has no MicroSD-Card, no Changable battery, etc........
But in Slow Motion, the Galaxy S6 is finally the right thing.
I mentioned the Galaxy S6-Disadvantages right here.
The FDR-AX100E also uses the right way.
Hannah Stern said:
I was reading a Review on GSMArena.
Then i saw this:
With the Galaxy S6, Samsung finally goes the Right way, because you can Export a Version of your Video, that is actually Edited and Costumized yourself, to share or so...
It's always recomennded to keep the Original Slow Motion Video File with the Audio and the Real-Time.
The Galaxy S6 has no MicroSD-Card, no Changable battery, etc........
But in Slow Motion, the Galaxy S6 is finally the right thing.
I mentioned the Galaxy S6-Disadvantages right here.
The FDR-AX100E also uses the right way.
Click to expand...
Click to collapse
The Exporting Feature in the Video editor isn't even at the iPhones.
I wish, Samsung already did this with a good phone like the Note 3 or so...
Wow, look at that:
http://hispeedcams.com/fz1000-crippled-high-speed-mode/
Slo-Mo-Calculator
Asks me for Desired Playback Speed? Lol....
Hannah said:
"Playback-Framerate" should be like "Shooting Frame Rate"
and "Time shot in Seconds" should be exactly identical as "Clip Playback Time"
And also, all Microphones should be used, to record the video.
Understand, what i mean?
Click to expand...
Click to collapse
For Galaxy S6 users (very rare):
Too bad, that so many older phones cam't set the playback speed in the mediaplayer, so if there's trouble, sharing your high-framerate-videos, you can edit the parts with the lower playback speed and export the shareable video, and keep the original real-time HFR Clip.
That's exactly, what i wish, every manufactueres do.
Simply make a Video Editor and Set Playback Speed, instead of recording the HFR Video the wrong "sucking" way.....
Hannah Stern said:
Well, the iPhones record in realtime, but they can only record for 20 Seconds (real time equilevant)
Click to expand...
Click to collapse
Oops, that was a Demo-Unit.....
LG G3, G4 and Oppo Find 7 also apply with my standards.
Doesn't the VLC beta have the slow down / speed up controls
VLC Media Player - Speed Controls
Kevingoot1 said:
Doesn't the VLC beta have the slow down / speed up controls
Click to expand...
Click to collapse
Maybe it's just because of the New Design. In the Extras (or Tools) you can costumize the VLC-Design/User Interface or go to the Playback-Menu.
Try with this file:
http://www.dkamera.de/media/testber...100-iii/6_beispielaufnahmen/video/video05.MP4
This Video File does comply with the Standards.
Treat like normal
I just like this type of recording the videos at a high framerate, because it treats Video Recording with a high fromerate as normal video recording. Just with a higher framerate.
Many devices have the ability to treat 1080p with 60 fps as normal video recording.
I was wondering if there's a posibility to record in slow-mo with my K900...

Categories

Resources