Video BitRate in v1.4.0 for Win XP

82 views
Skip to first unread message

jaydear

unread,
Mar 2, 2012, 6:13:53 AM3/2/12
to WinFF
I'm a new user, but not new to video conversion.

I don't seem to be able to adjust the video bitrate in conversions to
XviD AVI from MPG. The audio is following my settings (96K / 44100).

I've tried a couple of AVI presets, adjusting the bitrate in the
"Video" tab, and I've also tried modifying a preset and saving it as a
new one. Neither approach worked.

The text screen echoes my changes, but the converted file's bitrate is
way over what I expect, e.g. I set it to 512(KB/s) but converted file
is at 1200 approx. I change 512 to 700 and file is still at 1200.

I guess I'm missing something, but what?

Paul Gevers

unread,
Mar 2, 2012, 1:41:37 PM3/2/12
to wi...@googlegroups.com
My guess is that you are familiar with conversion, but not with ffmpeg?

My suggestion now is that you use Options -> "Pause on finish" and
copy/paste the output of conversion in this mail. Usually ffmpeg will
tell you why it gave you an other value than asked for.

Paul

signature.asc

Argus Vidicon

unread,
Mar 2, 2012, 3:04:05 PM3/2/12
to WinFF
I will be interested in the outcome of this one. I've been a user for
over a year, and ended up having to build my own preset from the "MS
Compatible AVI" preset to get what I wanted. That one is DivX, so if
you get this solved I think I'll give your solution a try. Sorry I'm
still using 1.3.2, with the flood of threads in the last months I feel
pretty good about using my current version.
I just changes these parameters > ab 192k -b 1000k -s 640x480 -ar
44100 to > ab 256k -b 2500k -s 640x480 -ar 48000
That's where I wanted to be. I really wanted XviD, but settled for
DivX because I got the preset mod to work there.
So what I'm saying is that I also would like XviD but I want audio
@256 and Video @2500
Thaks, I'll be watching this thread.
>  signature.asc
> < 1KViewDownload

jaydear

unread,
Mar 2, 2012, 4:16:46 PM3/2/12
to WinFF
Hi Paul, You are 100% right... I am a GUI kind of guy and never delve
much into the "command line". I can see the power that WinFF offers if
the multitude of ffmpeg commands can be mastered. I have looked at the
docs at ffmpeg.org/ffmpeg.html and ffmpeg-commands.blogspot.com.au/
but I find it hard going. It'll take time.

Anyway, here are the reports from two conversions for your amusement.
I made a short file in Womble and converted it in WinFF as notated...

Conversion 1 - AVI preset "XviD FullScreen" (unmodified)...

C:\Program Files\WinFF>chcp 1252
Active code page: 1252

C:\Program Files\WinFF>title Converting WinFFtest.mpg (1/1)

C:\Program Files\WinFF>"C:\Program Files\WinFF\ffmpeg.exe" -y -i "C:
\THT\WinFFte
st.mpg" -f avi -r 29.97 -vcodec libxvid -vtag XVID -s 640x480 -aspect
4:3 -maxra
te 1800k -b 1500k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -acodec
libmp3lame
-ar 48000 -ab 128k -ac 2 "C:\Users\Joe\Desktop\WinFFtest.avi"
ffmpeg version N-34294-g0bc5677, Copyright (c) 2000-2011 the FFmpeg
developers
built on Oct 31 2011 02:25:26 with gcc 4.5.0 20100414 (Fedora MinGW
4.5.0-1.fc
14)
configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/
build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache
i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-
cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-
lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/
snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/
snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
libavutil 51. 22. 0 / 51. 22. 0
libavcodec 53. 25. 0 / 53. 25. 0
libavformat 53. 18. 0 / 53. 18. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 45. 2 / 2. 45. 2
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg @ 0x18bb8e0] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'C:\THT\WinFFtest.mpg':
Duration: 00:00:57.36, start: 0.193367, bitrate: 2947 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576
[SAR 16:15 DA
R 4:3], 2810 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
Please use -b:a or -b:v, -b is ambiguous
[buffer @ 0x300b0c0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15
sws_param
:
[scale @ 0x2a02d80] w:720 h:576 fmt:yuv420p -> w:640 h:480 fmt:yuv420p
flags:0x4

Output #0, avi, to 'C:\Users\Joe\Desktop\WinFFtest.avi':
Metadata:
ISFT : Lavf53.18.0
Stream #0:0: Video: mpeg4 (hq) (XVID / 0x44495658), yuv420p,
640x480 [SAR 1:
1 DAR 4:3], q=3-5, 1500 kb/s, 29.97 tbn, 29.97 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, 2
channels, s16, 12
8 kb/s
Stream mapping:
Stream #0.0 -> #0.0 (mpeg2video -> libxvid)
Stream #0.1 -> #0.1 (mp2 -> libmp3lame)
Press [q] to stop, [?] for help
[mpeg2video @ 0x29ff180] warning: first frame is no keyframe
Last message repeated 1 times
frame= 32 fps= 0 q=5.0 size= 211kB time=00:00:00.93
bitrate=1849.0kbits/s
frame= 62 fps= 60 q=6.0 size= 476kB time=00:00:01.96
bitrate=1983.1kbits/s
frame= 91 fps= 59 q=6.0 size= 679kB time=00:00:02.97
bitrate=1869.7kbits/s
frame= 122 fps= 59 q=6.0 size= 1008kB time=00:00:04.70
bitrate=1755.9kbits/s
frame= 152 fps= 59 q=6.0 size= 1200kB time=00:00:05.71
bitrate=1721.6kbits/s
frame= 185 fps= 60 q=6.0 size= 1431kB time=00:00:06.81
bitrate=1720.4kbits/s
frame= 214 fps= 59 q=7.0 size= 1623kB time=00:00:07.84
bitrate=1693.8kbits/s
frame= 245 fps= 60 q=6.0 size= 1909kB time=00:00:09.52
bitrate=1640.9kbits/s
frame= 277 fps= 60 q=6.0 size= 2128kB time=00:00:10.60
bitrate=1643.4kbits/s
frame= 308 fps= 60 q=7.0 size= 2300kB time=00:00:11.61
bitrate=1621.8kbits/s
frame= 338 fps= 60 q=6.0 size= 2589kB time=00:00:13.39
bitrate=1583.8kbits/s
frame= 369 fps= 60 q=5.0 size= 2784kB time=00:00:14.40
bitrate=1583.8kbits/s
frame= 401 fps= 60 q=7.0 size= 2948kB time=00:00:15.40
bitrate=1567.3kbits/s
frame= 430 fps= 60 q=7.0 size= 3124kB time=00:00:16.51
bitrate=1549.8kbits/s
frame= 461 fps= 60 q=7.0 size= 3412kB time=00:00:18.19
bitrate=1536.5kbits/s
frame= 491 fps= 60 q=7.0 size= 3605kB time=00:00:19.20
bitrate=1538.3kbits/s
frame= 524 fps= 60 q=7.0 size= 3777kB time=00:00:20.28
bitrate=1525.5kbits/s
frame= 554 fps= 60 q=7.0 size= 4046kB time=00:00:21.96
bitrate=1509.3kbits/s
frame= 583 fps= 60 q=6.0 size= 4206kB time=00:00:22.99
bitrate=1498.5kbits/s
frame= 617 fps= 60 q=6.0 size= 4404kB time=00:00:24.07
bitrate=1498.8kbits/s
frame= 646 fps= 60 q=6.0 size= 4579kB time=00:00:25.10
bitrate=1494.3kbits/s
frame= 677 fps= 60 q=7.0 size= 4891kB time=00:00:26.85
bitrate=1491.9kbits/s
frame= 707 fps= 60 q=7.0 size= 5054kB time=00:00:27.86
bitrate=1485.8kbits/s
frame= 739 fps= 60 q=7.0 size= 5215kB time=00:00:28.89
bitrate=1478.4kbits/s
frame= 770 fps= 60 q=7.0 size= 5503kB time=00:00:30.64
bitrate=1470.9kbits/s
frame= 800 fps= 60 q=7.0 size= 5697kB time=00:00:31.65
bitrate=1474.2kbits/s
frame= 833 fps= 60 q=7.0 size= 5866kB time=00:00:32.73
bitrate=1468.0kbits/s
frame= 862 fps= 60 q=7.0 size= 6061kB time=00:00:34.00
bitrate=1460.0kbits/s
frame= 893 fps= 60 q=6.0 size= 6307kB time=00:00:35.44
bitrate=1457.5kbits/s
frame= 923 fps= 60 q=7.0 size= 6513kB time=00:00:36.50
bitrate=1461.5kbits/s
frame= 956 fps= 60 q=6.0 size= 6683kB time=00:00:37.53
bitrate=1458.6kbits/s
frame= 985 fps= 60 q=7.0 size= 6954kB time=00:00:39.24
bitrate=1451.8kbits/s
frame= 1016 fps= 60 q=7.0 size= 7161kB time=00:00:40.32
bitrate=1454.9kbits/s
frame= 1049 fps= 60 q=7.0 size= 7325kB time=00:00:41.32
bitrate=1451.9kbits/s
frame= 1078 fps= 60 q=7.0 size= 7508kB time=00:00:42.36
bitrate=1451.9kbits/s
frame= 1109 fps= 60 q=7.0 size= 7776kB time=00:00:44.11
bitrate=1444.2kbits/s
frame= 1139 fps= 60 q=7.0 size= 7976kB time=00:00:45.12
bitrate=1448.2kbits/s
frame= 1172 fps= 60 q=7.0 size= 8142kB time=00:00:46.20
bitrate=1443.8kbits/s
frame= 1203 fps= 60 q=5.0 size= 8408kB time=00:00:47.88
bitrate=1438.5kbits/s
frame= 1232 fps= 60 q=7.0 size= 8580kB time=00:00:48.93
bitrate=1436.3kbits/s
frame= 1265 fps= 60 q=7.0 size= 8790kB time=00:00:49.99
bitrate=1440.5kbits/s
frame= 1294 fps= 60 q=7.0 size= 8959kB time=00:00:51.04
bitrate=1437.7kbits/s
frame= 1325 fps= 60 q=7.0 size= 9236kB time=00:00:52.77
bitrate=1433.7kbits/s
frame= 1355 fps= 60 q=7.0 size= 9456kB time=00:00:53.78
bitrate=1440.3kbits/s
frame= 1387 fps= 60 q=7.0 size= 9640kB time=00:00:54.79
bitrate=1441.3kbits/s
frame= 1414 fps= 60 q=7.0 size= 9853kB time=00:00:55.99
bitrate=1441.6kbits/s
frame= 1435 fps= 60 q=7.0 Lsize= 10173kB time=00:00:57.35
bitrate=1453.0kbits/
s
video:9169kB audio:897kB global headers:0kB muxing overhead 1.063421%

C:\Program Files\WinFF>pause
Press any key to continue . . .

===================================================

Conversion 2 - AVI preset "XviD FullScreen 50Hz" (my mod's for PAL and
small file)...


C:\Program Files\WinFF>chcp 1252
Active code page: 1252

C:\Program Files\WinFF>title Converting WinFFtest.mpg (1/1)

C:\Program Files\WinFF>"C:\Program Files\WinFF\ffmpeg.exe" -y -i "C:
\THT\WinFFte
st.mpg" -f avi -r 25.00 -vcodec libxvid -vtag XVID -s 720x576 -aspect
5:4 -maxra
te 640k -b 500k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -acodec
libmp3lame -a
r 44100 -ab 96k -ac 2 "C:\Users\Joe\Desktop\WinFFtest.avi"
ffmpeg version N-34294-g0bc5677, Copyright (c) 2000-2011 the FFmpeg
developers
built on Oct 31 2011 02:25:26 with gcc 4.5.0 20100414 (Fedora MinGW
4.5.0-1.fc
14)
configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/
build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache
i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-
cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-
lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/
snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/
snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
libavutil 51. 22. 0 / 51. 22. 0
libavcodec 53. 25. 0 / 53. 25. 0
libavformat 53. 18. 0 / 53. 18. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 45. 2 / 2. 45. 2
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg @ 0x18ab8c0] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'C:\THT\WinFFtest.mpg':
Duration: 00:00:57.36, start: 0.193367, bitrate: 2947 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576
[SAR 16:15 DA
R 4:3], 2810 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
Please use -b:a or -b:v, -b is ambiguous
[buffer @ 0x317eaa0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15
sws_param
:
Output #0, avi, to 'C:\Users\Joe\Desktop\WinFFtest.avi':
Metadata:
ISFT : Lavf53.18.0
Stream #0:0: Video: mpeg4 (hq) (XVID / 0x44495658), yuv420p,
720x576 [SAR 1:
1 DAR 5:4], q=3-5, 500 kb/s, 25 tbn, 25 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, 2
channels, s16, 96
kb/s
Stream mapping:
Stream #0.0 -> #0.0 (mpeg2video -> libxvid)
Stream #0.1 -> #0.1 (mp2 -> libmp3lame)
Press [q] to stop, [?] for help
[mpeg2video @ 0x260f180] warning: first frame is no keyframe
Last message repeated 1 times
frame= 29 fps= 0 q=7.0 size= 228kB time=00:00:00.91
bitrate=2043.1kbits/s
frame= 56 fps= 55 q=7.0 size= 442kB time=00:00:01.82
bitrate=1978.7kbits/s
frame= 83 fps= 54 q=7.0 size= 645kB time=00:00:02.84
bitrate=1855.3kbits/s
frame= 112 fps= 53 q=7.0 size= 917kB time=00:00:03.86
bitrate=1942.4kbits/s
frame= 141 fps= 54 q=5.0 size= 1123kB time=00:00:04.85
bitrate=1892.9kbits/s
frame= 166 fps= 53 q=7.0 size= 1352kB time=00:00:05.87
bitrate=1884.6kbits/s
frame= 195 fps= 54 q=5.0 size= 1696kB time=00:00:07.57
bitrate=1834.0kbits/s
frame= 222 fps= 54 q=5.0 size= 1918kB time=00:00:08.56
bitrate=1833.5kbits/s
frame= 251 fps= 54 q=7.0 size= 2161kB time=00:00:09.58
bitrate=1846.4kbits/s
frame= 281 fps= 54 q=7.0 size= 2376kB time=00:00:10.57
bitrate=1839.7kbits/s
frame= 308 fps= 54 q=7.0 size= 2593kB time=00:00:11.59
bitrate=1831.6kbits/s
frame= 334 fps= 54 q=7.0 size= 2812kB time=00:00:12.61
bitrate=1826.0kbits/s
frame= 363 fps= 54 q=5.0 size= 3155kB time=00:00:14.28
bitrate=1808.9kbits/s
frame= 390 fps= 54 q=5.0 size= 3365kB time=00:00:15.28
bitrate=1804.1kbits/s
frame= 417 fps= 54 q=5.0 size= 3577kB time=00:00:16.30
bitrate=1797.6kbits/s
frame= 443 fps= 54 q=7.0 size= 3823kB time=00:00:17.26
bitrate=1813.9kbits/s
frame= 473 fps= 54 q=7.0 size= 4060kB time=00:00:18.33
bitrate=1813.7kbits/s
frame= 499 fps= 54 q=7.0 size= 4260kB time=00:00:19.27
bitrate=1810.3kbits/s
frame= 526 fps= 54 q=7.0 size= 4490kB time=00:00:20.29
bitrate=1812.2kbits/s
frame= 554 fps= 54 q=7.0 size= 4828kB time=00:00:21.94
bitrate=1802.4kbits/s
frame= 581 fps= 54 q=7.0 size= 5055kB time=00:00:22.93
bitrate=1805.6kbits/s
frame= 608 fps= 54 q=7.0 size= 5253kB time=00:00:23.95
bitrate=1796.5kbits/s
frame= 635 fps= 54 q=7.0 size= 5503kB time=00:00:24.99
bitrate=1803.1kbits/s
frame= 665 fps= 54 q=7.0 size= 5724kB time=00:00:25.99
bitrate=1804.0kbits/s
frame= 692 fps= 54 q=7.0 size= 5923kB time=00:00:26.90
bitrate=1803.5kbits/s
frame= 718 fps= 54 q=7.0 size= 6152kB time=00:00:27.95
bitrate=1803.1kbits/s
frame= 745 fps= 54 q=7.0 size= 6497kB time=00:00:29.62
bitrate=1796.6kbits/s
frame= 773 fps= 54 q=7.0 size= 6726kB time=00:00:30.61
bitrate=1799.8kbits/s
frame= 800 fps= 54 q=7.0 size= 6933kB time=00:00:31.63
bitrate=1795.4kbits/s
frame= 827 fps= 54 q=7.0 size= 7189kB time=00:00:32.65
bitrate=1803.7kbits/s
frame= 857 fps= 54 q=7.0 size= 7388kB time=00:00:33.64
bitrate=1798.7kbits/s
frame= 884 fps= 54 q=7.0 size= 7598kB time=00:00:34.66
bitrate=1795.5kbits/s
frame= 910 fps= 54 q=7.0 size= 7803kB time=00:00:35.60
bitrate=1795.4kbits/s
frame= 938 fps= 54 q=7.0 size= 8165kB time=00:00:37.35
bitrate=1790.5kbits/s
frame= 965 fps= 54 q=7.0 size= 8370kB time=00:00:38.34
bitrate=1788.1kbits/s
frame= 992 fps= 54 q=7.0 size= 8584kB time=00:00:39.28
bitrate=1789.9kbits/s
frame= 1019 fps= 54 q=7.0 size= 8844kB time=00:00:40.30
bitrate=1797.4kbits/s
frame= 1047 fps= 54 q=5.0 size= 9039kB time=00:00:41.29
bitrate=1793.0kbits/s
frame= 1073 fps= 54 q=7.0 size= 9269kB time=00:00:42.31
bitrate=1794.2kbits/s
frame= 1100 fps= 53 q=7.0 size= 9471kB time=00:00:43.25
bitrate=1793.5kbits/s
frame= 1126 fps= 53 q=7.0 size= 9706kB time=00:00:44.27
bitrate=1795.8kbits/s
frame= 1153 fps= 53 q=7.0 size= 10057kB time=00:00:45.97
bitrate=1792.0kbits/s
frame= 1181 fps= 53 q=7.0 size= 10270kB time=00:00:46.94
bitrate=1792.3kbits/s
frame= 1208 fps= 53 q=7.0 size= 10471kB time=00:00:47.96
bitrate=1788.5kbits/s
frame= 1235 fps= 53 q=7.0 size= 10728kB time=00:00:48.95
bitrate=1795.3kbits/s
frame= 1265 fps= 54 q=7.0 size= 10949kB time=00:00:49.97
bitrate=1794.9kbits/s
frame= 1292 fps= 53 q=7.0 size= 11173kB time=00:00:50.99
bitrate=1794.9kbits/s
frame= 1318 fps= 53 q=7.0 size= 11371kB time=00:00:51.93
bitrate=1793.7kbits/s
frame= 1346 fps= 53 q=7.0 size= 11770kB time=00:00:53.65
bitrate=1797.0kbits/s
frame= 1373 fps= 53 q=7.0 size= 12013kB time=00:00:54.70
bitrate=1799.1kbits/s
frame= 1400 fps= 53 q=7.0 size= 12234kB time=00:00:55.61
bitrate=1802.1kbits/s
frame= 1427 fps= 53 q=7.0 size= 12482kB time=00:00:56.60
bitrate=1806.4kbits/s
frame= 1435 fps= 53 q=7.0 Lsize= 12735kB time=00:00:57.36
bitrate=1818.7kbits/
s
video:11965kB audio:673kB global headers:0kB muxing overhead 0.763402%

C:\Program Files\WinFF>pause
Press any key to continue . . .

jaydear

unread,
Mar 3, 2012, 6:34:32 PM3/3/12
to WinFF

I've been playing around with command lines and discovered a few
things.

The ffmpeg documentation is installed as a html file along with ffmpeg
and winff. There is also a html file for the player.

Some commands take precedence over others, but this is not clear in
the ffmpeg documentation. For example, it seems that it is pointless
to put a -b (video bitrate) command in a command line if there are any
-q (quality) commands.

This command line works for me to make a decent conversion of a PAL
mpeg2 file to a PAL XviD avi:-

-f avi -r 25 -deinterlace -s 640x368 -vcodec libxvid -mbd 2 -bf 2 -
qmin 9 -qmax 5 -acodec libmp3lame -ar 44100 -ab 96k -ac 2

The -r 25 command is not really necessary if the source file is
already 25 fps. The -deinterlace command is necessary if the source
file is interlaced. The -s 640x368 command sets the avi to a 'legal'
16x9 resolution and reduces the picture (and thus file size) a bit
from 720x576 (Standard Definition PAL). I'm not sure yet what effect -
mbd 2 really has, but the avi looked better with it in and set to'2',
same goes for -bf 2. They slow down the conversion a bit.

Now we get to the important bits. As near as I can tell -qmin needs to
have a HIGHER number than -qmax. After a lot of tests I've settled on
a range from 9 to 5. The lower -qmax is set the bigger the file gets,
and the higher -qmin is set the worse the quality.

Argus Vidicon

unread,
Mar 3, 2012, 7:37:16 PM3/3/12
to WinFF
Glad to see this thread still plugging away
I took your line and made some changes for my needs

-f avi -r 29.97 -deinterlace -s 640x480 -vcodec libxvid -mbd 2 -bf 2 -
qmin 9 -qmax 5 -acodec libmp3lame -ar 48000 -ab 256k -ac 2

My result has a video bitrate of 844Kbps and overall bitrate of
1113Kbps
I'd like to get the resulting bitrate @ 2500
Ant suggestions?

jaydear

unread,
Mar 4, 2012, 7:10:01 AM3/4/12
to WinFF
Try this...

-f avi -r 29.97 -deinterlace -s 640x480 -vcodec libxvid -mbd 2 -bf 2 -
b 3000k -minrate 3000k -maxrate 3000k -bufsize 3000k -acodec
libmp3lame -ar 48000 -ab 256k -ac 2

I don't know why the resulting bitrate doesn't exactly match the
figures in the command, but this gave me a video bitrate of 2494k
according to MediaInfo. You'll note the -q... commands are gone. I got
the -minrate, -maxrate and -bufsize idea from the html doc's that are
located in the docs folder in the winff folder, and fiddled with the
values empirically. It might be down to the difference between KB and
KiB as well as some default ffmpeg behaviour that I haven't read
about... yet. For example, I noticed during encodes that even though
no -q command is used, a -q value of between about 2 and 5 still
appeared in the text window. FFmpeg is a very deep well and WinFF
looks like a very good bucket.

Argus Vidicon

unread,
Mar 4, 2012, 7:57:26 AM3/4/12
to WinFF
Thank you for your work. This got me overall bitrate of 2012Kbps and
a video bitrate of 1770Kbps
I'm happy with this Even the DivX preset I built wasn't a lot beter
than your work on this XviD
I still for some reason have to use the DivX on a Philips DVD player
that handles file on disk or USB
That silly machine just hates the XviD from WinFF, it just freezes up
and I have to unplug it from the AC, LoL!
Here's the DivX I set up
-acodec libmp3lame -vcodec msmpeg4 -ab 256k -b 2500k -s 640x480 -ar
48000

Paul Gevers

unread,
Mar 5, 2012, 2:18:09 PM3/5/12
to wi...@googlegroups.com
> Please use -b:a or -b:v, -b is ambiguous

Have you tried using -b:v in the preset instead of -b?

Paul

signature.asc

jaydear

unread,
Mar 5, 2012, 6:44:34 PM3/5/12
to WinFF
Yes, I did. It gets rid of the 'ambiguous' error, but is apparently
undocumented and did not make any difference to the bitrate in the
particular preset.

I really think it is necessary to get rid of the -q commands if you
want to set a bitrate, e.g. GUI converters such as Handbrake 0.9.3,
Avidemux, XmediaRecode, etc. allow the user to select one of:-
constant bitrate -or- constant quality -or- file size.
>  signature.asc
> < 1KViewDownload

Paul Gevers

unread,
Mar 9, 2012, 1:55:11 PM3/9/12
to wi...@googlegroups.com
Hi Jaydear,

I think what you mention below is worth a bug report. Could you please
file one in our bug-tracker: http://code.google.com/p/winff/issues/list

Paul

signature.asc

jaydear

unread,
Mar 12, 2012, 8:33:04 AM3/12/12
to WinFF
Done!
>  signature.asc
> < 1KViewDownload
Reply all
Reply to author
Forward
0 new messages