Hi Ricardo,
Ricardo Pinto wrote:
> Can someone what's the problem of executing this comand line?
> Command line:
> ffmpeg -i teste.avi -f rtp rtp://localhost?localport=1234
Two (or three) issues with this command line:
1) Since you are sending video, you must specify the destination
port, while you are specifying the source port (this is causing
the "av_interleaved_write_frame():..." error)
2) The command line you gave is actually trying to send audio,
not video. Add "-an -vcodec copy" (or your favourite video
codec) for sending video
3) You must stream the video at the correct rate, but the command
line you gave is trying to stream as fast as possible. Try to
add "-re" (but be warned that this option does not work very
well with some avi files, or when streaming audio only)
Summing up, try:
ffmpeg -re -i test.avi -an -vcodec copy -f rtp rtp://localhost:1234
> where teste.avi is my video. I'm trying to send a video via rtp, or rstp
> (would be better) but i just can see what would be command line.
Note that if you want rtsp you must use ffserver (there is an entry in the
sample configuration file, which is currently commented out. Try it, and
it should work).
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user