Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dave Yeo

Pages: 1 ... 220 221 [222] 223 224 ... 238
3316
Hardware / Re: eCS and 3 inch CD drives?
« on: September 27, 2014, 03:55:05 am »
I've even successfully used business card shaped ones, they actually have rounded ends and fit in the small depression like a 3 in CD and I guess are just a 3in CD that has two sides cut off. Don't hold much  but an interesting idea.

3317
The article is on the old 16 bit stack that was included up till Warp v4 while the default is now the 32 bit stack and works slightly different. If you want the old functionality you have to define TCPV40HDRS and put usr/lib/tcpipv4 first on the LIBRARY_PATH (or use -L), at least with kLIBC. Search the headers for TCPV40HDRS for the differences.

3318
General Discussion / Re: Audio/Video Streaming for Events
« on: September 19, 2014, 04:24:30 am »
ffserver sounds promising. I have a couple of questions, though.

How can you get from the camera to an ffstream?

FFmpeg supports most camera formats and can remux to most other formats so ideally you'd just pipe the stream through FFmpeg to FFserever. We may need to use a file intermediately.
Of course the hard part is getting from the camera to the OS/2 box as we don't support many interfaces. I'd guess over IP would be the only way.
OK, I get the IP camera part, but the file part doesn't sound like streaming. If we have to go to a file, why not just let people download the file?
The file is unneeded but is handy as a buffer, eg allowing someone to pause or rewind their feed without affecting others if I understand correctly.
Quote
Quote
Quote
How can you relay the stream from the hotel internet to our server?
Don't most Hotels have internet access?
Sure, you can use the Hotel internet. Then what software to stream to the server?
Does the Hotel Internet allow uploading large amounts of data? 100 users watching a 1 MB stream is 100 MBs. Of course the stream can be tuned including using better codecs, connections and bandwidth limited
FFserver works in tandem with FFmpeg so FFmpeg does the encoding, muxing (combining the audio and video into a container) etc and then creates a stream in the format that FFserver accepts, then FFserver streams it to the client, see link at bottom.
Quote
Quote
Quote
Does someone have this actually working on OS/2?

I've run the testsuite, though not in a while. I'll rerun it shortly. To be honest FFserver is not the most supported part of FFmpeg though support has picked up over the last year.
Let us know if you can get it to work.

I ran the testsuite till I had to kill it to go to bed, transfered about 1/2 a GB over the localhost with a couple of MD5 sum failures. Never looked at the actual image but usually these are small errors that aren't visible.
The documentation is here https://ffmpeg.org/ffserver.html, would have to decide on a format but it's capable of most any from Flash to webm for using a browser or much more if using MPlayer or VLC or other media players on other OSes.
The big thing is its a unixy app, so all done with command line and configuration file. Ideally would be a front end to make it easy.

3319
Programming / Re: compiling glib-2.36.4 & libidl-0.8.14 -- need help
« on: September 18, 2014, 03:57:46 am »
What is generating that insane command? Most of it is automatically found by GCC (and I assume LD) and could be simplified as
Code: [Select]
LD -o .exe -LD:/usr/build/2.2.4
or better
GCC -o .exe -LD:/usr/build/2.2.4
I'm not used to using LD directly but assume -o and -L works the same as GCC. Your executable is missing a prefix and all you're doing is pulling in the stuff that is automatically pulled in and searching for libs in d;/usr/build/2.2.4 which is probably the parent or grandparent of where ever the libs are.
Basdically LD is getting confused by not being fed any objects besides the libc ones that are automatically pulled in.

3320
Programming / Re: compiling glib-2.36.4 & libidl-0.8.14 -- need help
« on: September 17, 2014, 07:03:29 am »
glibidl_20070521 should only need (environment variables pointing to where you installed it) %GLIB%\gcc\bin;%LIBIDL%\gcc\bin added to the PATH and BEGINLIBPATH.
To compile glib2 from scratch means having the right environment then running [a]sh configure && make
The hard part is having the right environment. Sometimes libtool needs patching as well, at least to produce a DLL.

3321
Programming / Re: compiling glib-2.36.4 & libidl-0.8.14 -- need help
« on: September 17, 2014, 04:23:21 am »
Here's glib and libidl prebuilt for GCC 3.2.2 and 3.3.5, http://hobbes.nmsu.edu/download/pub/os2/dev/util/glibidl_20070521.zip.
If you're trying to build glib2 from source you're going to run into lots of problems. There's a port available here, http://trac.netlabs.org/ports, need to download the source with SVN and build it though.

3322
Programming / Re: compiling glib-2.36.4 & libidl-0.8.14 -- need help
« on: September 17, 2014, 01:57:19 am »
Set MAKESHELL=ash to use ash with make, I personally prefer [pdk]sh which is available at Hobbes.
Can you post more info about the malformed file error, eg what command and output, basically the tail of your build log.
PS GCC 332 and its libc05 is ancient and buggy and GCC 335 is also old enough that much won't compile with it, especially C++ code though it should be fine for glib2 and libidl. Do you have the choice of using glib 1.21 and libidl 0.6.5? as they're available for compiling (older) Mozilla. I even have precompiled GCC 3.2.2 binaries as well as EMX and VACPP.

3323
Storage / Re: exFAT
« on: September 17, 2014, 12:32:42 am »
The rumour I heard was that the OS/2 version of Object Rexx had been forked long before and that was the reason it was not included with the open source version.

3324
Hardware / Re: Shuttle XH81 Core i7 Haswell Mini PCs and eComStation?
« on: September 15, 2014, 05:18:52 pm »
Question, can OS/2 read a DVD in a bluray drive? I'd guess yes but don't know.

3325
General Discussion / Re: Audio/Video Streaming for Events
« on: September 15, 2014, 05:41:51 am »
ffserver sounds promising. I have a couple of questions, though.

How can you get from the camera to an ffstream?

FFmpeg supports most camera formats and can remux to most other formats so ideally you'd just pipe the stream through FFmpeg to FFserever. We may need to use a file intermediately.
Of course the hard part is getting from the camera to the OS/2 box as we don't support many interfaces. I'd guess over IP would be the only way.
Quote
How can you relay the stream from the hotel internet to our server?
Don't most Hotels have internet access?
Quote
Does someone have this actually working on OS/2?

I've run the testsuite, though not in a while. I'll rerun it shortly. To be honest FFserver is not the most supported part of FFmpeg though support has picked up over the last year.

3326
Setup & Installation / Re: End-User Suggestions for the next release of eCS
« on: September 13, 2014, 08:03:52 pm »
NTFS is overly complex and probably even MS doesn't have it documented. This makes it awfully hard to re-implement and even took the Linux community a long time to get a semi-usable NTFS driver.
The sigfpu problem really needs to be fixed in the OS/2 source as it is internal to the Presentation Manager and doesn't exist on all versions of OS/2. There is a bug open about working around it in libc, http://trac.netlabs.org/libc/ticket/296

3327
Off Topic discussions / Re: If programming languages were vehicles:
« on: September 13, 2014, 06:58:45 pm »
403 forbidden. Looks like the site became overly popular.

3328
Storage / Re: exFAT
« on: September 13, 2014, 08:30:30 am »
IBM decided to fork JFS keeping the original OS/2 code closed, perhaps to keep big customer happy. I remember the last kernel developer saying how he had to be careful talking to the GPL JFS guy. It's a shame and what would be nice is an IFS built from the GPL JFS. Seems weird if Memsys mixed GPL and propriety code to write the bootable JFS. be nice to know more.
HPFS was patented at the end of the '80's (circa OS/2 V1.2) so the patents should have expired as they're only good for 20 odd years. I think partition magic dropped HPFS in favour of NTFS because of demand, Windows had won the OS wars by then. Various Linux dists have probably dropped HPFS support for the same reason.
As for porting exFAT, it takes a certain type of developer to write a good IFS and we have a shortage. Adapting the FAT32 driver might be the simplest but after all this time it's still crap.
Be nice getting the EXT2 IFS working with the LVM as that has a whole framework for porting Linux (kernel 1.3 or 2.0, I forget) file systems.

3329
Setup & Installation / Re: eCS connected to another monitor: black screen
« on: September 13, 2014, 04:52:48 am »
You can also hit alt-F1 at the very beginning of the boot process and revert to 800x600 if needed.

3330
Marketplace / Re: Free (almost) OS/2 stuff!
« on: September 12, 2014, 07:35:33 am »
Hi Dave,

Yeah, I think that would be chapters 23 - 26.  If you could do that it'd be awesome.

Thanks!

Unluckily my sons scanner does not want to scan :( Possibly dust from sitting for a couple of years in a dusty environment. I'll have to try disassembling it

Pages: 1 ... 220 221 [222] 223 224 ... 238