[Live-devel] Live555 build on WinCE 6.0 fileno returns void *

Ishwar.Jasuja at jci.com Ishwar.Jasuja at jci.com
Thu Jun 18 10:55:50 PDT 2009


Seems to be working fine for me.. I downloaded latest tarball today 
morning, compiled and verified.
If you want, I can send you .vcp files that have.

Only change I had to make was this line 83 in BasicTaskScheduler.cpp file
    if (errno != EINTR && errno != EAGAIN) {
To 
    if (err != 0) 

WINCE for some reason, cannot find EINTR. Could be because I am running 
older version of WINCE (4.2 or 5.0). Never bothered to investigate this.

You may want to verify if GetSystemTime() function is working correctly on 
your platform. This is very critical for the timers to function right.

Ishwar




siyara nt <tech.siya at gmail.com> 
Sent by: live-devel-bounces at ns.live555.com
06/17/2009 11:28 PM
Please respond to
LIVE555 Streaming Media - development & use <live-devel at ns.live555.com>


To
"LIVE555 Streaming Media - development & use" <live-devel at ns.live555.com>
cc

Subject
Re: [Live-devel] Live555 build on WinCE 6.0 fileno returns void *






Hi Ishwar,
 
Thanks a lot for your input. After declaring 
READ_FROM_FILES_SYNCHRONOUSLY  in my porject, the livemedia library built 
properly. Now i'm able to build and run testondemandRTSPstreamer.exe on my 
WinCE ARM(DM355) target board but when i connect using VLC it is not 
showing any video. I'm using a test.m4e file to stream video using 
testondemandRTSPserver.exe and this works properly on windows XP 
platform.(I have appended the VOS and VOSS headers to test.m4e to make it 
suitable to stream from DM355 target board. This i checked on Windows and 
it is streaming properly).
 
The following is the testondemandRTSPstreamer.exe output messages
------------------------------------------------------------------------------------------------------------
"s1" stream, from the file "\\Storage Card\\test.m4e"play this stream 
using the URL "rtsp://192.168.16.10:8554/s1"
eetaram:File open successful2c:\test.m4e
MPEG4VideoStreamParser::parseVisualObject(): Warning: We don't handle 
visual_obj
ct_type 0
eetaram:File open successful2c:\test.m4e
RAM: File open success
RAM: file size  (7169851)  !
PEG4VideoStreamParser::parseVisualObject(): Warning: We don't handle 
visual_obj
ct_type 0
(I have changed the file path and stream name to s1 for convinience)
 My test.m4e is stored in SD card in the DM355 target.
 
Here is the VLC message log
------------------------------------------------
main info: Running vlc with the default interface. Use 'cvlc' to use vlc 
without interface.
main debug: starting new item
main debug: processing request item rtsp://192.168.16.10:8554/s1 node 
Playlist skip 0
main debug: resyncing on rtsp://192.168.16.10:8554/s1
main debug: rtsp://192.168.16.10:8554/s1 is at 0
main debug: creating new input thread
main debug: Creating an input for 'rtsp://192.168.16.10:8554/s1'
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 5508 (input) created at priority 1 
(../../src/input/input.c:370)
main debug: `rtsp://192.168.16.10:8554/s1' gives access `rtsp' demux `' 
path `192.168.16.10:8554/s1'
qt4 debug: Updating the stream status: 3
main debug: creating demux: access='rtsp' demux='' path='
192.168.16.10:8554/s1'
main debug: looking for access_demux module: 1 candidate
live555 debug: RTP subsession 'video/MP4V-ES'
main debug: selecting program id=0
qt4 debug: New Event: type 1108
live555 debug: setup start: 0 stop:0
live555 debug: We have a timeout of 60 seconds
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 5668 (liveMedia-timeout) created at priority 0 
(../../../modules/demux/live555.cpp:1055)
live555 debug: spawned timeout thread
live555 debug: play start: 0 stop:0
main debug: using access_demux module "live555"
main debug: TIMER module_Need() : 164.000 ms - Total 164.000 ms / 1 intvls 
(Avg 164.000 ms)
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for decoder module: 34 candidates
avcodec debug: libavcodec already initialized
avcodec debug: using direct rendering
avcodec debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "avcodec"
main debug: TIMER module_Need() : 4.000 ms - Total 4.000 ms / 1 intvls 
(Avg 4.000 ms)
main debug: thread 5660 (decoder) created at priority 0 
(../../src/input/decoder.c:217)
main debug: `rtsp://192.168.16.10:8554/s1' successfully opened
qt4 debug: New Event: type 1103
qt4 debug: Updating the stream status: 3
main debug: thread started
main debug: control type=1
avcodec warning: hmm, seems the headers are not complete, trying to guess 
time_increment_bits
(mpeg4 at 00BA56D0)
avcodec warning: my guess is 5 bits ;)
(mpeg4 at 00BA56D0)
avcodec warning: looks like this file was encoded with 
(divx4/(old)xvid/opendivx) -> forcing low_delay flag
(mpeg4 at 00BA56D0)
avcodec warning: picture size invalid (0x0)
(mpeg4 at 00BA56D0)
avcodec warning: get_buffer() failed (-1 0 0 00000000)
 The get_buffer() failed (-1 0 0 00000000) message repeats till the end 
and it doesn't play anything.
Please suggest.
 
Thanks a lot


 
On Wed, Jun 17, 2009 at 9:53 PM, <Ishwar.Jasuja at jci.com> wrote:

define READ_FROM_FILES_SYNCHRONOUSLY  in your project file. 



siyara nt <tech.siya at gmail.com> 
Sent by: live-devel-bounces at ns.live555.com 
06/17/2009 02:25 AM 

Please respond to
LIVE555 Streaming Media - development & use        <
live-devel at ns.live555.com>



To
live-devel at ns.live555.com 
cc

Subject
[Live-devel] Live555 build on WinCE 6.0 fileno returns void *









Hi All, 
  
I'm a newbie trying to build live555 on WinCe 6.0 based ARM target. 
I'm getting an error with respect to use of the function fileno in 
ByteStreamFileSource.cpp file as follows. 
1>ByteStreamFileSource.cpp(98) : error C2664: 
'TaskScheduler::turnOffBackgroundReadHandling' : cannot convert parameter 
1 from 'void *' to 'int' 
I checked the fileno function declaration in stdlib.h file and it is 
returning a void *. 
Let me know if anyone has encountered this issue and able to resolve. 
Please suggest. 
thanks_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090618/59993e19/attachment.html>


More information about the live-devel mailing list