Thanks for the patch. I am still not able to build a static mplayer - that is: I can build it but it only shows a 2 cm broad band with psychedelic colors in the top of my screen when playing...
There is gxine-0.2.1 as alternative - but I never managed to do a static xinelib that works.
Found a third way - a pre xine lib - but cant find my notes or remember the name. I think it was in one of the first puppys or maybe in a pre-puppy thing...
Would be nice to have a decent videoplayer....
Update: the name was xanim: http://xanim.polter.net/
Although it compiles I haven't been able to play anything with it...

Thanks for the patch. I am still not able to build a static mplayer - that is: I can build it but it only shows a 2 cm broad band with psychedelic colors in the top of my screen when playing...
There is gxine-0.2.1 as alternative - but I never managed to do a static xinelib that works.
Found a third way - a pre xine lib - but cant find my notes or remember the name. I think it was in one of the first puppys or maybe in a pre-puppy thing...
Would be nice to have a decent videoplayer....
Update: the name was xanim: http://xanim.polter.net/
Although it compiles I haven't been able to play anything with it...

sorry about that, the build takes a long time on my box and my cutdown static libraries were missing some encoding type symbols (it saves quite a bit to disable things like image output & compression and only read/decompress... but that was really leftovers from an experimentation to find out if it would be feasible to use a small shared lib for read/decode and static for write/encoding). I also found that there is not a large difference between tinyx11 and current if you simply remove the larger locales (just put a full version in a separate NLS pack.)
I'll take a look at gxine to see how hard it would be to patch a recent build, but iirc xanim supported few formats._________________Web Programming - Pet Packaging 100 & 101

Ibidem:Thanks!
technosaurus:A new mplayer (MPlayer 1.1) out - I will try to work a little with that one - although the configure options are more than 200 lines of possibilities - might get lost just trying to configure that beast!

Would be nice if there was a simple standalone avi-player and another simple mpg-player ala minimp3-player but I havent been able to track one...
Not sure if xine-lib can be build static at all?

The patch was against v1.1 ... I found it on ftp before the official release announcement and iirc the only options I passed were for enabling the GUI (i pass all of my CFLAGS in my gcc wrapper) the configure script worked fine, except my non-standard jpeg lib was missing encoding capability and I ran out of time to rebuild._________________Web Programming - Pet Packaging 100 & 101

Finally got xine-lib build and also gxine...but seems that xine-lib wont load plugins statically - so for now it seems as a no-go...

Mplayer-1.1 builds fine with normal glibc and dynamic linking. Video fails when linked static though. Did not manage to build it with uclibc/tinyX11.

But managed to "reproduce" a diet libc build of MPlayer 1.0pre7 with gcc 4.2.2. Ended up in 5847K (1927K upx) for mplayer and 4712K (1387K upx) for mencoder.

It plays mp3, avi, mpeg and dvd-isoimage/dvd in drive (dvd without sound ) with the standard Xvesa in P412 but unfortunatly the static build (uclibc/tinyX11) Xvesa has some problems so I have to dig into that (plays ok fullscreen Xvesa but not in windowed mode).

I expect to be able to decrease size or add/remove filters/drivers/features if I manage to transfer the build to uclibc/tinyX11 as the diet-X11-libs are quite large.

The issues aren't necessarily with musl, but I am having to add a few includes here and there or add -D_GNU_SOURCE or similar, but I am just going to add those to my wrapper script and maybe every once in a while add a symlink for a missing include like io.h (but most are kernel headers that just got missed or were overwritten by glibc)

After I have done a run through all of the useful C libraries on this toolchain without threads and locales, I will do a try with a native toolchain and try them out. (I just wanted to minimize my patching on the first run - its less overwhelming that way)

*question???
What is the best way to get a disk image onto a really low resource computer using minimal ram/cpu, but also not really long or complicated. I was thinking of piping an xz compressed tarball of a filesystem image through dd. However I am hesitant to do it that way due to the possibility of broken pipes (the plumbing is not always in good in these old beasts)

finally remembered a couple things.
1- native binutils + gcc usually works better, as long as you kill gcc's "fixed" (automatically broken) includes. Be sure to prevent fixinc.sh from doing anything when you build gcc, or you will be wondering "what on earth broke that?"
also, configure binutils & gcc with --host=i?86-*-linux --target=i?86-*-linux - autodetect is broken and figures __ELF__ means glibc1 unless __GLIBC__ is 2.
glibc2 toolchains will work, but glibc1 only builds static binaries and they're slightly broken.
if you want C++, the libstdc++ config for linux-gnu or whatever they name it there must be replaced with generic (iirc, cd libstdc*/config; mv linux-gnu linux-glibc-only; ln -s linux-gnu generic -- I may be misremembering names, though)
2- why use an fs image, if you can boot linux? it's lighter to tar the root tree, untar, then chroot & configure. In fact, that's exactly how many installers work.
in many places, a disk image will have the wrong boot information.
you can split it up by tarring /bin /etc /usr/bin /usr/share and so on separately.

...gives me the rtsp streaming url, screenshot and description of youtube videos matching $@ (args are passed to search and results parsed)
I could make a lightweight youtube browser, but can't find a working mplayer/vlc/ffplay/gxine... anyone know what version of any (if any) works on Google rtsp 1.0 streams?_________________Web Programming - Pet Packaging 100 & 101

I noticed that the videos are contained in 3gp and uses h263 for video and amr for audio._________________Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.

Thank-you guys, I'll keep looking though. I am pretty set on direct streaming. Iirc my vlc build handled YouTube at the time. I may try a new build based on my old vlc build settings (although I think they may be using xcb vs. X11 now)_________________Web Programming - Pet Packaging 100 & 101

I forgot to say that when I said "it works with ffmpeg" I actually mean that "it works with ffplay and ffmpeg".
From what little I know about vlc, vlc has rtsp input plugin too but you need to have openRTSP libraries installed - otherwise the plugin won't be compiled in._________________Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum