[FFmpeg-user] [Error]: av_interleaved_write_frame(): Broken pipe. Failed to update header with correct duration.

Hao Lee haolee.swjtu at gmail.com
Thu Dec 10 16:23:25 CET 2015


Hi,

I am sorry to bother you to ask a question.
First, I run "ffserver -f ffserver.conf", everything is ok.
But when I run "ffmpeg -i 001.flv http://127.0.0.1:8090/test1.flv", I
get some error messages.

####START####
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> flv1 (flv))
  Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
av_interleaved_write_frame(): Broken pipe
    Last message repeated 1 times
[flv @ 0x90d0f00] Failed to update header with correct duration.
[flv @ 0x90d0f00] Failed to update header with correct filesize.
frame=    1 fps=0.0 q=5.6 Lsize=       2kB time=00:00:00.34 bitrate=
42.2kbits/s
video:31kB audio:6kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Conversion failed!
#########END#########

This is my ffserver.conf.

####START####
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
<Feed feed1.ffm>
File /home/mirage/feed/feed1.ffm
FileMaxSize 3M
ACL allow 127.0.0.1
</Feed>
<Stream test1.flv>
Feed feed1.ffm
Format flv
AudioBitRate 32
AudioChannels 1
AudioSampleRate 44100
VideoBitRate 218
VideoBufferSize 40
VideoFrameRate 15
VideoSize 512x282
VideoGopSize 12
</Stream>
#########END#########

This is my configuration. I hope someone can help me. Thank you !

####START####
configuration: --enable-gpl --enable-version3 --enable-nonfree
--enable-shared --enable-zlib --enable-bzlib --enable-libfaac
--enable-libmp3lame --enable-libvo-aacenc --enable-libx264
--enable-libxvid --enable-pic --enable-pthreads
#########END#########

Regards,
Hao Lee


More information about the ffmpeg-user mailing list