View Full Version : Problem with video converting in seconds and saying it can't add to library
joeyras
05-29-2007, 08:12 PM
Like the title says I try to convert a normal avs file and it won't work. It tries to add it to the itunes library rite away. If I convert the same avi without the avs file it works. Also the avs file plays fine with windows media. It just wont convert. I saw others having this same problem with no solution. I know its supposed to take longer than 3 seconds to convert but i dont know whats wrong. Help
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\2\Desktop\movie.avs"
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: H.264 QVGA 768kbps Stereo/128kbps
MSG - MediaInfo - Length: -1s
MSG - MediaInfo - Width: -1 pixels
MSG - MediaInfo - Height: -1 pixels
MSG - MediaInfo - Aspect Ratio: -1
MSG - MediaInfo - Framerate: -1 fps
MSG - Converter - Resolution not detected. Using AutoResize Max Resolution as default.
MSG - Converter - Width: 320 pixels
MSG - Converter - Height: 240 pixels
EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\FFmpeg\ffmpeg.exe -y -i "C:\Documents and Settings\2\Desktop\movie.avs" -f mp4 -title "movie" -timestamp "2007-05-29 04:51:59" -vcodec h264 -level 13 -s 320x240 -b 768k -bt 768k -bufsize 2000k -maxrate 768k -g 250 -coder 0 -acodec aac -ac 2 -ab 128k "C:\Documents and Settings\2\My Documents\Converted Videos\iPod\H264\movie.mp4"
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
FFmpeg version SVN-r8731, Copyright (c) 2000-2007 Fabrice Bellard, et al.
Can't resample. Aborting.
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, avs, from 'C:\Documents and Settings\2\Desktop\movie.avs':
Duration: 01:49:53.7, start: 0.000000, bitrate: N/A
MSG - FFmpeg - Video Length is 6593s
Stream #0.0: Video: rawvideo, yuyv422, 640x336, 86016 kb/s, 25.00 fps(r)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 5:1, 4608 kb/s
Resampling with input channels greater than 2 unsupported.Abort at ffmpeg.c:1578
EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\AddToItunes\AddToItunes.exe -add "C:\Documents and Settings\2\My Documents\Converted Videos\iPod\H264\movie.mp4"
iTunes Library Tool 2.0
(C) 2007 Red Kawa Inc.
http://www.redkawa.com
Failed to add file to iTunes Library
Midiman
05-29-2007, 08:19 PM
Seems to be a problem with your audio. Try converting it without the AVS script so I can see a direct log. If encoding the AVI without an AVS script works... why are you bothering?
joeyras
05-29-2007, 08:27 PM
If encoding the AVI without an AVS script works... why are you bothering?
Because its way out of sync other wise by 9 seconds. Here it is without the avs script
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\2\Desktop\BUMER.avi"
PlayTime=01:49:53.720
Width=640
Height=336
AspectRatio=1.905
FrameRate=25.000
MediaInfo Command line, MediaInfoLib - v0.7.4.5
MSG - MediaInfo - Length: 6593s
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\2\Desktop\BUMER.avi"
PlayTime=01:49:53.720
Width=640
Height=336
AspectRatio=1.905
FrameRate=25.000
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: 6593s
MSG - MediaInfo - Width: 640 pixels
MSG - MediaInfo - Height: 336 pixels
MSG - MediaInfo - Aspect Ratio: 1.905
MSG - MediaInfo - Framerate: 25 fps
MSG - Converter - Automatically Resizing Resolution
MSG - Converter - New Width:320 | New Height: 168
MSG - Converter - Automatically Generating Framerate
EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\FFmpeg\ffmpeg.exe -y -i "C:\Documents and Settings\2\Desktop\BUMER.avi" -f mp4 -title "BUMER" -timestamp "2007-05-29 05:15:43" -vcodec h264 -level 13 -s 320x168 -b 768k -bt 768k -bufsize 2000k -maxrate 768k -g 250 -coder 0 -acodec aac -ac 2 -ab 128k "C:\Documents and Settings\2\My Documents\Converted Videos\iPod\H264\BUMER.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)
Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 25.00 (25/1)
Input #0, avi, from 'C:\Documents and Settings\2\Desktop\BUMER.avi':
Duration: 01:49:53.7, start: 0.000000, bitrate: 1849 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x336, 25.00 fps(r)
Stream #0.1: Audio: ac3, 48000 Hz, 5:1, 448 kb/s
Output #0, mp4, to 'C:\Documents and Settings\2\My Documents\Converted Videos\iPod\H264\BUMER.mp4':
Stream #0.0: Video: h264, yuv420p, 320x168, q=2-31, 768 kb/s, 25.00 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 @ 009BC940]width or height not divisible by 16 (320x168), compression will suffer.
[h264 @ 009BC940]using SAR=1/1
[h264 @ 009BC940]using cpu capabilities MMX MMXEXT SSE SSE2
No accelerated IMDCT transform found
Press [q] to stop encoding
[h264 @ 009BC940]OVERFLOW levelcode=4375
frame= 77 fps= 0 q=2.0 size= 0kB time=3.1 bitrate= 0.1kbits/s
frame= 151 fps= 0 q=2.0 size= 0kB time=6.0 bitrate= 0.0kbits/s
frame= 223 fps=149 q=2.0 size= 2kB time=0.1 bitrate= 110.8kbits/s
[h264 @ 009BC940]OVERFLOW levelcode=4373
frame= 266 fps=133 q=2.0 size= 53kB time=1.9 bitrate= 229.2kbits/s
frame= 308 fps=123 q=2.0 size= 91kB time=3.5 bitrate= 210.9kbits/s
frame= 333 fps=111 q=2.0 size= 108kB time=4.5 bitrate= 197.3kbits/s
frame= 360 fps=103 q=16.0 size= 137kB time=5.6 bitrate= 200.9kbits/s
frame= 390 fps= 98 q=16.0 size= 171kB time=6.8 bitrate= 205.4kbits/s
frame= 418 fps= 93 q=11.0 size= 211kB time=7.9 bitrate= 218.2kbits/s
frame= 445 fps= 89 q=16.0 size= 246kB time=9.0 bitrate= 224.5kbits/s
frame= 472 fps= 86 q=15.0 size= 282kB time=10.1 bitrate= 228.5kbits/s
frame= 498 fps= 83 q=12.0 size= 317kB time=11.1 bitrate= 233.4kbits/s
frame= 524 fps= 81 q=12.0 size= 355kB time=12.2 bitrate= 238.9kbits/s
frame= 551 fps= 79 q=12.0 size= 615kB time=13.2 bitrate= 380.0kbits/s
frame= 578 fps= 77 q=14.0 size= 810kB time=14.3 bitrate= 462.6kbits/s
frame= 601 fps= 75 q=21.0 size= 888kB time=15.2 bitrate= 477.6kbits/s
frame= 621 fps= 73 q=14.0 size= 958kB time=16.0 bitrate= 489.9kbits/s
frame= 647 fps= 72 q=15.0 size= 1101kB time=17.1 bitrate= 527.8kbits/s
frame= 674 fps= 71 q=20.0 size= 1216kB time=18.2 bitrate= 547.4kbits/s
frame= 699 fps= 70 q=12.0 size= 1297kB time=19.2 bitrate= 554.5kbits/s
frame= 723 fps= 69 q=12.0 size= 1434kB time=20.1 bitrate= 583.8kbits/s
DELETE: C:\Documents and Settings\2\My Documents\Converted Videos\iPod\H264\BUMER.mp4
frame= 748 fps= 68 q=12.0 size= 1547kB time=21.1 bitrate= 600.2kbits/s
Midiman
05-29-2007, 08:40 PM
With the avs script, it was trying to resize your video to 320x240. Without it, it's trying to resize to 320x168. I'd suggest 320x176.
joeyras
05-29-2007, 08:52 PM
Nope here is the new log using the 320x176. Also maybe it is something with the software because it worked converting the video yesterday, but I rebooted my computer and set up a fresh (but same) os. It worked with the same file even the same avs script but I had a different problem where it would convert for about an hour, get to 85% and stop without actually aborting, but that was because of a virus and thats another story. Just telling you this in case it can help solve my problem in some way.
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\2\Desktop\movie.avs"
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: new
MSG - MediaInfo - Length: -1s
MSG - MediaInfo - Width: -1 pixels
MSG - MediaInfo - Height: -1 pixels
MSG - MediaInfo - Aspect Ratio: -1
MSG - MediaInfo - Framerate: -1 fps
EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\FFmpeg\ffmpeg.exe -y -i "C:\Documents and Settings\2\Desktop\movie.avs" -f mp4 -title "movie" -timestamp "2007-05-29 05:37:38" -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\2\My Documents\Converted Videos\iPod\H264\movie.mp4"
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Can't resample. Aborting.
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, avs, from 'C:\Documents and Settings\2\Desktop\movie.avs':
Duration: 01:49:53.7, start: 0.000000, bitrate: N/A
MSG - FFmpeg - Video Length is 6593s
Stream #0.0: Video: rawvideo, yuyv422, 640x336, 103219 kb/s, 30.00 fps(r)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 5:1, 4608 kb/s
Resampling with input channels greater than 2 unsupported.Abort at ffmpeg.c:1578
EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\AddToItunes\AddToItunes.exe -add "C:\Documents and Settings\2\My Documents\Converted Videos\iPod\H264\movie.mp4"
iTunes Library Tool 2.0
(C) 2007 Red Kawa Inc.
http://www.redkawa.com
Failed to add file to iTunes Library
joeyras
05-29-2007, 09:08 PM
also I just tested and this happens with any avs script I use not just for this movie
Midiman
05-29-2007, 09:30 PM
Not sure what's going on. I'm sure one of our AVS afficianados will be along shortly.
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 5:1, 4608 kb/s
I see that in your audio input stream and I'm not sure what it means. That's typically where it would say stereo or mono. 5:1 is usually a compression ratio, not the same at all as 5.1... but your error specifically says it's having trouble with more than 2 channels of audio.
joeyras
05-30-2007, 12:11 AM
Ok I see the problem is that I was converting in stereo. It only works if I change to original and not even mono, but at least it doesn't stop so I will fully convert the video tomorrow, but I see that it does not stop now so everything is good.