HI,

 I'm new to ffmpeg and need to stream videos from computer A to computer 
B. The task is to read a file (eg. mpeg), send it from A to B (over the 
network), and play the video at computer B (source code; not the command 
line tools).

First I tried to play a video from the local disc. That's not a problem so 
far. But, now I want to send the file over the network and decode it at B. 
How do I use av_open_input_file() without using a local file path? Does 
anybody have an example how to do this (except ffserver.c or ffplay.c)? 
Should I send the raw data of the file (encoded data), or do I need to form 
AVPackets at the sender, or is it necessary to send the decoded frames (I 
don't expect that!)? How do I decode data in the memory except of using 
file paths? 

 Perhaps it helps, if somebody could explain me (or give examples) the 
usage of the following functions/classes in detail:

av_open_input_file()

av_open_input_stream() 

av_read_play()

ByteIOContext

AVProbeData

av_probe_input_format()

  or the flag

 AVFMT_NOFILE 

   Thanks a lot :-) 


-- 
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 
http://games.entertainment.gmx.net/de/entertainment/games/free
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to