[FFmpeg-devel] av_interleaved_write_frame(): Invalid argument
juha s.
salmjuh at hotmail.com
Mon Apr 2 15:49:07 CEST 2012
Hi
I have a stream h264 stream which I try to dump, but some this doesn't work and sometimes there is no problem. Here is exsample, that when teh dump is stopped because av_interleaved_write_frame(): Invalid argument, I stared immediately new dump session excatly with the same option and everything was fine ?
Is there I-frame issue or something else what can be fixed with some option to ffmpeg -command ?
Br,
jiiiii
root at CVod11:/VIDEOS# ffmpeg -i rtsp://192.168.31.231:8555 -aspect 16:9 -copyts -c:v copy -c:a copy -y /tmp/copy.mp4
ffmpeg version N-34934-gc450cf1 Copyright (c) 2000-2012 the FFmpeg developers
built on Apr 2 2012 13:25:29 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 66.101 / 2. 66.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
[h264 @ 0x2085040] Missing reference picture
[h264 @ 0x2085040] decode_slice_header error
[h264 @ 0x2085040] concealing 920 DC, 920 AC, 920 MV errors
[h264 @ 0x2085040] Missing reference picture
[h264 @ 0x2085040] decode_slice_header error
[h264 @ 0x2085040] concealing 920 DC, 920 AC, 920 MV errors
[h264 @ 0x2085040] Increasing reorder buffer to 1
[rtsp @ 0x20763e0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://192.168.31.231:8555':
Metadata:
title : ----
comment : ----
Duration: N/A, start: 0.046444, bitrate: N/A
Stream #0:0: Audio: aac, 44100 Hz, stereo, s16
Stream #0:1: Video: h264 (Main), yuv420p, 640x360, 25 fps, 25 tbr, 90k tbn, 50 tbc
Output #0, mp4, to '/tmp/copy.mp4':
Metadata:
title : ----
comment : ----
encoder : Lavf54.3.100
Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 640x360, q=2-31, 25 fps, 90k tbn, 90k tbc
Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, stereo
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x21827e0] pts (13820) < dts (24620) in stream 0
av_interleaved_write_frame(): Invalid argument
root at CVod11:/VIDEOS# ffmpeg -i rtsp://192.168.31.231:8555 -aspect 16:9 -copyts -c:v copy -c:a copy -y /tmp/copy.mp4
ffmpeg version N-34934-gc450cf1 Copyright (c) 2000-2012 the FFmpeg developers
built on Apr 2 2012 13:25:29 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 66.101 / 2. 66.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
[h264 @ 0x262c040] Missing reference picture
[h264 @ 0x262c040] decode_slice_header error
[h264 @ 0x262c040] concealing 920 DC, 920 AC, 920 MV errors
[h264 @ 0x262c040] Increasing reorder buffer to 1
[rtsp @ 0x261d3e0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://192.168.31.231:8555':
Metadata:
title : ----
comment : ----
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: aac, 44100 Hz, stereo, s16
Stream #0:1: Video: h264 (Main), yuv420p, 640x360, 25 fps, 25 tbr, 90k tbn, 50 tbc
Output #0, mp4, to '/tmp/copy.mp4':
Metadata:
title : ----
comment : ----
encoder : Lavf54.3.100
Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 640x360, q=2-31, 25 fps, 90k tbn, 90k tbc
Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, stereo
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 376 fps= 26 q=-1.0 Lsize= 1908kB time=00:00:15.28 bitrate=1022.9kbits/s
video:1659kB audio:239kB global headers:0kB muxing overhead 0.526385%
Received signal 2: terminating.
root at CVod11:/VIDEOS#
More information about the ffmpeg-devel
mailing list