PDA

View Full Version : Converting Problem


Someguy
06-06-2007, 05:19 PM
The problem is that as I start converting, an error message pops up saying "Your video could not be converted due to a bad bitrate, framrate, or resolution setting." Here's the log:

EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\mediainfobatch.bat "C:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\MediaInfo.exe" "C:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\parameters.txt" "C:\Documents and Settings\Ashwin Mehra\My Documents\My Videos\VTS_03_1.VOB"

PlayTime=01:16:37.234

Width=720

Height=480

AspectRatio=1.778

FrameRate=29.970
MediaInfo Command line, MediaInfoLib - v0.7.4.5
MSG - OS - Version: Microsoft Windows NT 5.1.2600 Service Pack 2
MSG - Converter - Version: 2.19
MSG - Converter - Profile: VideoWizard
MSG - MediaInfo - Length: 4597s
MSG - MediaInfo - Width: 720 pixels
MSG - MediaInfo - Height: 480 pixels
MSG - MediaInfo - Aspect Ratio: 1.778
MSG - MediaInfo - Framerate: 29.97 fps
MSG - Converter - Automatically Resizing Resolution
MSG - Converter - New Width:320 | New Height: 180
MSG - Converter - Automatically Generating Framerate
EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\FFmpeg\ffmpeg.exe -y -i "C:\Documents and Settings\Ashwin Mehra\My Documents\My Videos\VTS_03_1.VOB" -f mp4 -title "Jodi" -timestamp "2007-06-06 02:04:14" -vcodec h264 -level 13 -s 320x180 -r 30000/1001 -b 640k -bt 640k -bufsize 2000k -maxrate 768k -g 250 -coder 0 -acodec aac -ac 2 -ab 160k "C:\Documents and Settings\Ashwin Mehra\My Documents\Converted Videos\iPod\H264\Jodi.mp4"

FFmpeg version SVN-r8731, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libdts --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis --enable-x264 --enable-xvid --enable-amr_nb --enable-amr_wb --cpu=i686 --enable-memalign-hack --extra-ldflags=-static
libavutil version: 49.4.0
libavcodec version: 51.40.3
libavformat version: 51.12.1
built on Apr 15 2007 00:37:23, gcc: 4.3.0 20070330 (experimental)
Input #0, mpeg, from 'C:\Documents and Settings\Ashwin Mehra\My Documents\My Videos\VTS_03_1.VOB':
Duration: 02:33:06.6, start: 0.300300, bitrate: 4042 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 6000 kb/s, 29.97 fps(r)
Stream #0.1[0x80]: Audio: ac3
Output #0, mp4, to 'C:\Documents and Settings\Ashwin Mehra\My Documents\Converted Videos\iPod\H264\Jodi.mp4':
Stream #0.0: Video: h264, yuv420p, 320x180, q=2-31, 640 kb/s, 29.97 fps(c)
Stream #0.1: Audio: aac, 160 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[h264 @ 009BC940]width or height not divisible by 16 (320x180), compression will suffer.
[h264 @ 009BC940]using SAR=1/1
[h264 @ 009BC940]using cpu capabilities MMX MMXEXT SSE SSE2
[aac @ 009BC940]libfaac doesn't support this output format!
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
MSG - FFmpeg - Conversion Failed (Failure Code: 2)

Midiman
06-06-2007, 06:10 PM
You appear to be having trouble with the audio stream ripped from the DVD.

Input #0, mpeg, from 'C:\Documents and Settings\Ashwin Mehra\My Documents\My Videos\VTS_03_1.VOB':
Duration: 02:33:06.6, start: 0.300300, bitrate: 4042 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 6000 kb/s, 29.97 fps(r)
Stream #0.1[0x80]: Audio: ac3

Stream 0.1 has no stats for whether it's stereo/mono/5:1, what the sample rate is or what bitrate it's encoded at. You might try manually setting the output sample rate to 48000hz and you'd have to take a guess as to whether it's stereo or mono and manually set that. If it doesn't work one way, try it the other way.

I also never endorse storing ANYTHING in Documents and Settings.

A typical line for a DVD should look something like this:
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5:1, 448 kb/s

Someguy
06-06-2007, 09:38 PM
Thanks for your help! Sadly, the only problem is I have no idea how to maanually set the output rate :( Can you please explain?

Midiman
06-06-2007, 09:52 PM
Well... you gotta give up the wizard and learn how to use the program.

HOW TO CHANGE AUDIO SETTINGS:

Go to settings
Select the profile you want to use/edit
Click the Edit Profile button
In the Edit Profile window click the Audio tab
Change what you need (in your case, sample rate and channels)
Click OK to close the Edit Profile window
Click the Convert tab on the main Videora window
Select the video you want to convert
Select the profile you just edited
Convert away....