Possible to increase video bitrate with stock camera app? - Samsung Galaxy S7 Questions and Answers

I find the video to be a little too compressed (artifacts visible) depending on framerate and resolution. 1080p 60fps just gives me 17mbit/s wich is really low.
So what do you think, is it possible to adjust the bitrate somehow? Maybe someone can decompile the app and find the line for that setting?
This would be really great!
Thanks for your answers!

UPS

UP

Did another check to confirm this, so here are the bitrates:
2160p 30fps: 48mbit/s
1080p 60fps: 28mbit/s
1080p 30fps: 17mbit/s
720p 240fps: 72mbit/s
Audio: AAC 48kHz 256kbit/s
While the bitrate is ok for 4k video (still could be a bit higher), it is unacceptable for both of the 1080p settings. The colors really look washed out here and there are artifacts all over the video.
720p 240fps however has a pretty high bitrate, which is needed for the many pictures/second.
I would love to see ~40+ mbit/s at 1080p and a little more, maybe ~60 mbit/s at 4k.
Maybe someone with proper knowledge can look into this

Yes!
I also look forward to that!
Very much needed

Bump. Yes this would be awesome. You would think it was the camera app that needs adjustment... but I am not a dev so I can't be sure. Also, how about USB web cam tethering?

Just flash the camera mod zip from the mod section and increase all your bitrates instantly??

Related

What format to convert video to?

I use handbrake at home to convert videos, but at the moment it seems to be a bit hit and miss when it comes to working it on the Nexus.
I've installed Meridian and Video Player from the market, both read videos the same way.
So I converted 5 videos with no problem, they were relatively short. But when I did a longer conversion (dvd which was 1hr 30) it just didn't like it. Plays on my PC fine.
I cant remember which settings I used, so can anyone recommend what settings to use in handbrake? Or is there better software to convert movies with? Or is there a better media player on the market?
mp4 with h264. If I remember right there is still an iPod profile. The newer version did away with a lot of the profiles but that one should be around. With this screen you do not need to scale down the image but it would help for space.
When I get home I can post more detailed settings if need be.
I'm using Allok Mpeg4 converter at 720x480
i found using handbrake that h.264 doesn't work on the nexus, but the regular mp4 codec does
xtop said:
i found using handbrake that h.264 doesn't work on the nexus, but the regular mp4 codec does
Click to expand...
Click to collapse
Not to be anal but mp4 is a container format (like ogg), not a codec (like vorbis). MPEG-4 part 2 is the "default" visual codec component. In reality it is not anymore. H.264 is also part of the MPEG-4 specification, MPEG-4 part 10 to be precise. In handbrake H.264 is the default for the mp4 container.
I am certain that h.264 can work on the N1. I have a few time wasters I keep on my phone. The more operative question is whether the current handbrake ripping to m4v works for the N1. I am reripping a film right now using the iPhone profile....
And using the iPhone & iPod Touch preset in Handbrake 0.9.4 the rip worked fine. Which preset did you use? Keep in mind some of the higher h.264 profiles might not work on the phone.
Personally I would probably up the picture settings to match the N1's resolution and maybe bump the quality down if worried about space. I was able to play a h.264 set to high settings but I am not sure what the exact settings were. It appears the N1 can handle most, if not all, h.264 profiles.
ive done this, works perfectly with 720p mkv's
HANDBRAKE:
set vid profile to normal,
container: MP4 800 x 480 ,, check the keep aspect ratio, anamorphic off, bitrate 1500
audio AAC, 44.1khz, bitrate 96 stereo
save profile, load file
your jaw is gonna drop if you use these settings and encode a 720p mkv
kscasper13 said:
ive done this, works perfectly with 720p mkv's
HANDBRAKE:
set vid profile to normal,
container: MP4 800 x 480 ,, check the keep aspect ratio, anamorphic off, bitrate 1500
audio AAC, 44.1khz, bitrate 96 stereo
save profile, load file
your jaw is gonna drop if you use these settings and encode a 720p mkv
Click to expand...
Click to collapse
Thanks for the info, gonna try it right now
Just so you have optoins I use Handbrake, just converted American Pie The naked Mile from DVD and it looks good. Here's my settings:
Container: MP4 File
Picture Tab: Set Anamorphic to None
Select Keep Aspect Ratio. It should auto scale the hight to proper hight
Video Tab: Video Codec to MPEG-4
Average Bit Rate to 700. You can use previously recommended 1500 but this will make a large file and I'm not sure you will see the difference in
quality on out small screens.
Audio Tab: Leave everything default accept the Samplerate set to 44.1
Click Start!!!!
kscasper13 said:
ive done this, works perfectly with 720p mkv's
HANDBRAKE:
set vid profile to normal,
container: MP4 800 x 480 ,, check the keep aspect ratio, anamorphic off, bitrate 1500
audio AAC, 44.1khz, bitrate 96 stereo
save profile, load file
your jaw is gonna drop if you use these settings and encode a 720p mkv
Click to expand...
Click to collapse
800x480 with aspect ratio might aswel be 720x480
and the bitrate, as setzer said wont make to big of a difference on a small screen. 768-1024 are fine. 1500 appears to be a random number you chose as typical bitrates go from 768, 1024, 2048 etc
yea you can prolly set the vid bitrate lower, that's just what it was default and the movies come out perfect, i'm still testing other settings.
m00moo said:
800x480 with aspect ratio might aswel be 720x480
and the bitrate, as setzer said wont make to big of a difference on a small screen. 768-1024 are fine. 1500 appears to be a random number you chose as typical bitrates go from 768, 1024, 2048 etc
Click to expand...
Click to collapse
yes it DOES make a difference, since our screen's are 80 pixels wider than 720
t
kscasper13 said:
yes it DOES make a difference, since our screen's are 80 pixels wider than 720
Click to expand...
Click to collapse
u dnt seem to quite understand. a typical video is made to have certain resolutions. obviously by converting a video u wil want to maintain the original aspect ratio, unless of course u dnt mind watching a stretched un porportioned video. that is why most converters have preset res already set to keep those aspect ratios and quality.from what u already said, u are watching a video stretched 80pixels too wide.
16/9 is the closest we have to a ratio standard, and 720x480 doesn't match that.
If your source is more than 800 pixels wide, the best setting is to scale the width down to 800 and let the height scale down proportionately. On a 16/9 video, this will leave very thin black bars on the bottom and top of your phone's screen. If these bother you, you will need to fiddle with Handbrake's crop settings.
If your source is smaller than 800 pixels wide, then you should just leave the resolution the same as the source. Upconverting will not make the picture any better and will just increase the filesize/bitrate.
As for bitrate, I've found that 1000-1500 looks amazing if you are converting HD video, but if you're converting SD then around 750 is sufficient.
A non-widescreen source will leave black bars to the left and right on your phone - you can get around this in two ways - firstly by stretching the picture which looks ugly IMO, or by doing your own cropping of the top and bottom of the picture during conversion.
JanetPanic said:
Not to be anal but mp4 is a container format (like ogg), not a codec (like vorbis). MPEG-4 part 2 is the "default" visual codec component. In reality it is not anymore. H.264 is also part of the MPEG-4 specification, MPEG-4 part 10 to be precise. In handbrake H.264 is the default for the mp4 container.
I am certain that h.264 can work on the N1. I have a few time wasters I keep on my phone. The more operative question is whether the current handbrake ripping to m4v works for the N1. I am reripping a film right now using the iPhone profile....
And using the iPhone & iPod Touch preset in Handbrake 0.9.4 the rip worked fine. Which preset did you use? Keep in mind some of the higher h.264 profiles might not work on the phone.
Personally I would probably up the picture settings to match the N1's resolution and maybe bump the quality down if worried about space. I was able to play a h.264 set to high settings but I am not sure what the exact settings were. It appears the N1 can handle most, if not all, h.264 profiles.
Click to expand...
Click to collapse
you're right, didn't mean to say codec..thanks for correcting me
but it didn't seem to matter what i picked..normal, high profile, ipod touch, etc. anything i encoded to h.264 WON'T play. now maybe i'm overlooking something (likely), but who knows
edit: you handbrake users. do you change the audio settings at all? and do you do 2 pass, and would that help with anything?
i've noticed my encodes get a little blocky here and there, would 2 pass fix that?
kscasper13 said:
ive done this, works perfectly with 720p mkv's
HANDBRAKE:
set vid profile to normal,
container: MP4 800 x 480 ,, check the keep aspect ratio, anamorphic off, bitrate 1500
audio AAC, 44.1khz, bitrate 96 stereo
save profile, load file
your jaw is gonna drop if you use these settings and encode a 720p mkv
Click to expand...
Click to collapse
Brilliant advice, worked a treat! Thanks a lot
m00moo said:
t
u dnt seem to quite understand. a typical video is made to have certain resolutions. obviously by converting a video u wil want to maintain the original aspect ratio, unless of course u dnt mind watching a stretched un porportioned video. that is why most converters have preset res already set to keep those aspect ratios and quality.from what u already said, u are watching a video stretched 80pixels too wide.
Click to expand...
Click to collapse
ggggodddddi i was kidding u doof
and yes i understand bitrate an d resolutions, i went to school for 3d rendering, but thanks for the gradeschool lesson on resolution gates.
tvrf21 said:
Brilliant advice, worked a treat! Thanks a lot
Click to expand...
Click to collapse
no worries buddy, soon ima figure out the cropping settings sop it fills the screen, even though it doesn't bother me one bit
I currently use the following (for 16x9 content)
Code:
ffmpeg -i Input.avi -acodec libfaac -ac 2 -ar 44100 -ab 128k -s 800x450 -vcodec libx264 -b 700k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 400k -maxrate 700k -bufsize 400k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 15 -qmax 51 -qdiff 4 -level 30 output.mp4
I miss out "-s 800x450" if the source material is under that already, no point scaling it up when the N1 will do it for you. For 4:3 I'd use "-s 640x480"
I use the program Flash to Video PRO, to me has very much helps.
The reason why above poster chose 1500 bitrare when converting from a 720p video is because from what I have found to be the highest bitrate the N1 will support (or all the video players on the market atleast) btw use mVideoPlayer by far the best video player...
I might also add that the latest version of AnyDVD converter has a converting option built in for the nexus ... wich is basically the same as aboves post handbreak settings..

Choppy video?

I was curious if anyone else is having chopping video performance on a 1080p video? I have 720p videos play fine but 1080p video's stutter every few seconds. Any ideas? Its hard to show off the screen when video playback is poor.
There is no difference between a 720p video and a 1080p video on this phone. The screens not big enough to make a difference. Convert your video to 720p or lower if u want to play it on your phone.
caelestis2 said:
There is no difference between a 720p video and a 1080p video on this phone. The screens not big enough to make a difference. Convert your video to 720p or lower if u want to play it on your phone.
Click to expand...
Click to collapse
He is correct. Make sure you convert the video to the proper resolution and format for best performance. No need to make the phone work harder to decode video from a format you will not gain from.
Storing 1080p video would only seem to benefit if you intend to use an external display. Are you using an external adapter(usb to hdmi or analog) for playback?
Thanks for the replies. I knew that this was the case. When testing the video capabilities, I downloaded a bunch of random HD video samples. Some 720p some 1080p. The 1080p seems to work flawlessly if I taskill everything but I shouldn't have to do that. I guess I'll just stick to 720p unless I'm hooking up to a TV.

[Q] Is i possible to change video recording resolution

Hey, i wnated to know, if it is possible to set a custom resolution for recording video. i know it is not possible to use higher bitrate or anything, but a 2k resolution in 1:2,35 aspect ratio is actually fewer pixels than a standard 1080p recording. So my question is this; is there any way or application that will let me change the resolution of my video recordings, while maintaining the standard bitrate. I am specifically talking about the SGSII....
or is there any way i can experiment with overriding the standard resolutions?

4k video and slomo

Is it possible to capture 4k and slomo (or even raw dng) video with this phone via a mod or a 3rd party app? I'm thinking of getting this phone if it thus
You can do slow motion with SloPro but the playback won't be smooth with the stock 30fps video recording. Anyone knows a way hack the fps limit?? Please tell meeee..........
Our device do not support 4k videos may be 2k can be possible with mod
whether it was possible to record in resolutions higher than 1080p?

Video recordings frame rate drops

Hello.
Yesterday I've got a gimbal and started to test it out. I went out of the home, started to record some footage with [email protected] Then I came back to home to see how good the gimbal is.
The gimbal was good, but unfortunately video frame rate wasn't at all. Stuttering was very visible, that effect destroys everything (if you are gamer, you know what I'm talking about).
Later, I've checked the parameters via MediaInfo app. I was stunned that minimum frame rate @60fps was only 29.20 and @30FPS only ~7FPS! (resolution doesn't matter - the same results at 1080p and 4k)
I have additional iPhone SE, which minimum framerate @60fps (up to 1080p resolution) was 54.545 and @30FPS 28.571.
Do you have the same results? Why there are such FPS drops?
marjanoos said:
Hello.
Yesterday I've got a gimbal and started to test it out. I went out of the home, started to record some footage with [email protected] Then I came back to home to see how good the gimbal is.
The gimbal was good, but unfortunately video frame rate wasn't at all. Stuttering was very visible, that effect destroys everything (if you are gamer, you know what I'm talking about).
Later, I've checked the parameters via MediaInfo app. I was stunned that minimum frame rate @60fps was only 29.20 and @30FPS only ~7FPS! (resolution doesn't matter - the same results at 1080p and 4k)
I have additional iPhone SE, which minimum framerate @60fps (up to 1080p resolution) was 54.545 and @30FPS 28.571.
Do you have the same results? Why there are such FPS drops?
Click to expand...
Click to collapse
The only problem I've noticed with video is that I can't play 4K60fps on my computer in WMP, gonna contact OP6 support about it. Here is the description of my problem, posted yesterday:
https://forum.xda-developers.com/oneplus-6/help/strange-4k60fps-video-file-t3848611
mzsquared said:
The only problem I've noticed with video is that I can't play 4K60fps on my computer in WMP, gonna contact OP6 support about it. Here is the description of my problem, posted yesterday:
https://forum.xda-developers.com/oneplus-6/help/strange-4k60fps-video-file-t3848611
Click to expand...
Click to collapse
Could you check your parameters, please? Min framerate especially?
marjanoos said:
Could you check your parameters, please? Min framerate especially?
Click to expand...
Click to collapse
The frame rates in my videos seem fine, only about 2-3fps below the nominal and, by the way, I've gotten a response from OP1 support in regard to my problem: it's a known problem, the WMP just can't play high fps videos. That's ok, I like VLC player, it has more features.
And you've checked it with some software?
marjanoos said:
And you've checked it with some software?
Click to expand...
Click to collapse
No, just by right clicking on the file >Properties>Details
mzsquared said:
No, just by right clicking on the file >Properties>Details
Click to expand...
Click to collapse
It's not measureable because it's only average FPS. If you have MediaInfo software, it will show you minimum frame rate which is the most crucial for smoothness.
marjanoos said:
It's not measureable because it's only average FPS. If you have MediaInfo software, it will show you minimum frame rate which is the most crucial for smoothness.
Click to expand...
Click to collapse
Right, the playback fps which is related to the video player processing abilities, if the video player can't handle it then it drops fps. But the overall recorded video fps rate is written in those file details, it's all up to the playback device to handle that speed, just like having inadequate GPU for advanced video games, you can't blame the game itself for slowing down and skipping. My 60fps videos are fine, I just wrongly confused myself thinking that there's something wrong with my phone, no, it was the WMP player - the VLC handles the 4k60 with ease.
Now, do you see a jittery playback while viewing it on your phone screen alone?
mzsquared said:
Right, the playback fps which is related to the video player processing abilities, if the video player can't handle it then it drops fps. But the overall recorded video fps rate is written in those file details, it's all up to the playback device to handle that speed, just like having inadequate GPU for advanced video games, you can't blame the game itself for slowing down and skipping. My 60fps videos are fine, I just wrongly confused myself thinking that there's something wrong with my phone, no, it was the WMP player - the VLC handles the 4k60 with ease.
Now, do you see a jittery playback while viewing it on your phone screen alone?
Click to expand...
Click to collapse
My CPU is i7 6700 so it's not lack of power issue. And yes the frame skipping is visible while watching it on my phone. Moreover, it's visible even on the screen while the camera app is open and I'm not recording anything. Maybe it's autofocus related issue?
marjanoos said:
And yes the frame skipping is visible while watching it on my phone.
Click to expand...
Click to collapse
In that case you should contact OnePlus technical support, hopefully they'll figure it out.

Categories

Resources