maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Jolla1 & TOH (https://talk.maemo.org/forumdisplay.php?f=56)
-   -   Video Bitrate "hack" (https://talk.maemo.org/showthread.php?t=92230)

Morpog 2013-12-31 16:24

Video Bitrate "hack"
 
Some of you may have noticed, that the videobitrate is kinda low for 1080p video (around 12Mbit/s).

I've found a gstreamer preset file where we can change this. 24Mbit was too much, I tried upto 20Mbit/s which seems to work without framedrops. I tried changing framerate (at 30 currently) and audio bitrate (AAC at 128Kbit/s) too, but failed so far.

All you need to do is change in the following file:

/usr/share/jolla-camera/presets/GstOMXMPEG4VideoEnc-omxmpeg4videoenc.prs

the line:
target-bitrate=12000000

to the following:
target-bitrate=20000000


Maybe someone else with more gstreamer knowledge can dig more options out of this.

http://abload.de/img/unbenanntl4ssn.png

shmerl 2014-01-01 05:14

Re: Video Bitrate "hack"
 
Sorry, misread the post. It's about the camera encoder.

olympus 2014-01-16 16:07

Re: Video Bitrate "hack"
 
Any news on this?

Morpog 2014-01-17 09:39

Re: Video Bitrate "hack"
 
Not yet, had a chat with a Jolla emloye about it, but he had holidays at that time ;)

Meanwhile I started this on together: https://together.jolla.com/question/...in-camera-app/

Please vote up!

Kake41 2014-01-19 13:56

Re: Video Bitrate "hack"
 
Quote:

Originally Posted by Morpog (Post 1402552)

All you need to do is change in the following file:

/usr/share/jolla-camera/presets/GstOMXMPEG4VideoEnc-omxmpeg4videoenc.prs

the line:
target-bitrate=12000000

to the following:
target-bitrate=20000000


How can I edit that file on Jolla?

Edit: Never mind. I did a file with PC and moved it to Jolla with DropBox and moved it whit Terminal.
Video is more smoother now, thanks!

DeeGee 2014-01-19 19:41

Re: Video Bitrate "hack"
 
Oh, I hadn't realized that Jolla uses "old" MPEG4 h.263, instead of AVC/h.264. That would cause the need for higher bitrate. But there seems to be config file for h.264 aswell (GstOMXH264Enc-omxh264enc.prs), but not used for some reason?

V10lator 2015-09-05 10:14

Re: Video Bitrate "hack"
 
Quote:

Originally Posted by DeeGee (Post 1407562)
But there seems to be config file for h.264 aswell (GstOMXH264Enc-omxh264enc.prs), but not used for some reason?

I tried to force its usage by editing /etc/xdg/gstomx.conf but that broke the camera app copletely. Now my wild guess is that the camera hardware itself produces h.263 and the driver needs to be configured somehow but hopefully someone with more knowledge can help.

Fuzzillogic 2015-09-05 23:58

Re: Video Bitrate "hack"
 
In the upcoming release (due Monday, according to some tweets) the camera will use h.264. See comments on TJC topic.

MSameer 2015-09-06 00:10

Re: Video Bitrate "hack"
 
There are no tweets. I did the commit that switched recording to H264 myself ;-)

Fuzzillogic 2015-09-06 00:52

Re: Video Bitrate "hack"
 
I meant the tweets on SFOS 1.1.9/2.0 E.A.

But why did it took so long to enable H264? And why no hardware acceleration for audio/AAC? Is it because Qualcomm is hostile to open source?


All times are GMT. The time now is 08:25.

vBulletin® Version 3.8.8