Hi Jason, On Wed, Jan 27, 2016 at 21:34:23 -0500, Jason C wrote: > > My goal is to create an MPEG-2 video (container format doesn't matter). > > When I use "-vcodec mpeg2video" the output has the fourcc "m2v1". This > > output is unplayable in VLC, Windows Media Player (with K-Lite codec pack), > > mplayer, and the QuickTime player. Additionally, "m2v1" doesn't seem to > > exist in any fourcc databases. It seems to be incorrect.
How did you check the FourCC? That said, I just created a file with mpeg2video as such: $ ffmpeg -f lavfi -i testsrc2 -c:v mpeg2video -t 5 ffmpeg.mpeg2video.avi (albeit on Linux) an it plays just fine in (Windows) mplayer and VLC. Could you please show us the full command line you used and the complete, uncut console output? Thanks, Moritz P.S.: $ ffmpeg -f lavfi -i testsrc2 -c:v mpeg2video -t 5 ffmpeg.mpeg2video.avi ffmpeg version N-77840-gcc538e9 Copyright (c) 2000-2016 the FFmpeg developers built with icc (ICC) 14.0.3 20140422 configuration: --prefix=/usr/new/tools/video/install/ffmpeg/2016-01-14 --cc=icc --cxx=icpc --enable-gpl --enable-version3 --enable-nonfree --disable-shared --enable-gnutls --enable-libcdio --enable-libfreetype --enable-libx264 --enable-libvpx --enable-libmp3lame --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtwolame --enable-libopenjpeg --enable-librtmp --enable-libass --enable-libv4l2 --enable-libvidstab --enable-libfdk-aac --enable-libsmbclient --enable-libquvi --enable-libzvbi --enable-libtesseract --enable-libzmq libavutil 55. 13.100 / 55. 13.100 libavcodec 57. 22.100 / 57. 22.100 libavformat 57. 21.101 / 57. 21.101 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 23.100 / 6. 23.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Input #0, lavfi, from 'testsrc2': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc Output #0, avi, to 'ffmpeg.mpeg2video.avi': Metadata: ISFT : Lavf57.21.101 Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc Metadata: encoder : Lavc57.22.100 mpeg2video Side data: unknown side data type 10 (24 bytes) Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native)) Press [q] to stop, [?] for help frame= 125 fps=0.0 q=23.4 Lsize= 222kB time=00:00:04.96 bitrate= 367.0kbits/s speed=15.3x video:214kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4.032623% _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user