Hi,
Please have a look at ffplay.c file . av_open_input_file can take any RTSP
url as an input and can decode incoming packets from network.
if you are not using RTSP url to get the video packets then simply fill
the avcodeccontext structure in a right manner and start decoding the
incoming packets.
Deepti
|---------+------------------------------->
| | Debjyoti Mukherjee |
| | <debjyo...@calsoftla|
| | bs.com> |
| | Sent by: |
| | libav-user-boun...@m|
| | playerhq.hu |
| | |
| | |
| | 07/20/2010 02:43 PM |
| | Please respond to |
| | Libav* user |
| | questions and |
| | discussions |
| | |
|---------+------------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [email protected]
|
| cc:
|
| Subject: [libav-user] Can ffmpeg decode video streams from the
network (not from file) |
>------------------------------------------------------------------------------------------------------------------------------|
Hello ,
I would like to know if ffmpeg can decode chunks of video streams that
come from TCP packets, the av_open_input_file only opens a file
...How do I make it read streams from TCP packets .. Can you please
suggest ideas or alternatives?
--
Thanks and Regards,
Debjyoti Mukherjee
------------------------------ --------------------
Calsoft Labs, Bangalore
Ph: +91-988-655-9096 (M)
Email:debjyo...@calsoftlabs. com
------------------------------ --------------------
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user
Help save paper - do you need to print this email ?
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity addressed above. If you are
not the intended recipient of this e-mail, then (i) please notify us at
[email protected] (ii) do not use the information contained &
(iii) delete it from your system . E-mail communications are not secure. Though
efforts have been taken to ensure that this communication has not been tampered
with; however, Canon India Pvt Ltd. is not responsible for any changes made to
the contents of or any attachments to this message without its consent.
All information contained in this message which are not of an official nature
shall not be deemed as given or endorsed by Canon India Pvt. Ltd.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user