PDA

View Full Version : swScaler: Unknown format is not supported as input format


francis
07-31-2007, 03:41 AM
I have a 5.5G iPod, and I'm having problems encoding a video using the One-Click Convert option (H.264 QVGA 768kbps Stereo/128kbps). Only a second after it starts converting, it says conversion complete, resulting in a 0kb file.
----------
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\Administrator\Desktop\the big lebowski.avi"

PlayTime=01:56:54.764

Width=640

Height=360

AspectRatio=1.778

FrameRate=23.976
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: 7014s
MSG - MediaInfo - Width: 640 pixels
MSG - MediaInfo - Height: 360 pixels
MSG - MediaInfo - Aspect Ratio: 1.778
MSG - MediaInfo - Framerate: 23.976 fps
MSG - Converter - Automatically Resizing Resolution
MSG - Converter - New Width:320 | New Height: 180
MSG - Converter - Out of Order Execution Detected
MSG - Converter - Automatically Generating Framerate
EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\FFmpeg\ffmpeg.exe -y -i "C:\Documents and Settings\Administrator\Desktop\the big lebowski.avi" -f mp4 -title "the big lebowski" -timestamp "2007-07-31 12:20:48" -vcodec h264 -level 13 -s 320x180 -r 24000/1001 -b 768k -bt 768k -bufsize 2000k -maxrate 768k -g 250 -coder 0 -acodec aac -ac 2 -ab 128k "D:\Videos\iPod\H264\the big lebowski.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
Input #0, avi, from 'C:\Documents and Settings\Administrator\Desktop\the big lebowski.avi':
Duration: 01:56:58.6, start: 0.000000, bitrate: 869 kb/s
Stream #0.0: Video: msmpeg4, 640x360, 23.98 fps(r)
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 96 kb/s
swScaler: Unknown format is not supported as input format
Cannot get resampling context
----------

The same movie works if i select the H.264 QVGA 768kbps Stereo/128kbps AviSynth, but it is very slow. Help or advice would be greatly appreciated. Thanks!

Midiman
07-31-2007, 07:24 AM
You have msmpeg4 video and probably need this codec:

http://www.free-codecs.com/download/Nimo_Codec_Pack.htm

It's worked for at least one other person.

francis
07-31-2007, 07:51 AM
thanks for the quick reply. after installing the codecs and restarting, i still unfortunately have the problem.

Sketch
07-31-2007, 08:18 AM
Does it play in Windows Media Player. If so, try one of the profiles that has "AVISynth" in the title. If that doesn't work, please post that log.

The Dude abides...

francis
07-31-2007, 05:04 PM
As i have mentioned earlier, The movie works if i select "H.264 QVGA 768kbps Stereo/128kbps AviSynth", but it's a lot slower than converting movies when using the standard profile.

Sketch
08-01-2007, 04:33 AM
I'm sorry; I missed the text after your log excerpt. I can't suggest anything to provide performance except maybe look for a different msmpeg4 codec.

msopnet
08-01-2007, 09:11 AM
As i have mentioned earlier, The movie works if i select "H.264 QVGA 768kbps Stereo/128kbps AviSynth", but it's a lot slower than converting movies when using the standard profile.

How much slower is it? It really shouldn't be much slower - AVISynth processes the video fast enough that you can, technically, watch it while it's processing. I've actually done this.

Sketch
08-02-2007, 09:04 AM
How much slower is it? It really shouldn't be much slower - AVISynth processes the video fast enough that you can, technically, watch it while it's processing. I've actually done this.
Agreed. The only time I've done a horrendous difference is if my script is using a de-interlacing plugin. A one-line DirectShowSource script, though, shouldn't be a problem.