I am trying to convert my avi to mp4 and I have tried everything and nothing is working.
ffmpeg -version
I want to do transcode to libx264 like this.Code:FFmpeg version SVN-r23439, Copyright (c) 2000-2010 the FFmpeg developers built on Jun 3 2010 04:14:14 with gcc 4.4.2 configuration: --target-os=mingw32 --enable-runtime-cpudetect --enable-avisynth --enable-gpl --enable-version3 --enabl e-bzlib --enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex --ena ble-libmp3lame --enable-libopenjpeg --enable-libxvid --enable-libschroedinger --enable-libx264 --extra-libs='-lx264 -lpt hread' --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-librtmp --extra-libs='-lrtmp -lssl -lcrypto -lws2_ 32 -lgdi32 -lwinmm -lcrypt32 -lz' --arch=x86 --cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memali gn-hack libavutil 50.16. 0 / 50.16. 0 libavcodec 52.73. 0 / 52.73. 0 libavformat 52.67. 0 / 52.67. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.20. 0 / 1.20. 0 libswscale 0.11. 0 / 0.11. 0 FFmpeg SVN-r23439 libavutil 50.16. 0 / 50.16. 0 libavcodec 52.73. 0 / 52.73. 0 libavformat 52.67. 0 / 52.67. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.20. 0 / 1.20. 0 libswscale 0.11. 0 / 0.11. 0
ffmpeg -i MVI_3781.AVI -vcodec libx264 -b 1320k -acodec aac -ab 128k -ac 2 -ar 48000 -f mp4 -threads 2 main.mp4
But nothing I do works this is the error I get.
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
even when I try something simply like.
ffmpeg -i MVI_3781.AVI main.mp4
Platform Windows XP 32
Thanks
+ Reply to Thread
Results 1 to 8 of 8
-
-
Everything you see in the command line and not just the error.
-
Code:
ffmpeg -i MVI_3781.AVI -loglevel debug main.mp4 FFmpeg version SVN-r23439, Copyright (c) 2000-2010 the FFmpeg developers built on Jun 3 2010 04:14:14 with gcc 4.4.2 configuration: --target-os=mingw32 --enable-runtime-cpudetect --enable-avisynth --enable-gpl --enable-version3 --enabl e-bzlib --enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex --ena ble-libmp3lame --enable-libopenjpeg --enable-libxvid --enable-libschroedinger --enable-libx264 --extra-libs='-lx264 -lpt hread' --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-librtmp --extra-libs='-lrtmp -lssl -lcrypto -lws2_ 32 -lgdi32 -lwinmm -lcrypt32 -lz' --arch=x86 --cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memali gn-hack libavutil 50.16. 0 / 50.16. 0 libavcodec 52.73. 0 / 52.73. 0 libavformat 52.67. 0 / 52.67. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.20. 0 / 1.20. 0 libswscale 0.11. 0 / 0.11. 0 Input #0, avi, from 'MVI_3781.AVI': Metadata: ISFT : CanonMVI06 Duration: 00:02:54.69, start: 0.000000, bitrate: 16725 kb/s Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 30 tbr, 30 tbn, 30 tbc Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s [ffmpeg_output @ 01cecd00]auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out' [scale @ 01cecfa0]w:640 h:480 fmt:yuvj422p -> w:640 h:480 fmt:yuv420p flags:0x4 [mpeg4 @ 01d22920]timebase not supported by mpeg 4 standard Output #0, mp4, to 'main.mp4': Stream #0.0, 0, 1/90000: Video: mpeg4, yuv420p, 640x480, 33333/1000000, q=2-31, 200 kb/s, 90k tbn, 30 tbc Stream #0.1, 0, 1/90000: Audio: aac, 44100 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
-
[mpeg4 @ 01d22920]timebase not supported by mpeg 4 standard
-
I just tried this "ffmpeg -i MVI_3781.AVI -loglevel debug -r 29 main.mp4" and it is doing something. I got this solution from http://jaredforsyth.com/blog/2009/jan/6/convert-videos-ffmpeg/
Thanks for pointing me in the right direction as to what to look for.
Similar Threads
-
AVI (DV Pal) to mp4 (h264) with FFMPEG on Windows
By Zoreil59 in forum Video ConversionReplies: 3Last Post: 17th Jun 2010, 03:35 -
converting MOD to AVI to MP4 using avisynth, x264, mp4box & ffmpeg
By Wakewatcher in forum Video ConversionReplies: 3Last Post: 27th Dec 2008, 16:58 -
FFMPEG AVI (XVID) to IPOD Mp4, AUDIO OUTPUT is 2x Normal Speed, HELP!
By jiulonghks in forum ffmpegX general discussionReplies: 1Last Post: 20th Sep 2008, 23:35 -
encoding avi with ffmpeg playable on Windows with Realplayer,Quicktime
By TrupsT in forum LinuxReplies: 1Last Post: 4th Aug 2008, 06:15 -
ffmpeg on Linux Error - .avi to mp4
By coolboarderguy in forum Video ConversionReplies: 10Last Post: 5th Nov 2007, 09:10