PDA

View Full Version : Can't Convert Avi?


depp_x
07-22-2007, 11:52 PM
Could someone please help me with this problem. I would really appreciate it. I'm trying to convert these Hell's Kitchen episodes using this program but it won't do it. I'm not sure if it's because they are .avi files or what. I was converting .flv videos from youtube earlier and that worked fine...although I did convert a hellraiser movie and that was a "video clip". Please respond. Well I guess the "actual" problem is it's converted but It says I (CAN'T BRING IT TO ITUNES). So I found that very odd to say the least Here's my source code by the way. thanks.

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\Owner\Desktop\hellskitchenseason3episode2 .avi"

PlayTime=00:41:23.548

Width=608

Height=336

AspectRatio=1.810

FrameRate=29.979
MediaInfo Command line, MediaInfoLib - v0.7.4.5
MSG - OS - Version: Microsoft Windows NT 5.1.2600 Service Pack 2
MSG - Converter - Version: 2.25
MSG - Converter - Profile: H.264 QVGA 768kbps Stereo/128kbps
MSG - MediaInfo - Length: 2483s
MSG - MediaInfo - Width: 608 pixels
MSG - MediaInfo - Height: 336 pixels
MSG - MediaInfo - Aspect Ratio: 1.81
MSG - MediaInfo - Framerate: 29.979 fps
MSG - Converter - Automatically Resizing Resolution
MSG - Converter - New Width:320 | New Height: 176
MSG - Converter - Automatically Generating Framerate
EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\FFmpeg\ffmpeg.exe -y -i "C:\Documents and Settings\Owner\Desktop\hellskitchenseason3episode2 .avi" -f mp4 -title "hellskitchenseason3episode2" -timestamp "2007-07-22 11:27:26" -vcodec h264 -level 13 -s 320x176 -b 768k -bt 768k -bufsize 2000k -maxrate 768k -g 250 -coder 0 -acodec aac -ac 2 -ab 128k "C:\Documents and Settings\Owner\My Documents\Converted Videos\iPod\H264\hellskitchenseason3episode2.mp4"

FFmpeg version SVN-r9133, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis --enable-x264 --enable-xvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static --enable-dirac
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on May 27 2007 19:45:44, gcc: 4.2.0

Seems stream 0 codec frame rate differs from container frame rate: 29.98 (65535/2186) -> 29.97 (29970030/1000000)
Input #0, avi, from 'C:\Documents and Settings\Owner\Desktop\hellskitchenseason3episode2 .avi':
Duration: 00:41:23.5, start: 0.000000, bitrate: 1177 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 608x336, 29.97 fps(r)
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
Output #0, mp4, to 'C:\Documents and Settings\Owner\My Documents\Converted Videos\iPod\H264\hellskitchenseason3episode2.mp4':
Stream #0.0: Video: h264, yuv420p, 320x176, q=2-31, 768 kb/s, 29.97 fps(c)
Stream #0.1: Audio: aac, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[h264 @ 00AB2A40]using SAR=209/210
[h264 @ 00AB2A40]using cpu capabilities MMX MMXEXT SSE SSE2
Press [q] to stop encoding
[h264 @ 00AB2A40]OVERFLOW levelcode=5007
[h264 @ 00AB2A40]OVERFLOW levelcode=5007
frame= 29 fps= 0 q=2.0 size= 45kB time=0.9 bitrate= 403.6kbits/s
frame= 59 fps= 58 q=2.0 size= 84kB time=1.9 bitrate= 360.5kbits/s
frame= 73 fps= 48 q=14.0 size= 272kB time=2.4 bitrate= 933.9kbits/s
frame= 90 fps= 45 q=21.0 size= 357kB time=2.9 bitrate= 992.7kbits/s
frame= 106 fps= 42 q=31.0 size= 435kB time=3.5 bitrate=1017.4kbits/s
frame= 124 fps= 41 q=28.0 size= 491kB time=4.1 bitrate= 987.5kbits/s
frame= 141 fps= 40 q=24.0 size= 535kB time=4.7 bitrate= 942.1kbits/s
frame= 156 fps= 39 q=23.0 size= 583kB time=5.2 bitrate= 922.0kbits/s
frame= 173 fps= 38 q=21.0 size= 641kB time=5.7 bitrate= 918.1kbits/s
frame= 190 fps= 38 q=23.0 size= 700kB time=6.3 bitrate= 911.0kbits/s
frame= 209 fps= 38 q=24.0 size= 770kB time=6.9 bitrate= 912.0kbits/s
frame= 227 fps= 38 q=20.0 size= 832kB time=7.5 bitrate= 908.1kbits/s
frame= 244 fps= 37 q=23.0 size= 887kB time=8.1 bitrate= 898.3kbits/s
frame= 260 fps= 37 q=25.0 size= 945kB time=8.6 bitrate= 898.3kbits/s
frame= 276 fps= 37 q=23.0 size= 1020kB time=9.2 bitrate= 912.7kbits/s
frame= 293 fps= 36 q=23.0 size= 1067kB time=9.7 bitrate= 898.2kbits/s
frame= 311 fps= 36 q=22.0 size= 1130kB time=10.3 bitrate= 896.9kbits/s
frame= 330 fps= 36 q=24.0 size= 1206kB time=10.9 bitrate= 902.7kbits/s
frame= 348 fps= 36 q=28.0 size= 1275kB time=11.5 bitrate= 905.2kbits/s
frame= 364 fps= 36 q=29.0 size= 1370kB time=12.1 bitrate= 928.0kbits/s
frame= 381 fps= 36 q=25.0 size= 1413kB time=12.7 bitrate= 911.8kbits/s
frame= 397 fps= 36 q=27.0 size= 1460kB time=13.2 bitrate= 907.1kbits/s
DELETE: C:\Documents and Settings\Owner\My Documents\Converted Videos\iPod\H264\hellskitchenseason3episode2.mp4
ERROR 0002 - Could not delete the following file: C:\Documents and Settings\Owner\My Documents\Converted Videos\iPod\H264\hellskitchenseason3episode2.mp4
ERROR 0001 - Exception raised:
System.IO.IOException: The process cannot access the file 'C:\Documents and Settings\Owner\My Documents\Converted Videos\iPod\H264\hellskitchenseason3episode2.mp4' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
at Videora.Conversion.Video.EncoderFlows.iPod.0b67580 14c4f17b8.ec74212ffbd60c7e()
frame= 414 fps= 36 q=24.0 size= 1528kB time=13.8 bitrate= 909.8kbits/s

Midiman
07-23-2007, 12:05 AM
I don't see much wrong... so I'd advise you to get your source file out of documents and settings and save your converted files elsewhere too.

Sketch
07-23-2007, 11:23 AM
I'd be interested to know, assuming you can play the source video in Windows Media Player, what happens with a profile that says 'AVISynth' in it.