maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Compiling rtmpdump V2.4 for the n900 (https://talk.maemo.org/showthread.php?t=87184)

macey 2012-10-02 11:58

Compiling rtmpdump V2.4 for the n900
 
Hello, for various reasons, I would like to compile rtmpdump V2.4 for
the N900. I am fairly tech-savvy but my computing skills are very old (ex-mainframe sysprog) Obviously, I have the source code and libraries. I believe I have to install Scratchbox and Maemo_5_SDK
(on my Linux pc).

Would anyone here kindly be prepared to guide an "old fart" through the complete process please?
:D:)

I am aware that V1.9 is available from the repos.

marxian 2012-10-02 12:37

Re: Compiling rtmpdump V2.4 for the n900
 
Nice guide to installing Scratchbox and SDK: http://www.developer.nokia.com/Commu..._for_beginners

szopin 2012-10-02 15:35

Re: Compiling rtmpdump V2.4 for the n900
 
1 Attachment(s)
Compiling on device might be faster. You can get gcc 4.2 (build-essentials on sdk repo), 4.4 from tannerlab repo or 4.6 (or is it 4.7 now) from Aapo on devel. Attached is latest git version

macey 2012-10-02 16:01

Re: Compiling rtmpdump V2.4 for the n900
 
Quote:

Originally Posted by szopin (Post 1275340)
Attached is latest git version

Thanks for that. Can you tell me how to install the shared libraries please?

szopin 2012-10-02 16:08

Re: Compiling rtmpdump V2.4 for the n900
 
You can either place librtm* in /usr/lib or keep it in the same directory as executable and run 'export LD_LIBRARY_PATH=.' before starting rtmpdump.

macey 2012-10-03 06:56

Re: Compiling rtmpdump V2.4 for the n900
 
Quote:

Originally Posted by szopin (Post 1275340)
....You can get gcc 4.2 (build-essentials on sdk repo), 4.4 from tannerlab repo or 4.6 (or is it 4.7 now) from Aapo on devel. Attached is latest git version

Hello again, can I ask you to clarify the repo's for build-essentials please?
Thanks again.

Wikiwide 2012-10-03 10:51

Re: Compiling rtmpdump V2.4 for the n900
 
Quick reply...
Since I don't know answer to the question, and wish to call for somebody who is better acquainted with SDK repository: bump.
I have used rtmpdump several times before, but I don't understand it at all. Maybe, later there will be time to read about RTMP streams.
Best wishes.

macey 2012-10-03 11:35

Re: Compiling rtmpdump V2.4 for the n900
 
http://repository.maemo.org/pool/mae...sso1_armel.deb

n900_ 2012-10-03 11:40

Re: Compiling rtmpdump V2.4 for the n900
 
1 Attachment(s)
I compiled 2.3.1.(optifed deb)

Android_808 2013-05-01 20:19

Re: Compiling rtmpdump V2.4 for the n900
 
This is the first time I've attempted to package anything for Maemo and the first time I've had to create the required rules/control files etc. All my previous experience with Debian was in recompiling existing packages which didn't require much editing.

I have attempted to package the current Wheezy version, keeping the split packages for rtmpdump, librtmp0 and librtmp-dev. I have excluded the Makefile patch for now, not really sure what difference it makes. Stock version cd's into directory then runs make, patched supplies directory to make -C.

Package is not optified yet or signed.

As this is my first, wip, package I will not provide a deb in case there is something wrong with it. Feedback from more experienced users would be greatly apprectiated.

Once tested, I'm gonna update get_iplayer and then work on a UI if I get time.

Edit: removed attachments as they were outdated.

Android_808 2013-05-03 16:58

Re: Compiling rtmpdump V2.4 for the n900
 
I've an updated package with icon from old version and some Maemo specific tags. I'll try to post it later or over weekend.

I have tried to package get_iplayer-2.82-2 but I'm getting some issues, I think because it's not signed. web pvr script works BUT it does't work, page never changes. I've a few changes to make to options file, to get it to default to a sane output directory and quality that is playable.

Android_808 2013-05-03 20:33

Re: Compiling rtmpdump V2.4 for the n900
 
Updated files as promised earlier.

* Maemo specific entries in control file for changes and HAM entry
* rtmpdump has logo in HAM from the existing 1.9 version.
* Tested on my phone
* Not signed or optified. I haven't read up on that yet :p

I have tested this on my device now and it seems to be working ok. I'm attaching debs only for those who want to test but due to limit of 5 files I can't upload librtmp-dev*.deb

Edit: removed old links.

Android_808 2013-05-04 16:44

Re: Compiling rtmpdump V2.4 for the n900
 
3 Attachment(s)
Updated debs.

* Signed, not that it makes any difference.
* Optified using maemo-optify-deb
* Tested on my phone

As a bonus, optified version of get_iplayer from Wheezy minus the LiveTV patch at the moment. Web-PVR included but doesn't display correct - doesn't change, just reloads same page. Modified options to download to /home/user/MyDocs/.video and modes=flashstd,flashnormal,flashlow,flashaachigh,f lashaacstd

Kozzi 2013-05-04 21:52

Re: Compiling rtmpdump V2.4 for the n900
 
Please have this compiled for N9 also, currently there is only 1.9 which doesn't support securetoken and rtmp(e/te) protocols.

Android_808 2013-05-04 22:31

Re: Compiling rtmpdump V2.4 for the n900
 
i'll try to have a look but I don't have an n9 to test it on. i'll look into it and post back here.

any feedback on n900 build appreciated.

Android_808 2013-05-27 16:48

Re: Compiling rtmpdump V2.4 for the n900
 
2 Attachment(s)
Latest version of package for Debian "Jessie", optified for N900. I haven't had chance to look at N9/N800 yet.

The previous release works fine, just testing these out.

Android_808 2013-06-07 11:31

Re: Compiling rtmpdump V2.4 for the n900
 
All new build will be here: http://talk.maemo.org/showthread.php?t=90386

Kozzi 2013-07-18 06:50

Re: Compiling rtmpdump V2.4 for the n900
 
bump, any news regarding N9 version ?

Android_808 2013-07-18 17:19

Re: Compiling rtmpdump V2.4 for the n900
 
Sorry, I still haven't had time. Been on holiday so I left all projects as they were. Came back to and decided it was time to sort through the 1200 unread emails!

Edit: I'm trying to setup a VM at the moment.
Edit 2: Will have to wait till tomorrow, VM run out of disk space.

Android_808 2013-07-19 09:43

Re: Compiling rtmpdump V2.4 for the n900
 
3 Attachment(s)
WARNING: THESE ARE *NOT* TESTED ON A REAL DEVICE!

Ok, here goes. Installed a new VM this morning (Debian 7+XFCE), and setup the SDK. Package is same version as N900 but it is closer to the original Debian control files.

I've edited the ssl library used so that it is openssl and lowered the debhelper requirements from 8.x to 7 in rules and changed 9 to 7 in compat. *.install files had extra */ for multiarch support removed. There are a few other cleanups regarding multiarch I can do but I just want to test a version first.

I don't have an N9 to test these with. I know zippo about aegis as a result, so I may be missing something there. They run in both x86 and armel scratchbox targets, that's all I know.

Edit: forgot, not optified or anything like that

Android_808 2013-07-30 20:18

Re: Compiling rtmpdump V2.4 for the n900
 
Any feedback from real devices?


All times are GMT. The time now is 01:12.

vBulletin® Version 3.8.8