[FFmpeg-user] av_interleaved_write_frame(): Unknown error

John Q john_q61 at yahoo.com
Sat Apr 12 18:00:49 CEST 2014


I am new to ffmpeg. I am trying to stream my webcam using ffmpeg (x264 encoding) on a windows machine to ffserver on a linux server and restream it. I am getting the following error: av_interleaved_write_frame(): Unknown error
I checked about it on the net and came across mails which said it could be related to version mismatch between ffmpeg and ffserver. I made sure that all libraries that are used by ffmpeg and ffserver have the same version. I am still getting this error. Appreciate any help in solving this issue.

Warm regards
John

My ffmpeg command is as follows -

.\ffmpeg.exe -f dshow -i video="Webcam C170":audio="Microphone (3- Webcam C170)" -an -g 94 -vcodec libx264 -b:v 512k -r 30 -f flv http://AA.BB.CC.DD:8090/feed1.ffm

[dshow @ 0003f240] real-time buffer 101% full! frame dropped!
    Last message repeated 1 times
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 02563520] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 02563520] profile High 4:2:2, level 3.0, 4:2:2 8-bit
[libx264 @ 02563520] 264 - core 140 r2377 1ca7bb9 - H.264/MPEG-4 AVC codec - Copyleft
 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0
 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chro
ma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 thre
ads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compa
t=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 o
pen_gop=0 weightp=2 keyint=94 keyint_min=9 scenecut=40 intra_refresh=0 rc_lookahead=4
0 rc=abr mbtree=1 bitrate=512 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_rat
io=1.40 aq=1:1.00
Output #0, flv, to 'http://184.173.147.99:8090/feed1.ffm':
  Metadata:
    encoder         : Lavf55.22.100
    Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv422p, 640x480, q=-
1--1, 512 kb/s, 1k tbn, 30 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> libx264)
Press [q] to stop, [?] for help
frame=   59 fps=9.0 q=28.0 size=       3kB time=00:00:00.46 bitrate=  58.6kbits/s
av_interleaved_write_frame(): Unknown error

In my /etc/ffserver.conf I have the following settings -


<Feed feed1.ffm>

File /tmp/feed1.ffm
##File /mnt/vmtmpfs/feed1.ffm
FileMaxSize 50M


ACL allow 127.0.0.1
ACL allow 0.0.0.0 255.255.255.255

</Feed>

<Stream live.flv>
        Format flv
        Feed feed1.ffm

        VideoCodec libx264
        VideoFrameRate 30
        VideoBitRate 512
        VideoSize 320x240
        AVOptionVideo crf 23
        AVOptionVideo preset medium
        # for more info on crf/preset options, type: x264 --help
        AVOptionVideo flags +global_header
        # NoAudio

        AudioCodec aac
        Strict -2
        AudioBitRate 128
        AudioChannels 2
        AudioSampleRate 44100
        AVOptionAudio flags +global_header
        ACL ALLOW 0.0.0.0 255.255.255.255
</Stream>


More information about the ffmpeg-user mailing list