The Following 3 Users Say Thank You to Estel For This Useful Post: | ||
|
2011-12-07
, 23:18
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#692
|
Finally, I have pushed the maemo6-patches branch to gitorious, so you should be able to see the code. There's really not much of a difference from upstream, as I have tried to make the diff as small as possible.
The Following 4 Users Say Thank You to pali For This Useful Post: | ||
|
2011-12-08
, 15:39
|
Posts: 65 |
Thanked: 143 times |
Joined on Dec 2009
@ Helsinki
|
#693
|
See http://elinux.org/N900#Status :-)
|
2011-12-09
, 14:36
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#694
|
|
2011-12-09
, 16:16
|
Posts: 65 |
Thanked: 143 times |
Joined on Dec 2009
@ Helsinki
|
#695
|
@felipec - BTW maybe there is a minor glitch in h264 encoder. I will post it here as I am not really sure whether the bug is in maemo6 or maemo5 gst-dsp (and if it is a bug at all). Anyway maemo6 gst-dsp sets nal_mode = 2 while maemo5 one sets nal_mode = 0 for bytestream format.
The Following User Says Thank You to felipec For This Useful Post: | ||
|
2011-12-09
, 16:23
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#696
|
Nope, its 0 in maemo6 as well: tidsp/td_h264enc.c. But tidsp/td_hdh264enc.c is a completely different algorithm.
The Following User Says Thank You to freemangordon For This Useful Post: | ||
|
2011-12-09
, 16:27
|
Posts: 65 |
Thanked: 143 times |
Joined on Dec 2009
@ Helsinki
|
#697
|
Nope, it is not https://meego.gitorious.org/maemo-multimedia/gst-dsp/blobs/maemo6-patches/tidsp/td_h264enc.c#line84
The Following User Says Thank You to felipec For This Useful Post: | ||
|
2011-12-09
, 16:35
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#698
|
Oh, the value of 2 is clearly documented as bytestream, with NALU sizes, and it's not specific to maemo6, it has been in upstream gst-dsp for a long time:
https://github.com/felipec/gst-dsp/c...6c76623b574aa2
The Following User Says Thank You to freemangordon For This Useful Post: | ||
|
2011-12-09
, 16:55
|
Posts: 65 |
Thanked: 143 times |
Joined on Dec 2009
@ Helsinki
|
#699
|
Sure, but when using 2 for nal_mode and make a videocall to another n900 with stock maemo5 DSP binaries and stock maemo5 gst-dsp, the video shown on second device is like drugs addict dream, i.e. it cannot be properly decoded. While setting it to 0 fixes things. Anyway, as I said, maybe the problem is in stock codec/binaries. For now I will keep maemo5 build with value of 0.
The Following User Says Thank You to felipec For This Useful Post: | ||
|
2011-12-09
, 17:03
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#700
|
The problem is not the nal_mode, the problem is the lack of SPS/PPS, you probably can remove the call to h264venc_strip_sps_pps_header() and it will work the same as nal_mode=0. But that's not proper.
The lack of SPS/PPS should not be a problem, and in any case, rtph264pay has an option 'config-interval' that should be set to some value if you want to re-send SPS/PPS.
Also, you need to make sure mode=1 is set, and maybe play with intra-refresh.
The Following User Says Thank You to freemangordon For This Useful Post: | ||
Tags |
balls, gpl violation, hackjobs, lgpl violation, nokia, upgrade..., video player |
|
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!