Players based on ffmpeg like VLC and others could play that file but not others like media player classic and even when I try to convert it to mp4 preserving the original codecs, because I need to analyze it using Elecard StreamEye, ffmpeg fails to do that, here is the command and its output:
ffmpeg -i "c:\output_file.flv" -vcodec copy -acodec copy "c:\output_file.mp4"
FFmpeg version SVN-r22716, Copyright (c) 2000-2010 the FFmpeg developers
built on Mar 29 2010 06:05:44 with gcc 4.4.2
configuration: --enable-memalign-hack --cross-prefix=i686-mingw32- --cc=ccache
-i686-mingw32-gcc --arch=i686 --target-os=mingw32
--enable-runtime-cpudetect --e
nable-avisynth --enable-gpl --enable-version3 --enable-bzlib --enable-libgsm --e
nable-libfaad --enable-pthreads --enable-libvorbis --enable-libtheora --enable-l
ibspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid --enable-libsc
hroedinger --enable-libx264 --enable-libopencore_amrwb --enable-libopencore_amrn
b
libavutil 50.13. 0 / 50.13. 0
libavcodec 52.61. 0 / 52.61. 0
libavformat 52.58. 0 / 52.58. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
[flv @ 01a1d490]negative cts, previous timestamps might be wrong
Last message repeated 67 times
[flv @ 01a1d490]Estimating duration from bitrate, this may be
inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1)
-> 25.25 (101/4)
Input #0, flv, from 'c:\output_file.flv':
Duration: 00:00:59.99, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 50 fps, 25.2
5 tbr, 1k tbn, 50 tbc
Stream #0.1: Audio: aac, 48000 Hz, mono, s16
Output #0, mp4, to 'c:\output_file.mp4':
Metadata:
encoder : Lavf52.58.0
Stream #0.0: Video: libx264, yuv420p, 720x576 [PAR 16:15 DAR 4:3], q=2-31, 5
0 tbn, 25 tbc
Stream #0.1: Audio: aac, 48000 Hz, mono
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 ->
#0.1
Press [q] to stop encoding
[mp4 @ 01b08070]st:0 error, non monotone timestamps -2 >= -2
av_interleaved_write_frame(): Error number -1 occurred
I am going to make video on demand files of our live stream which is recorded as one big file for each 24 hours on Flash media server and will need to repeat this chain much: record rtmp video using rtmpdump->mux as mp4 using ffmpeg