[Libav-user] Error while writing video frame in output_example.c

david.weber at l-3com.com david.weber at l-3com.com
Sat Dec 3 00:53:58 CET 2011


So, I am just trying to get my app to output a video stream.  Natural
place to start is output_example.c

 

 

So, I try a few things:

 

[root at sl6 src]# ./output-example foo.avi

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

    Stream #0.0: Video: mpeg4, yuv420p, 352x288, q=2-31, 400 kb/s, 90k
tbn, 25 tbc

    Stream #0.1: Audio: mp2, 44100 Hz, 2 channels, 64 kb/s

 

 

 

so then I try:

 

[root at sl6 src]# ./output-example foo.mpeg

Output #0, mpeg, to 'foo.mpeg':

    Stream #0.0: Video: mpeg1video (hq), yuv420p, 352x288, q=2-31, 400
kb/s, 90k tbn, 25 tbc

    Stream #0.1: Audio: mp2, 44100 Hz, 2 channels, 64 kb/s

Error while writing video frame

 

 

Ok, so let me try to broadcast locally:

 

[root at sl6 src]# ./output-example udp://192.168.1.255

Could not deduce output format from file extension: using MPEG.

Output #0, mpeg, to 'udp://192.168.1.255':

    Stream #0.0: Video: mpeg1video (hq), yuv420p, 352x288, q=2-31, 400
kb/s, 90k tbn, 25 tbc

    Stream #0.1: Audio: mp2, 44100 Hz, 2 channels, 64 kb/s

Error while writing video frame

 

 

 

( I had VLC running on the same box, with the same URL).

 

 

No dice.  Just "error writing...." message.

 

Any ideas?

 

--dw

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111202/f846d10e/attachment.html>


More information about the Libav-user mailing list