The Joys of Screencast . - General Topics

Screencast is an intuitive app I believe the development community can benefit from, it's an app that allows you to record High quality video of you using your android device up to 720p and over 30FPS
https://play.google.com/store/apps/details?id=com.ms.screencast
I made a video as well and the limit to the capture is as big as your memory allows, the file format is in the mp4 format so no conversion needed.
Here is my video of my newly used Tab.
It would be great if developers could see where the problem lies when flashing new roms .

None of my devices can run it. Not even my x86 Android builds. *shrugs.

Related

[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.

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

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

[Q] ICS 3Dvideo mods

Using a pc program "mediainfo" I noticed the 3D video encoding has changed from the codec used in gingerbread. The codec is now listed as iso which is common enough, but the codec also uses "frame tripling". The frame rate is 30fps so are we getting a 30fps with 3 frames making 1, effectively 90fps or 10fps with 3 frames duplicated to "make" 30fps.
The new 3D files cause windows explorer to continually try to analyse the mp4 files and will not automatically unmount the sd card as it is continually trying to recognize the file. The same problem also when the 3D videos are transferred to PC and the folder is viewed in explorer, cannot even re-name them with a different extension to stop the lock-ups.
Sorry to say, but 90 fps is not even true. The S3D hardware is limited to only TWO images, so it's basically split-image, either 30fps or 60fps, both left and right images. If you try 90fps, you will have image ghosting which the transparent ceramic plate is timed wrongly against video frames or worse - you will see flashing or wavy patterns which will cause you the headache. And, LCD is normally locked at 60 hertzs, as is the case with non-3D LCDs.
EDIT: The file is basically a MP4 file - with some capable media players, probably like VLC player, it will display two "squeezed" images as seen by two cameras on the 3D phone.
Sent from my LG-P920 using xda premium
I didn't have a problem moving or viewing the 3D files created in gingerbread. It seems the new codec used by ICS is causing windows problems as the codec is not recognized, windows just keeps trying to update the thumnails on the sd card when connected via usb or when removed and in a sd card reader.
Just wondered if anyone has found a way round this problem.
The "frame tripling" that is reported in the pc program {mediainfo} is a part of the codec description and cannot seem to find any mention of it in this forum.
Interesting... I have a modified ICS version of 3D camera, modified for CM10 - will try this. BTW, I don't like using thumbnail feature on Windows - nothing but a PITA.
Sent from my LG-P920 using xda premium
Hmmm. I have Nvidia 3d vision and drivers on my pc and I can watch video directly over hdmi and copy them, etc. Maybe you need the Nvidia drivers???
Or updated Catalyst for AMD Radeon HD 4k or later. I have Radeon 4670, BTW. It's still a great general-purpose video card.
However, I don't have a 3D monitor. Definitely outside of my budget.
Sent from my LG-P920 using xda premium
The "lockup" of file monitoring in widows7 for this new codec is not my main concern,annoying as it may be. I am worried about the mediainfo report of the frame mode is "frame tripling". my own research has been that 3D capture on a 3D camera by panasonic or philips or someone ACTUALLY records at 10fps and each frame is then repeated 3 times to give a 30fps video file This would give a poor motion quality video. I need to confirm that ALL o3D ICS updates have the same frame tripling video recording, as I have some "issues" with my upgrade in other software since upgrading to ICS .If the video recorded by the ICS upgrade is in fact 10fps and multiplied x3 then it is a novelty and not really persuing 3D by upgrading PC or TV to view real 3D.
Thanks for your reply's so far.
Still interesting, however. 10 fps seems slow but here, the first ever stereoscopic 3D camcorders have slower in-order processors, BTW - not as advanced as what's in our phones. So, in reality 90 fps is actually viewable as 30 fps when the 3D LCD timing is factored here.
Sent from my LG-P920 using xda premium
Sorry but don't understand the explanation or translation into english,
keith210350 said:
The "lockup" of file monitoring in widows7 for this new codec is not my main concern,annoying as it may be. I am worried about the mediainfo report of the frame mode is "frame tripling". my own research has been that 3D capture on a 3D camera by panasonic or philips or someone ACTUALLY records at 10fps and each frame is then repeated 3 times to give a 30fps video file This would give a poor motion quality video. I need to confirm that ALL o3D ICS updates have the same frame tripling video recording, as I have some "issues" with my upgrade in other software since upgrading to ICS .If the video recorded by the ICS upgrade is in fact 10fps and multiplied x3 then it is a novelty and not really persuing 3D by upgrading PC or TV to view real 3D.
Thanks for your reply's so far.
Click to expand...
Click to collapse
Indeed "TriDef Media Player" installed with my LG3D monitor can't play 3D movies from ICS but 2D is able to play.
"Stereo Movie Player" http://stereo.jpn.org/eng/index.html can't play 3D from ICS too.
Only "Stereoscopic Player" http://www.3dtv.at/Index_en.aspx can play that video.
Nvidia 3D Vision drivers work for me, but if you have an AMD GPU it may be different.
OK, works very well for me too.
After I uninstalled ffdshow

[Feature Request] Internal Capture

I don't know if the title is appropriate for this request.
I mean MX Player would be better with a button to capture a shot from a video.
Why need an internal capture when Android OS already has a capture feature?
Because capture in Android OS simply interprets what is shown on the screen and saves it and I think the interpretation process is unnecessary because the data is already included in the video file. (I don't know much about video encoding/decoding, so if im wrong sorry for my ignorance on the subject) The resulting image is poor in quality and most importantly takes up TOO much space. If I capture the same scene on the same video by video playing programs (KMP, etc), I get better capture image small in size also(as much as 20 times smaller).
Another problem with Android capture is that ads (I don't know the free version still shows ads when tje video is paused) or soft-keys (although it can be hidden by the app) can be captured together.
And finally, capture is done not considering the size of the video. Android merely captures the screen as shown, the captured image's resolution is the same to the device's screen's resolution, which is a problem when playing videos with higher or lower resolutions or when the video's height-width ratio is different to that of the device's screen(4:3, 16:10, CinemaScope, etc).
So, I think it would be wonderful if you would consider including an internal capture feature in the app.
I think you're working on Frame-by-Frame feature, so I guess it can be related to that.(again, sorry if Im wrong)
Im always happily using MX Player for years and I appereciate your efforts. :laugh:
11si17bun said:
I don't know if the title is appropriate for this request.
I mean MX Player would be better with a button to capture a shot from a video.
Why need an internal capture when Android OS already has a capture feature?
Because capture in Android OS simply interprets what is shown on the screen and saves it and I think the interpretation process is unnecessary because the data is already included in the video file. (I don't know much about video encoding/decoding, so if im wrong sorry for my ignorance on the subject) The resulting image is poor in quality and most importantly takes up TOO much space. If I capture the same scene on the same video by video playing programs (KMP, etc), I get better capture image small in size also(as much as 20 times smaller).
Another problem with Android capture is that ads (I don't know the free version still shows ads when tje video is paused) or soft-keys (although it can be hidden by the app) can be captured together.
And finally, capture is done not considering the size of the video. Android merely captures the screen as shown, the captured image's resolution is the same to the device's screen's resolution, which is a problem when playing videos with higher or lower resolutions or when the video's height-width ratio is different to that of the device's screen(4:3, 16:10, CinemaScope, etc).
So, I think it would be wonderful if you would consider including an internal capture feature in the app.
I think you're working on Frame-by-Frame feature, so I guess it can be related to that.(again, sorry if Im wrong)
Im always happily using MX Player for years and I appereciate your efforts. [emoji23]
Click to expand...
Click to collapse
From your description it looks like you looking for trimming feature. There are many apps are available in Google Play which can trim the video without recoding. It will do the job as you are expecting.
Sent from my SM-G900H using Tapatalk
ktsamy said:
From your description it looks like you looking for trimming feature. There are many apps are available in Google Play which can trim the video without recoding. It will do the job as you are expecting.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Yes, I'm aware that there are lots of video trimming/frame break and capturing/editing apps available. But I was just thinking that it would be nicer to have a capturing (I believe it is different from trimming, since capturing is about extracting just one frame out of the video while trimming is extracting multiple continued frames and merging it) feature included in the MX Player so that I can easily watch a video and capture "a" frame without opening another app while watching a video. It is not a big and urgently needed feature, but it would make things more easier.
11si17bun said:
Yes, I'm aware that there are lots of video trimming/frame break and capturing/editing apps available. But I was just thinking that it would be nicer to have a capturing (I believe it is different from trimming, since capturing is about extracting just one frame out of the video while trimming is extracting multiple continued frames and merging it) feature included in the MX Player so that I can easily watch a video and capture "a" frame without opening another app while watching a video. It is not a big and urgently needed feature, but it would make things more easier.
Click to expand...
Click to collapse
[emoji2] [emoji2] [emoji2]
It's my mistake. Apologizes for that. I have misunderstood the word Capture.
Anyway I will convey your request about frame extraction/capture feature to the developer.
Sent from my SM-G900H using Tapatalk

Question on UHD Video Recording Limitations

Hi All from Toronto, Canada!
I hope this is the right place to ask this. My question is as follows:
I have an Honor Note 8 with the Kirin 955 and the Mali T880. The camera on this phone is the Sony IMX278 RGBW sensor, which isn't the best as I hear, but is able to record 4k/UHD video.
From what I can gather, the Kirin 955 doesn't support hardware level UHD video encoding (only DECODING), and any phone with this SoC isn't able to record 4k/UHD video.
Would it be possible (albeit a lot of work) to record 4k/UHD video and either encode it at a software level (i gather this would be really slow), or even by using the GPU instead of the CPU to encode it? From what I can gather, the GPU is much more efficient as processing graphics and 2D video shouldn't be a problem at all for it. It seems like a solution to this would allow any user with this hardware configuration to be able to enjoy their phone cameras a lot more.
I know 4k/UHD video isn't really widespread yet, but I do have the necessary components at home including a 4k TV to be able to enjoy this resolution, so I am looking for a solution to this. Is it as simple as modifying the media_profiles.xml file and installing a different camera app?
I don't know a lot about android development, but I am making it a point to learn as much as I can, and I have put quite a lot of research into this idea before posting here, including searching on XDA. I work in Software Application Support for a small CRM, and I have years of experience doing mods and customization on android devices, so I am familiar with the landscape here and I should at least be able to understand any answer no matter how technical.
Thank you for your help!
jdantow said:
Hi All from Toronto, Canada!
I hope this is the right place to ask this. My question is as follows:
I have an Honor Note 8 with the Kirin 955 and the Mali T880. The camera on this phone is the Sony IMX278 RGBW sensor, which isn't the best as I hear, but is able to record 4k/UHD video.
From what I can gather, the Kirin 955 doesn't support hardware level UHD video encoding (only DECODING), and any phone with this SoC isn't able to record 4k/UHD video.
Would it be possible (albeit a lot of work) to record 4k/UHD video and either encode it at a software level (i gather this would be really slow), or even by using the GPU instead of the CPU to encode it? From what I can gather, the GPU is much more efficient as processing graphics and 2D video shouldn't be a problem at all for it. It seems like a solution to this would allow any user with this hardware configuration to be able to enjoy their phone cameras a lot more.
I know 4k/UHD video isn't really widespread yet, but I do have the necessary components at home including a 4k TV to be able to enjoy this resolution, so I am looking for a solution to this. Is it as simple as modifying the media_profiles.xml file and installing a different camera app?
I don't know a lot about android development, but I am making it a point to learn as much as I can, and I have put quite a lot of research into this idea before posting here, including searching on XDA. I work in Software Application Support for a small CRM, and I have years of experience doing mods and customization on android devices, so I am familiar with the landscape here and I should at least be able to understand any answer no matter how technical.
Thank you for your help!
Click to expand...
Click to collapse
I don't know much about Kirin SOC but with say QCOM to be able to encode via software using say FFMPEG the ISP would have to return preview frame with UHD Dimensions.
Its probably Capable of Encoding 4K maybe can check if it can be modded by understanding how everything works .
1st Check in /system/vendor/lib /system/lib/ lib64 for any file containing the word camera zip them attach them to your post
2nd download freedcam from play store in the menu scroll down and save camera parameters attach the file outputted to /DCIM/FreeDCam
Sent from my NX503A using XDA Free mobile app

Categories

Resources