Hello I am Daniele Colasante,

 

I would like to understand how to use API ffmpeg to capture a vnc stream and
create the output video file.


I tried from vnc2mpg.c (from
http://libvncserver.sourceforge.net/doc/html/vnc2mpg_8c-example.html ) and
muxing.c (from
http://www.ffmpeg.org/doxygen/trunk/doc_2examples_2muxing_8c-example.html )
but I got poor results.

Has anyone ever done this? Any suggestion is welcome. Thanks to all for your
attention and sorry for my English.

 

Attached my code, video.c, when I run: ./video -o video.avi -t 30
ip_address:port vncpassword  the results are:

Output #0, avi, to 'video.avi':

Stream #0:0: Video: mpeg4, yuv420p, 1680x1050, q=2-31, 400 kb/s, 90k tbn, 25
tbc

[avi @ 0x1ec4060] Application provided invalid, non monotonically increasing
dts to muxer in stream 33754816: 269628272584 >= 0

Error while writing video frame: Invalid argument

 

RUN FINISHED; exit value 1; real time: 1s; user: 570ms; system: 90ms

 

 

 

 

 <http://www.resi.it/> Descrizione: cid:[email protected]

 

Daniele Colasante 
System Engineering

RESI Informatica S.p.A.
Via Pontina Km 44,044
04011 Aprilia (LT) - Italy
Tel: +39 06 92710398

Mobile: 
Fax: +39 06 92710208
Email:  <mailto:[email protected]> [email protected]
Web:  <http://www.resi.it/> www.resi.it

 

 <http://www.resi-group.com/> Descrizione:
cid:[email protected]

 

_ _ _ _ _ _ _ _ _ _ _ _

Nota di riservatezza: Ai sensi del Decreto Legislativo n. 196/2003, "Codice
in materia di Protezione dei dati personali", si precisa che le informazioni
contenute in questo messaggio e negli eventuali allegati sono riservate e
per uso esclusivo del destinatario. Persone diverse dallo stesso non possono
copiare o distribuire il messaggio a terzi. Chiunque riceva questo messaggio
per errore è pregato di distruggerlo e di informare immediatamente il
mittente. Grazie.


Confidentiality Notice: Accordingly to Italian legislative decree n.
196/2003 concerning privacy, the information contained in this e-mail is
intended for the named recipients only. It may contain privileged and
confidential information and if you are not an intended recipient, you must
not copy, distribute or take any action in reliance on it. If you have
received this e-mail in error, please notify the sender by e-mail and delete
the e-mail and any copies of it. Thank you.

P  Please consider the environment before printing this mail. Rispettate
l’ambiente e stampate questa email solo in caso di reale necessità


Descrizione: Descrizione: https://rb1itspoint001/images/stories/RESI.png

Descrizione: Descrizione: https://rb1itspoint001/images/stories/IPS.png

Descrizione: Descrizione: https://rb1itspoint001/images/stories/SMETANA.png

Descrizione: Descrizione:
https://rb1itspoint001/images/stories/ItaliaMobile.png

 

 

<<image001.gif>>

<<image002.gif>>

<<image003.jpg>>

<<image004.jpg>>

<<image005.jpg>>

<<image006.png>>

Attachment: video.c
Description: Binary data

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to