PDA

View Full Version : Converted mp4 too big for Nano screen


paulm235
11-13-2008, 10:10 PM
I have a 4th gen Nano. The conversion process worked fine (albeit slow) except when I play the video on my iPod Nano about 1/4th of the video is cut off. I can't tell if it happening top to bottom but side to side I'm losing quite a bit. It's as if it's converting for a larger screen. Any help would be appreciated.


EXEC: C:\Program Files\Red Kawa\Video Converter App\Tools\FFmpeg\ffmpeg.exe -y -i "C:\Documents and Settings\Paul\My Documents\Movies\qos.avi" -f mp4 -title "qos1" -timestamp "2008-11-13 08:35:45" -vcodec libx264 -level 21 -s 320x136 -b 768k -bt 768k -t 60 -bufsize 4M -maxrate 4M -g 250 -coder 0 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +mixed_refs -me_method umh -subq 6 -trellis 1 -refs 3 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -threads 0 -acodec libfaac -ac 2 -ab 128k "C:\Documents and Settings\Paul\My Documents\My Videos\qos1.mp4"

FFmpeg version Sherpya-r15666, Copyright (c) 2000-2008 Fabrice Bellard, et al.
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 0. 0 / 52. 0. 0
libavformat 52.22. 1 / 52.22. 1
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 6. 1 / 0. 6. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Oct 22 2008 23:37:16, gcc: 4.2.5 20080919 (prerelease) [Sherpya]
Input #0, avi, from 'C:\Documents and Settings\Paul\My Documents\Movies\qos.avi':
Duration: 01:39:50.48, start: 0.000000, bitrate: 976 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 672x288 [PAR 1:1 DAR 7:3], 25.00 tb(r)
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 96 kb/s
Output #0, mp4, to 'C:\Documents and Settings\Paul\My Documents\My Videos\qos1.mp4':
Stream #0.0: Video: libx264, yuv420p, 320x136 [PAR 119:120 DAR 7:3], q=10-51, 768 kb/s, 25.00 tb(c)
Stream #0.1: Audio: libfaac, 48000 Hz, stereo, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[libx264 @ 01569860]width or height not divisible by 16 (320x136), compression will suffer.
[libx264 @ 01569860]using SAR=119/120
[libx264 @ 01569860]using cpu capabilities: MMX2
Press [q] to stop encoding
[mp3 @ 01568640]mdb:50, lastbuf:0 skipping granule 0
[mp3 @ 01568640]mdb:50, lastbuf:0 skipping granule 0
[mp3 @ 01568640]mdb:50, lastbuf:0 skipping granule 1
frame= 6 fps= 0 q=15.0 size= 35kB time=0.24 bitrate=1208.7kbits/s
frame= 13 fps= 12 q=12.0 size= 59kB time=0.52 bitrate= 926.5kbits/s
frame= 20 fps= 13 q=15.0 size= 89kB time=0.80 bitrate= 912.6kbits/s
frame= 29 fps= 14 q=14.0 size= 127kB time=1.16 bitrate= 898.3kbits/s
frame= 38 fps= 15 q=15.0 size= 167kB time=1.52 bitrate= 902.5kbits/s
frame= 46 fps= 15 q=13.0 size= 203kB time=1.84 bitrate= 901.8kbits/s
frame= 55 fps= 15 q=13.0 size= 238kB time=2.20 bitrate= 885.4kbits/s
frame= 1501 fps= 13 q=4218019.0 Lsize= 6924kB time=60.04 bitrate= 944.7kbits/s

video:5945kB audio:943kB global headers:1kB muxing overhead 0.501464%
[libx264 @ 01569860]slice I:19 Avg QP:13.50 size: 10068
[libx264 @ 01569860]slice P:1482 Avg QP:15.00 size: 3979
[libx264 @ 01569860]mb I I16..4: 23.8% 0.0% 76.2%
[libx264 @ 01569860]mb P I16..4: 1.6% 0.0% 9.9% P16..4: 35.9% 27.3% 17.2% 0.0% 0.0% skip: 8.1%
[libx264 @ 01569860]final ratefactor: 13.45
[libx264 @ 01569860]ref P L0 82.5% 12.1% 5.4%
[libx264 @ 01569860]SSIM Mean Y:0.9913074
[libx264 @ 01569860]kb/s:811.2

paulm235
11-16-2008, 11:26 AM
Figured this out myself. It was a setting in the ipod. I just needed to dig a little deeper in the settings. If in the Nano settings you set to Fit to Screen it cuts the sides of the video off. If you turn that featue off it will play in letterbox (really small on a Nano) and you see the wide screen in it's entirety. The TV Screen setting (either Standard or Widescreen) doesn't seem to make a difference. Just setting Fit to Screen as Off did the trick. Because of the even more dimished size of the video when you watch it in letterbox I have found a cheap pair of reading glasses from any drug store let you move it closer which makes for better viewing. It's not the ideal solution but it helps.