[FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?):
juan carlos Rebate
nerus492 at gmail.com
Tue Jun 21 00:15:24 CEST 2016
2016-06-21 0:07 GMT+02:00 Kieran O Leary <kieran.o.leary at gmail.com>:
> Hi
> On 20 Jun 2016 10:41 p.m., "juan carlos Rebate" <nerus492 at gmail.com>
> wrote:
> >
> > in all results of google there is no page that explains how to resolve
> this
> > error, commands only explain but not the solution, nor is there
> > documentation solution
> >
>
> https://www.google.es/?client=firefox-b-ab#q=ffmpeg+Could+not+write+header+for+output+file+%230+(incorrect+codec+parameters+%3F)%3A&gfe_rd=cr
> >
> Sounds like the solution would depend on the combination of
> codec/container/settings? Can you post the full uncut console output?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>ffmpeg -y -i rtp://239.0.0.107:8208 -map 0 -f mp4 -c:v mpeg4 -listen 1
http://localhost:80 -multiple_requests 1 -seekable 1 -bufsize 200k -r 299
-re -b:v 982k
ffmpeg version N-80117-gdac030d Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig
--enable-frei0r --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
--enable-lzma --enable-decklink --enable-zlib
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 43.100 / 57. 43.100
libavformat 57. 37.101 / 57. 37.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.100 / 6. 46.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Trailing options were found on the commandline.
[NULL @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[NULL @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] decode_slice_header error
[h264 @ 0000000002084460] no frame!
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] decode_slice_header error
[h264 @ 0000000002084460] no frame!
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] decode_slice_header error
[h264 @ 0000000002084460] no frame!
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] decode_slice_header error
[h264 @ 0000000002084460] no frame!
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] decode_slice_header error
[h264 @ 0000000002084460] no frame!
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] decode_slice_header error
[h264 @ 0000000002084460] no frame!
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002084460] non-existing PPS 0 referenced
[h264 @ 0000000002084460] decode_slice_header error
[h264 @ 0000000002084460] no frame!
[h264 @ 0000000002084460] mmco: unref short failure
[h264 @ 0000000002084460] Increasing reorder buffer to 2
[h264 @ 0000000002084460] Increasing reorder buffer to 3
[h264 @ 0000000002084460] mmco: unref short failure
Input #0, rtp, from 'rtp://239.0.0.107:8208':
Duration: N/A, start: 61802.211922, bitrate: N/A
Program 173
Stream #0:2: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv,
bt470bg), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 50 tbr, 90k tbn
Stream #0:1(esp): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo,
s16p, 192 kb/s (clean effects)
Stream #0:0(vo): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo,
s16p, 128 kb/s (clean effects)
[mp4 @ 00000000028d5840] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Last message repeated 2 times
[mp4 @ 00000000028d5840] muxer does not support non seekable output
Output #0, mp4, to 'http://localhost:80':
Metadata:
encoder : Lavf57.37.101
Stream #0:0(vo): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, fltp, 128 kb/s (clean effects)
Metadata:
encoder : Lavc57.43.100 aac
Stream #0:1(esp): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, fltp, 128 kb/s (clean effects)
Metadata:
encoder : Lavc57.43.100 aac
Stream #0:2: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 720x576 [SAR
16:11 DAR 20:11], q=2-31, 200 kb/s, 25 fps, 25 tbn
Metadata:
encoder : Lavc57.43.100 mpeg4
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (mp2 (native) -> aac (native))
Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))
Stream #0:2 -> #0:2 (h264 (native) -> mpeg4 (native))
Could not write header for output file #0 (incorrect codec parameters ?):
Invalid argument
[aac @ 00000000029112c0] Qavg: nan
[aac @ 000000000223a7e0] Qavg: nan
More information about the ffmpeg-user
mailing list