[Live-devel] File size with OpenRTSP

Rajesh rajeshkumar.r at imimobile.com
Thu Sep 7 00:46:12 PDT 2006


which video format(codec) u are using.

with regards
rajesh

----- Original Message ----- 
From: "Mandelfi" <mandelfi at free.fr>
To: "LIVE555 Streaming Media - development & use" 
<live-devel at ns.live555.com>
Sent: Thursday, September 07, 2006 1:04 PM
Subject: Re: [Live-devel] File size with OpenRTSP


>>> Hi all,
>>>
>>> I am using OpenRTSP like this on my Linux box:
>>> openRTSP -F my_file rtsp://my_url
>>> to capture a streaming video program.
>>> This works very good but the file cannot be bigger than 2Go. Why ?
>>
>> I don't know.  The file output code (to implement the "FileSink"
>> class) uses the standard routines "fopen()" and "fwrite()" (and
>> doesn't try to seek at all within the file), so I don't know why the
>> output file would get restricted to 2**31 bytes in size, if your OS
>> supports larger sizes.  What version of Linux are you using?
>
> I use a standard kernel on a debian Sarge (2.6.8).
> I made this test on the box, look : The file "size_test_100Mo" size is
> 98Mo ; at begin, "size_test" size is 0.
>
> # while /bin/true ; do cat size_test_100Mo >> size_test ; ls -lh
> size_test ; sleep 1 ; done
> -rw-r--r--  1 root root 98M 2006-09-07 09:25 size_test
> -rw-r--r--  1 root root 195M 2006-09-07 09:25 size_test
> -rw-r--r--  1 root root 292M 2006-09-07 09:25 size_test
> -rw-r--r--  1 root root 389M 2006-09-07 09:26 size_test
> -rw-r--r--  1 root root 486M 2006-09-07 09:26 size_test
> -rw-r--r--  1 root root 583M 2006-09-07 09:26 size_test
> -rw-r--r--  1 root root 681M 2006-09-07 09:26 size_test
> -rw-r--r--  1 root root 778M 2006-09-07 09:26 size_test
> -rw-r--r--  1 root root 875M 2006-09-07 09:26 size_test
> -rw-r--r--  1 root root 972M 2006-09-07 09:26 size_test
> -rw-r--r--  1 root root 1,1G 2006-09-07 09:26 size_test
> -rw-r--r--  1 root root 1,2G 2006-09-07 09:27 size_test
> -rw-r--r--  1 root root 1,3G 2006-09-07 09:27 size_test
> -rw-r--r--  1 root root 1,4G 2006-09-07 09:27 size_test
> -rw-r--r--  1 root root 1,5G 2006-09-07 09:27 size_test
> -rw-r--r--  1 root root 1,6G 2006-09-07 09:27 size_test
> -rw-r--r--  1 root root 1,7G 2006-09-07 09:27 size_test
> -rw-r--r--  1 root root 1,8G 2006-09-07 09:27 size_test
> -rw-r--r--  1 root root 1,9G 2006-09-07 09:27 size_test
> -rw-r--r--  1 root root 1,9G 2006-09-07 09:28 size_test
> -rw-r--r--  1 root root 2,0G 2006-09-07 09:28 size_test
> -rw-r--r--  1 root root 2,1G 2006-09-07 09:28 size_test
> -rw-r--r--  1 root root 2,2G 2006-09-07 09:28 size_test
> -rw-r--r--  1 root root 2,3G 2006-09-07 09:28 size_test
> -rw-r--r--  1 root root 2,4G 2006-09-07 09:28 size_test
> -rw-r--r--  1 root root 2,5G 2006-09-07 09:28 size_test
>
> So there is no problem to generate files bigger than 2Go on the box.
>
> I am quite lost...
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
> 




More information about the live-devel mailing list