ffmpeg error: invalid width x height (0x320)
I've got an iPod now - so decided to try and set up myth2ipod to try and get some really cool things happening in terms of recording tv, automatically transcoding it and podcasting so that I can watch last nights TV on the iPod whilst commuting to work....
ok - thats the background! I followed a pretty good set of instructions from here: http://www.myth2ipod.com/myth2ipod.html/ http://g-ding.tv/?q=node/2217 and the thing damn nearly works right off the bat! - the rss feed work, iTunes can see anything published in the podcast etc etc BUT - the transcode itself fails.. I've picked apart the myth2ipod script and it fails at teh call to nuvexport. When I run nuvexport from a command line it too fails. Next step was to run in debug mode using this: Code:
nuvexport --chanid=1025 --start=20071227064500 --mode=iPod --nice=19 --cutlist --nodenoise --nodeinterlace --nomultipass --filename=1025_20071227064500.temp --path=/storage/ipodfeed/ --debug Code:
/bin/nice -n19 ffmpeg -y -f s16le -ar 48000 -ac 2 -i /tmp/fifodir_24217/audout -f rawvideo -pix_fmt yuv420p -s 720x576 -aspect 1.77777777777778 -r 25.000 -i /tmp/fifodir_24217/vidout -aspect 1.77777777777778 -r 25 -croptop 8 -cropright 10 -cropbottom 8 -cropleft 10 -s 320x176 -vcodec h264 -b '384k' -title 'Filipino News' -level 30 -loop 1 -g 250 -keyint_min 25 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -bt '384k' -maxrate '768k' -bufsize '244k' -i_qfactor '0.71428572' -b_qfactor '0.76923078' -bf '0' -refs 2 -subq 7 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -flags2 +bpyramid+wpred+mixed_refs+8x8dct+brdo -me_range 21 -trellis 2 -chroma 1 -slice 2 -cmp 1 -deblockalpha 0 -deblockbeta 0 -acodec aac -ar 48000 -async 1 -ab '64k' '/storage/ipodfeed/1025_20071227064500.temp.mp4' 2>&1 Code:
Input #0, s16le, from '/tmp/fifodir_24217/audout': http://ubuntuforums.org/archive/index.php/t-334219.html - Has anyone in Fedora world overcome this? Can anyone point me in the right direction? ta |
Well, you should seriously take into consideration a width of 0, which will make you save a lot of bandwith and storage space. :D
Jokes apart I had exactly the same issue using ffmpeg through VLC. The only walkaround I found was to change the bitrate and/or the codec and/or the resolution of the video. x264 was the codec which generated most of the problems. In the end I opted for xvid. I imagine you cannot hijack myth2ipod to make it use v264-enc or mencoder instead of ffmpeg, right? |
All times are GMT -5. The time now is 08:36 AM. |