I am having trouble reading an MPEG4 output stream with ffmpeg. I am using dvsdk_2_00_00_22 and the venc example. The output stream it produces is not readable by ffmpeg.
This is what ffprobe says about the output file:
C:\_dump>ffprobe -show_streams out.m4v
FFprobe version SVN-r25862, Copyright (c) 2007-2010 the FFmpeg developers
built on Dec 3 2010 04:07:09 with gcc 4.4.2
configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-pthread
s --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --
enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb --enable-
libopencore_amrnb --enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-r
untime-cpudetect --enable-libxvid --enable-libx264 --extra-libs='-lx264 -lpthrea
d' --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --target-o
s=mingw32 --enable-avisynth --cross-prefix=i686-mingw32- --cc='ccache i686-mingw
32-gcc' --enable-memalign-hack
libavutil 50.33. 0 / 50.33. 0
libavcore 0.14. 0 / 0.14. 0
libavcodec 52.97. 2 / 52.97. 2
libavformat 52.87. 1 / 52.87. 1
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.67. 0 / 1.67. 0
libswscale 0.12. 0 / 0.12. 0
[m4v @ 01c38070] Estimating duration from bitrate, this may be inaccurate
Input #0, m4v, from 'out.m4v':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 21k tbr, 12
00k tbn, 21k tbc
[STREAM]
index=0
codec_name=mpeg4
codec_long_name=MPEG-4 part 2
codec_type=video
codec_time_base=1/21000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=1280
height=720
has_b_frames=1
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv420p
r_frame_rate=21000/1
avg_frame_rate=0/0
time_base=1/1200000
start_time=N/A
duration=N/A
[/STREAM]
When I try
ffmpeg -i out.m4v img%03d.bmp
I get the following messages
C:\_dump>ffmpeg -i out.m4v img%03d.bmp
FFmpeg version SVN-r25862, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 3 2010 04:07:09 with gcc 4.4.2
configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-pthread
s --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --
enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb --enable-
libopencore_amrnb --enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-r
untime-cpudetect --enable-libxvid --enable-libx264 --extra-libs='-lx264 -lpthrea
d' --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --target-o
s=mingw32 --enable-avisynth --cross-prefix=i686-mingw32- --cc='ccache i686-mingw
32-gcc' --enable-memalign-hack
libavutil 50.33. 0 / 50.33. 0
libavcore 0.14. 0 / 0.14. 0
libavcodec 52.97. 2 / 52.97. 2
libavformat 52.87. 1 / 52.87. 1
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.67. 0 / 1.67. 0
libswscale 0.12. 0 / 0.12. 0
[m4v @ 01b6d130] Estimating duration from bitrate, this may be inaccurate
Input #0, m4v, from 'out.m4v':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 21k tbr, 12
00k tbn, 21k tbc
[swscaler @ 01ca83d0] No accelerated colorspace conversion found from yuv420p to
bgr24.
[buffer @ 01c62f90] w:1280 h:720 pixfmt:yuv420p
[ffsink @ 01c86e70] auto-inserting filter 'auto-inserted scaler 0' between the f
ilter 'src' and the filter 'out'
[scale @ 01c764f0] w:1280 h:720 fmt:yuv420p -> w:1280 h:720 fmt:bgr24 flags:0x4
[swscaler @ 01caf5f0] No accelerated colorspace conversion found from yuv420p to
bgr24.
Output #0, image2, to 'img%03d.bmp':
Metadata:
encoder : Lavf52.87.1
Stream #0.0: Video: bmp, bgr24, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/
s, 90k tbn, 21k tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 3 fps= 0 q=0.0 Lsize= -0kB time=0.01 bitrate= -17.6kbits/s dup=0
drop=5
video:8100kB audio:0kB global headers:0kB muxing overhead -100.000265%
ffmpeg outputs three frames, but when venc ran it encoded 8 frames. I have my system setup so I have captured hundreds of MB of data. VLC will play it back, but I need to split the MPEG 4 steam into indivdual files. We also would like to edit the videos with a non-linear video editing suite, but nothing can import these files. It appears to me that the DM355 does not generate true MPEG 4 compliant video streams. Has anyone else had any luck with the MPEG4 encoder on the DM355?
I'm going to try and attach a small clip that I took.5481.outsmall.m4v
Thanks.