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.
Hi.
so if i'm in the wrong section or if any moderator think that this is sh**t you can delete my post or etc.
I will do the example with a moto g , but this work on any device running kitkat
So, in android 4.4 google introduces a new feature called "Screen Recording" so the tool basically record your screen , i think that if we use some videos an pics in the OP of any rom we will have a better idea of what we will see in our device, if is smooth or slow, or laggy, etc
So basically you will need :
THIS JUST WORK ON DEVICES RUNNING KITKAT
Moto G Drivers(Or drivers of the android device)
ADB
Moto G(Or android device)
So
open a conosole were is adb (shift+open window command here)
remember check adb debugging
try:
adb devices
this will return something like that
https://drive.google.com/file/d/0B9MUCjEugQjgVmpLc0tOSVIxbTQ/edit?usp=sharing
so, if our device is detected we use the next instructions(basic commando):
adb shell screenrecord /sdcard/demo.mp4
if we put attention we will see that the video will be saved in the sdcard(in the root), we can change were the video will be saved, and we see too that demo.mp4 is the name of the video, you can change the name but remember put .mp4 in the end, the length of time it records (the default duration is 3-minutes) and this comand would record at 4mbps THIS COMMAND IS THE BASIC
so this look like that:
https://drive.google.com/file/d/0B9MUCjEugQjgenVMWGhXeG9YRkE/edit?usp=sharing
we know that the video will be in /sdcard/ with the name demo.mp4
so another example of code will be this:
adb shell screenrecord --bit-rate 8000000 --time-limit 30 /sdcard/kit.mp4
now the bitrate of the video will be 8mbps and the time now will be 30 seconds and the name of the video is kit and will be saved in the root of our sdcard.
this look like:
https://drive.google.com/file/d/0B9MUCjEugQjgeER2bGhHcTRPdzQ/edit?usp=sharing
now we have our video, so we will pull the video from our sdcard to our pc:
adb pull /sdcard/kit.mp4
https://drive.google.com/file/d/0B9MUCjEugQjgMTdpbjc3ZHV3Smc/edit?usp=sharing
and DONE we have a little record about our rom,etc
i repeat this is the basic example. a lot of commands are in this page http://developer.android.com/tools/help/adb.html#screenrecord
This are more commands , just added in the command before put /sdcard/
Options Description
--help=======Displays a usage summary.
--size <WIDTHxHEIGHT>======Sets the video size, for example: 1280x720. The default value is the device's main display resolution (if supported), 1280x720 if not. For best results, use a size supported by your device's Advanced Video Coding (AVC) encoder.
--bit-rate <RATE>=======Sets the video bit rate for the video, in megabits per second. The default value is 4Mbps. You can increase the bit rate to improve video quality or lower it for smaller movie files. The following example sets the recording bit rate to 6Mbps:
screenrecord --bit-rate 6000000 /sdcard/demo.mp4
--time-limit <TIME>======Sets the maximum recording time, in seconds. The default and maximum value is 180 (3 minutes).
--rotate=======Rotates the output 90 degrees. This feature is experimental.
--verbose=======Displays log information on command line screen. If you do not set this option, the utility does not display any information while running.
And one more thing you can find all the requirements here :
Drivers For The moto g(download device manager)------https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/97326/p/30,6720,9050/action/auth
Minimal Adb(Thanks to him)----- http://forum.xda-developers.com/showthread.php?t=2317790
Example of the Results:
http://www.youtube.com/watch?v=22C2w6FswAg&feature=youtu.be
Thanks to :
Google
Motorola
@shimp208
and maybe ... me....
THANKS!~ that's really helpful
Download Links
Oneplus Camera With 10.or G Watermark.apk
How to enable watermark?
Open app
Swipe from the bottom
Tap the settings/gear icon from the upper right side
Tap Watermark Settings
Enable watermark
[Optional] Enable name then put any text on the space below
You now have a camera app than generates watermarks automatically!
WATERMARK FORMAT
-10.or G
-subtext is fully user customizable
REQUIREMENTS
-Android Nougat 7.0 and up only
-NO ROOT NEEDED
60 fps video
The video taken in 10 or G in 60 fps doesn't play after 2 seconds..The video stops at a particular second but the audio keeps playing..
One Plus
Make it new version port for 10 or e.
here is a version of the gcam app that works on tenor g, no root no camera2api nothing required. tested working 99% hdr+ doesnt seem to be working, and for video to work the resolution has to be set to 720p
http://www57.zippyshare.com/v/nJcD4q2q/file.html
Some Camera Apps That Work On 10.or G
No 5. Camera51 - a smarter camera 1.1.6
Camera51 automatically detects and analyzes faces, scenes, objects and lines and guides you to the perfect frame in every click.
Camera51 invites you to start taking photos like a professional. It utilizes photography principles used by professional photographers and artists and applies this vast knowledge base in a fun and intuitive interface.
All you have to do is place the smartphone icon in the "Aim-Box" and BAM! you've got yourself a photo that looks like a million bucks.
Features:• Auto framing / auto composition technology: Identifies and automatically selects the main objects and lines of the photo to determine real time framing guidance.
• Auto selfie: Don’t go crazy, snap the ultimate selfie, automatically, whether by yourself or in a group without stretching your fingers and reaching to push the button.
• Manual object selection: Users have the option to manually select an object by just tapping the screen, to determine framing guidance, focus, and exposure.
• Multi object selection: Allows users to select up to three different objects of interest per photo.
• Peripheral object alert: Enables the app to notify you of prominent objects that may interfere with your frame boundaries.
No 4. Nokia Camera 86.9.1130.51 Mostly Buggy but the slo mo video works great, this would be the only reason to use it
Description
• Easy to use camera interface allows you to focus on the moment.
• Switch between key camera modes i.e. Photo, Video, Live Bokeh, Slow motion, Time-lapse, Panorama modes with one touch.
• Fully integrated Google Lens answers questions about the world around you in real time like overlaying information about objects right in the viewfinder or you are able to copy-paste text from the real world to your phone.
• Google Motion lets you capture exciting short videos and transforms them into beautiful cinemographs.
• Our Pro camera mode gives you the ultimate level of control over your photo – have fun experimenting and creating unique compositions.
• Dual-Sight photos and videos use the front and rear cameras simultaneously, allowing you to capture both the action and your reaction in a split-screen photo or video. And now, with ‘You Decide’, you can control which camera takes the first shot, freeze it, then set up and capture the second half in your own time. Plus with the ‘Infinitely Adjust’ feature you can adjust the proportion when taking Dual-Sight photos or videos, letting you decide whether to show more from your front or rear camera.”
• Use all of these features and live stream to Facebook or YouTube with a single touch – all from within the app.
No 3. HedgeCam 2: Advanced Camera Can Record 4K Timelapse Video
* Flexible photo and video settings.
* Support for focus modes, scene modes, color effects, white balance, ISO and exposure compensation.
* Customizable user interface.
* Advanced selfie mode. Start shooting by timer, face recognition, or voice commands.
*Control by hardware keys. Separate settings for each key.
* Display the angle of the device.
* Face detection support.
* Automatic image alignment based on accelerometer data. Now your photos will never be overwhelmed by the horizon.
* Support of exposure bracket.
* HDR (High Dynamic Range) and DRO (Dynamic Range Optimization) photo modes.
* Flexible settings of sounds: the ability to turn off the sound of the shutter, select the sound of the shutter (not supported by all devices), adjust the volume of sounds.
* Location of the interface for the right-hander or the left-hander.
* Widgets that allow you to take a single click to take a photo or start recording a video.
* Support for Camera2 API: manual focus distance; manual ISO; manual exposure time; manual white balance temperature; * RAW (DNG) files support.
* Focus bracketing mode.
No 2. OnePlus Camera 2.5.34
No 1. Google Camera 4.1.006.135988111
Never miss a moment with Google Camera, and take fantastic pictures using features such as HDR+ and Smartburst.
Features
• HDR+ - Take pictures using HDR+ to capture fantastic photos, especially in low-light or backlit scenes.
• Video Stabilization - Capture exceptionally smooth videos even if your hands shake.
• Smartburst - Hold down the shutter button to automatically capture a stream of photos and make moving GIFs.
• Photo sphere - Create immersive spherical photos.
• Lens Blur - Add elegant background blur (bokeh) to close-up pictures.
• Slow Motion - Capture action in epic slow motion video (up to 240fps on some supported devices).
How the Kirin 970 uses Handheld Super Night Mode to Take Better Photos at Night
When it comes to smartphone photography, the most challenging shots are always going to be night shots. Situations with limited light most often result is grainy unusable photos for devices with weaker cameras. The Kirin 970’s AI chip helps to solve this issue with “Handheld Super Night Mode”.
One way to achieve better night shots is to set your phone on a tripod and let your camera use a longer exposure and higher ISO. This is a bit inconvenient as most people obviously wont be walking around with tripods. To solve this issue, Honor uses the Kirin 970 to add “Handheld Super Night Mode” to their phones. This mode lets you take better night shots without having to setup any equipment.
Handheld Super Night Mode works by using powerful AI algorithms, and the quick processing ability of its Kirin 970. There are several techniques used to enhance your night time photos.
AI Detection of Handheld State
One of the key factors of Handheld Super Night Mode is how the phone uses the AI chipset to detect any hand-held jitter of the phone. To realize accurate and efficient detection, the AI system collected and analyzed tens of thousands of data records reflecting different types of photographers and their camera and tripod usage methods, designing a machine learning logic to understand their habits. As a result of implementing this massive amount of data, the Kirin 970 is able to detect when Handheld super night mode is needed in 0.2 seconds. Using this data, the average users is now able to take better night shots without having to use a tripod.
AI Photometric Measurement
The AI photometric measurement system controls the camera’s light intake. After you tap the shutter button, The AI will automatically set the exposure and number of frames based on the lighting scenario, brightness of the preview image, distribution of light sources, and jitter.
AI Image Stabilization
After all of your frames are captured from your night shot, they are merged into a single image. It is common that surring this process, night shots often turn out blurry. To avoid this, before the synthesizing process takes place, the AI the clearest frames and discards any of the bad ones. The clearest frames are used as the standard for the image, while the other frames that the AI has not discarded are automatically aligned. The AI-powered Kirin 970 chip detects feature points within each frame, matching these points and aligning them to to produce the cleanest image possible.
Image synthesis
The final step in Super Night Mode is image synthesis. For this step, customized algorithms have been computed for the AI system to increase the number of short-exposure frames in bright areas to avoid overexposure and the number of long-exposure frames in dark areas to improve detail retention. Frame differences are detected pixel by pixel. If differences are large, AI determines that alignment failed around the edges and conducts correction and repair to ensure the edge regions are still crisp and sharp enough after synthesis. Noise reduction is performed on multiple frames, thereby improving the image’s signal-to-noise ratio, and achieving a clearer, cleaner, and brighter night shot.
Photos Taken on the Honor 10
These photos were taken on the Honor 10, with the Kirin 970 AI chipset using Super Night Mode.
IMGUR Album
We thank Honor for sponsoring this post. Our sponsors help us pay for the many costs associated with running XDA, including server costs, full time developers, news writers, and much more. While you might see sponsored content (which will always be labeled as such) alongside Portal content, the Portal team is in no way responsible for these posts. Sponsored content, advertising and XDA Depot are managed by a separate team entirely. XDA will never compromise its journalistic integrity by accepting money to write favorably about a company, or alter our opinions or views in any way. Our opinion cannot be bought.
When it comes to smartphone photography, the most challenging shots are always going to be night shots. Situations with limited light most often result is grainy unusable photos for devices with weaker cameras. The Kirin 970’s AI chip helps to solve this issue with “Handheld Super Night Mode”.
One way to achieve better night shots is to set your phone on a tripod and let your camera use a longer exposure and higher ISO. This is a bit inconvenient as most people obviously wont be walking around with tripods. To solve this issue, Honor uses the Kirin 970 to add “Handheld Super Night Mode” to their phones. This mode lets you take better night shots without having to setup any equipment.
Handheld Super Night Mode works by using powerful AI algorithms, and the quick processing ability of its Kirin 970. There are several techniques used to enhance your night time photos.
AI Detection of Handheld State
One of the key factors of Handheld Super Night Mode is how the phone uses the AI chipset to detect any hand-held jitter of the phone. To realize accurate and efficient detection, the AI system collected and analyzed tens of thousands of data records reflecting different types of photographers and their camera and tripod usage methods, designing a machine learning logic to understand their habits. As a result of implementing this massive amount of data, the Kirin 970 is able to detect when Handheld super night mode is needed in 0.2 seconds. Using this data, the average users is now able to take better night shots without having to use a tripod.
AI Photometric Measurement
The AI photometric measurement system controls the camera’s light intake. After you tap the shutter button, The AI will automatically set the exposure and number of frames based on the lighting scenario, brightness of the preview image, distribution of light sources, and jitter.
AI Image Stabilization
After all of your frames are captured from your night shot, they are merged into a single image. It is common that surring this process, night shots often turn out blurry. To avoid this, before the synthesizing process takes place, the AI the clearest frames and discards any of the bad ones. The clearest frames are used as the standard for the image, while the other frames that the AI has not discarded are automatically aligned. The AI-powered Kirin 970 chip detects feature points within each frame, matching these points and aligning them to to produce the cleanest image possible.
Image synthesis
The final step in Super Night Mode is image synthesis. For this step, customized algorithms have been computed for the AI system to increase the number of short-exposure frames in bright areas to avoid overexposure and the number of long-exposure frames in dark areas to improve detail retention. Frame differences are detected pixel by pixel. If differences are large, AI determines that alignment failed around the edges and conducts correction and repair to ensure the edge regions are still crisp and sharp enough after synthesis. Noise reduction is performed on multiple frames, thereby improving the image’s signal-to-noise ratio, and achieving a clearer, cleaner, and brighter night shot.
Check out photo samples using walking night mode here.