Trying to use ffmpeg to convert a short avi clip.
Two different clips with XviD and Huffy video and mp3 CBR audio.
The result is the error message and a zero sized file.
The same clips convert OK using Nero, x264, mp4box.
Any ideas what I'm doing wrong?
Command lines:
Audio:
-i - "%(tempaudiofile)" -vn -f ac3_fixed -ar %(samplingrate) -ac %(channels) -ab 192k
Video:
-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -vcodec mpeg2video -bf 2 -b 3000k "%(tempvideofile)"
Muxer:
-i "%(tempvideofile)" -i "%(tempaudiofile)" -acodec copy -vcodec copy "%(outputname)"
Error log:[*] AVI: Opening file "C:\Users\Superuser\Desktop\clip_german.avi"[*] Beginning dub operation.
[i] Dub: Input (decompression) format is: YUYV.
[i] Dub: Output (compression) format is: YUV420.
[i] VideoEnc: ffmpeg version N-50171-gb16bf91 Copyright (c) 2000-2013 the
FFmpeg developers
[i] VideoEnc: built on Feb 22 2013 01:06:51 with gcc 4.7.2 (GCC)
[i] VideoEnc: configuration: --enable-gpl --enable-version3
--disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig
--enable-frei0r --enable-gnutls --enable-libass --enable-libbluray
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
[i] VideoEnc: libavutil 52. 17.102 / 52. 17.102
[i] VideoEnc: libavcodec 54. 92.100 / 54. 92.100
[i] VideoEnc: libavformat 54. 63.100 / 54. 63.100
[i] VideoEnc: libavdevice 54. 3.103 / 54. 3.103
[i] VideoEnc: libavfilter 3. 39.100 / 3. 39.100
[i] VideoEnc: libswscale 2. 2.100 / 2. 2.100
[i] AudioEnc: ffmpeg version N-50171-gb16bf91 Copyright (c) 2000-2013 the
FFmpeg developers
[i] AudioEnc: built on Feb 22 2013 01:06:51 with gcc 4.7.2 (GCC)
[i] AudioEnc: configuration: --enable-gpl --enable-version3
--disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig
--enable-frei0r --enable-gnutls --enable-libass --enable-libbluray
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
[i] AudioEnc: libavutil 52. 17.102 / 52. 17.102
[i] AudioEnc: libavcodec 54. 92.100 / 54. 92.100
[i] AudioEnc: libavformat 54. 63.100 / 54. 63.100
[i] AudioEnc: libavdevice 54. 3.103 / 54. 3.103
[i] AudioEnc: libavfilter 3. 39.100 / 3. 39.100
[i] AudioEnc: libswscale 2. 2.100 / 2. 2.100
[i] AudioEnc: libswresample 0. 17.102 / 0. 17.102
[i] VideoEnc: libswresample 0. 17.102 / 0. 17.102
[i] VideoEnc: libpostproc 52. 2.100 / 52. 2.100
[i] VideoEnc: [rawvideo @ 020f9fe0] Estimating duration from bitrate, this may
be inaccurate
[i] VideoEnc: Input #0, rawvideo, from 'pipe:':
[i] VideoEnc: Duration: N/A, start: 0.000000, bitrate: 69120 kb/s
[i] VideoEnc: Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p,
640x360, 69120 kb/s, 25 tbr, 25 tbn, 25 tbc
[i] VideoEnc: Please use -b:a or -b:v, -b is ambiguous
[i] VideoEnc: [mpeg @ 0412e960] VBV buffer size not set, muxing may fail
[i] VideoEnc: Output #0, mpeg, to 'C:\Users\Superuser\Desktop\kip.mpg.mpg':
[i] VideoEnc: Metadata:
[i] VideoEnc: encoder : Lavf54.63.100
[i] VideoEnc: Stream #0:0: Video: mpeg2video, yuv420p, 640x360, q=2-31,
3000 kb/s, 90k tbn, 25 tbc
[i] VideoEnc: Stream mapping:
[i] VideoEnc: Stream #0:0 -> #0:0 (rawvideo -> mpeg2video)
[i] AudioEnc: libpostproc 52. 2.100 / 52. 2.100
[i] AudioEnc: Trailing options were found on the commandline.
[i] VideoEnc: frame= 63 fps=0.0 q=2.5 size= 338kB time=00:00:02.40
bitrate=1153.7kbits/s
[i] AudioEnc: [wav @ 0037bb80] max_analyze_duration 5000000 reached at 5016000
microseconds
[i] AudioEnc: [wav @ 0037bb80] Estimating duration from bitrate, this may be
inaccurate
[i] AudioEnc: Input #0, wav, from 'pipe:':
[i] AudioEnc: Duration: N/A, bitrate: 128 kb/s
[i] AudioEnc: Stream #0:0: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz,
stereo, s16p, 128 kb/s
[i] AudioEnc: Output #0, ac3, to 'C:\Users\Superuser\Desktop\kip.mpg.ac3':
[i] AudioEnc: Metadata:
[i] AudioEnc: encoder : Lavf54.63.100
[i] AudioEnc: Stream #0:0: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
[i] AudioEnc: Stream mapping:
[i] AudioEnc: Stream #0:0 -> #0:0 (mp3 -> ac3)
[i] VideoEnc: frame= 123 fps=119 q=2.5 size= 690kB time=00:00:04.80
bitrate=1177.6kbits/s
[i] AudioEnc: size= 163kB time=00:00:06.93 bitrate= 192.1kbits/s
[i] VideoEnc: frame= 173 fps=112 q=2.5 size= 996kB time=00:00:06.80
bitrate=1199.9kbits/s
[i] VideoEnc: frame= 234 fps=114 q=2.5 size= 1348kB time=00:00:09.24
bitrate=1195.1kbits/s
[i] AudioEnc: size= 223kB time=00:00:09.49 bitrate= 192.1kbits/s
[i] VideoEnc: frame= 295 fps=115 q=2.0 size= 1742kB time=00:00:11.68
bitrate=1221.8kbits/s
[i] AudioEnc: size= 283kB time=00:00:12.05 bitrate= 192.1kbits/s
[i] VideoEnc: frame= 348 fps=113 q=2.5 size= 2074kB time=00:00:13.80
bitrate=1231.2kbits/s
[i] AudioEnc: size= 337kB time=00:00:14.36 bitrate= 192.1kbits/s
[i] VideoEnc: frame= 409 fps=113 q=2.0 size= 2502kB time=00:00:16.24
bitrate=1262.1kbits/s
[i] AudioEnc: size= 391kB time=00:00:16.66 bitrate= 192.1kbits/s
[i] VideoEnc: frame= 466 fps=113 q=2.0 size= 2884kB time=00:00:18.52
bitrate=1275.7kbits/s
[i] AudioEnc: size= 445kB time=00:00:18.97 bitrate= 192.1kbits/s
[i] VideoEnc: frame= 520 fps=112 q=1.6 size= 3268kB time=00:00:20.68
bitrate=1294.6kbits/s
[i] AudioEnc: size= 499kB time=00:00:21.27 bitrate= 192.0kbits/s
[i] VideoEnc: frame= 576 fps=112 q=2.5 size= 3592kB time=00:00:22.92
bitrate=1283.8kbits/s
[i] AudioEnc: size= 553kB time=00:00:23.57 bitrate= 192.0kbits/s
[i] VideoEnc: frame= 634 fps=111 q=2.0 size= 3976kB time=00:00:25.24
bitrate=1290.5kbits/s
[i] AudioEnc: size= 607kB time=00:00:25.88 bitrate= 192.0kbits/s
[i] VideoEnc: frame= 697 fps=112 q=2.0 size= 4384kB time=00:00:27.76
bitrate=1293.7kbits/s
[i] AudioEnc: size= 667kB time=00:00:28.44 bitrate= 192.0kbits/s
[i] VideoEnc: frame= 750 fps=113 q=2.5 Lsize= 4772kB time=00:00:29.96
bitrate=1304.8kbits/s
[i] VideoEnc: video:4742kB audio:0kB subtitle:0 global headers:0kB muxing
overhead 0.638489%
[i] AudioEnc: incomplete frame
[i] AudioEnc: Error while decoding stream #0:0: Invalid data found when
processing input
[i] AudioEnc: size= 702kB time=00:00:29.94 bitrate= 192.0kbits/s
[i] AudioEnc: video:0kB audio:702kB subtitle:0 global headers:0kB muxing
overhead 0.000000%
[E] Error: CLI: The multiplexing process failed with error code 1 (00000001).
Check the log for possible error messages.
+ Reply to Thread
Results 1 to 2 of 2
-
Last edited by sambat; 23rd Feb 2013 at 17:11.
-
The muxer setting required 'Delete output file before starting' checked.
Similar Threads
-
Codecs gone, not showing up in VirtualDub or other software....
By ggouweloos in forum Video ConversionReplies: 19Last Post: 14th Sep 2012, 23:24 -
VirtualDub Compression Codecs All missing?
By blazr in forum Newbie / General discussionsReplies: 0Last Post: 29th Feb 2012, 05:14 -
A few questions about bitrate,codecs and virtualdub
By alibaba12 in forum Newbie / General discussionsReplies: 21Last Post: 5th Jan 2012, 17:30 -
Codecs for WMM | WMP | VirtualDub
By TheGame111 in forum EditingReplies: 1Last Post: 22nd Dec 2010, 17:42 -
vob to mov. Problem with virtualdub codecs
By jogonan in forum Video ConversionReplies: 4Last Post: 24th Nov 2009, 05:29