[streaming] Two questions about API vlc

ESPARCIA SANCHEZ, ENRIQUE ees1 at alu.um.es
Wed Jan 23 12:11:16 CET 2008


Hello

Forgive my English

I am using the API vlc, I have two queries

1) The data that I am reading from the camera get in a file, with the  
option - sout, the problem is that when I stop and I play make me  
delete the file and I want to hear you below each target While  
unemployment. (Pause option does not work for me because it is traffic  
in real time)

char *myargv[]  
={"-vvv","rtsp://10.0.0.252:554/mpeg4/media.amp","--sout","file/mp4:tmp.mp4"};

inst_p = libvlc_new (4,myargv, &excp_p);
item = libvlc_playlist_add (inst_p,mrl_ptr, NULL, &excp_p);
libvlc_playlist_play (inst_p, item, 0, NULL, &excp_p);

libvlc_playlist_stop(inst,&excp);


And I do play

libvlc_playlist_play (inst_p, item, 0, NULL, &excp_p);

I delete the file indicated to create



2) As a bag from the current frame API vlc, I saw an option
Libvlc_video_take_snapshot but not served when not view the camera.

Thanks for your help







More information about the streaming mailing list