Hi Luca,

I have made a quick try  recording in "nut" container format.
fmt[iFileIdx] = guess_format(NULL,filename, NULL);
//filename=c:\test\test1.nut
Format is correctly set to "nut".

File has been recorded, i can play it only with VLC, but seeking is not
possible,
not even when file is already finished and closed.
I've used the same settings as for asf, avi or other containers.

Marko.


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Luca Barbato
Sent: Tuesday, November 16, 2010 7:20 PM
To: [email protected]
Subject: Re: [libav-user] Live recording

On 11/16/2010 06:36 PM, Marko Shink wrote:
> Hi,
> 
> I am developing a PC video recorder appplication for recording live 
> video from IP cameras,
> 
> using  live555 for RTSP and  libavformat  for recording received h264 
> frames to asf container.

First a curiosity: why you aren't using ffrtsp? what's missing in the native
rtsp implementation?

Regarding your problem, you might use a format that supports seeking while
it is being written, probably nut is ok for your purpose.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to