Hello,
since this issue shown a few times, I decided to post a message on the support forum.
I am using Wowza 3.0.2 to stream and record a video using live-record streaming type (with file append). Every now and then, usually when a long video is recorded (3-4+ hours, but today happened also with a 1:30 hours video) and the stream is stopped and restarted 1 or more times, the recorded file shows a totally wrong duration of some 20+ hours when played in JW Player or checked with ffmpeg; trying to skip to a time past the true length of the recording hangs the player. Here is the output of ffmpeg for the file recorded today:
ffmpeg -i qqusPfWdnj.mp4
ffmpeg version N-33316-g825dd13-syslint, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 6 2011 16:00:25 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-version=syslint
libavutil 51. 19. 0 / 51. 19. 0
libavcodec 53. 19. 0 / 53. 19. 0
libavformat 53. 14. 0 / 53. 14. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 6 / 2. 43. 6
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6cf6780] multiple fourcc not supported
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6cf6780] Invalid SampleDelta in STTS -899056682
Seems stream 1 codec frame rate differs from container frame rate: 50.00 (50/1) -> 24.92 (299/12)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'qqusPfWdnj.mp4':
Metadata:
major_brand : f4v
minor_version : 0
compatible_brands: isommp42m4v
creation_time : 2012-07-12 04:47:51
Duration: 25:22:55.00, start: 0.000000, bitrate: 51 kb/s
Stream #0:0(eng): Audio: mp3 (.mp3 / 0x33706D2E), 44100 Hz, mono, s16, 96 kb/s
Metadata:
creation_time : 2012-07-12 04:47:51
Stream #0:1(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 697 kb/s, 24.99 fps, 24.92 tbr, 90k tbn, 50 tbc
Metadata:
creation_time : 2012-07-12 04:47:51
Moreover, streams recorded using this setup cannot be edited with ffmpeg or Adobe Premiere, since the video processing stops as soon as the frame where the file has been appended for the first time is reached.
Please help me in solving this issue.