Forums > Jitter

jit.qt.record jpeg quality

June 27, 2006 | 10:44 pm

I’ve tried 2 different approaches to recording movies to photo jpeg codec.

- qt.record @raw -> afterwards export to photojpeg in quicktime player.
- qt.record @jpeg max

Exporting afterwards generates much better quality and higher bandwidth. For
example exporting from raw to jpeg quality high results in 29mbit/s as
opposed to 11mbit/s for recording directly to jpeg @ quality max. I don’t
really understand why it has to be like this. Is it maybe possible for
jitter in the future to export good quality jpeg?
I remember a discussion about the qt.record options some time ago, ending in
a vague promise about extending the export possibilities for a future jitter
update. Is this maybe the case in 1.6? I would just love to be able to
export good quality jpeg without having to deal with the filesizes of raw
video first.

cheers, -thijs



grg
June 28, 2006 | 11:11 am

Am 28.06.2006 um 00:44 schrieb Thijs Koerselman:

> I don’t really understand why it has to be like this.

I have the same problem:
http://www.cycling74.com/forums/index.php?
t=msg&goto=57576&rid=0&S=74f61f2ce0a11734f1ef793ac21571ef#msg_57576
and it is still the same now with different QT and jitter versions. All
files generated by attached patch are 685685 Bytes in size for me. They
are not identical, viewed in a hex editor there are a few bytes that
differ, but size is always the same.

4.6b11 1.6b4 10.3.9 7.1.1

max v2;
#N vpatcher 12 44 994 655;
#P origin 3 44;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 470 30 227 196617 write pjpg_norm.mov 25. photojpeg normal
600;
#P message 135 252 30 196617 bang;
#P newex 245 217 48 196617 loadbang;
#P message 535 440 29 196617 stop;
#P window setfont "Sans Serif" 36.;
#P number 390 445 92 36 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont "Sans Serif" 9.;
#P newex 492 401 72 196617 route int done;
#P newex 430 363 87 196617 route framedump;
#P message 486 296 60 196617 framedump;
#P message 509 47 209 196617 write pjpg_high.mov 25. photojpeg high 600;
#P message 539 80 245 196617 write pjpg_lossless.mov 25. photojpeg
lossless 600;
#P message 529 63 205 196617 write pjpg_low.mov 25. photojpeg low 600;
#P comment 357 100 93 196617 all same datarate?;
#P message 573 142 216 196617 write jpg_lossless.mov 25. jpeg lossless
600;
#P newex 684 556 50 196617 print rec;
#P newex 534 273 29 196617 t b l;
#P message 564 123 182 196617 write jpg_max.mov 25. jpeg max 600;
#P message 553 105 176 196617 write jpg_low.mov 25. jpeg low 600;
#P user jit.fpsgui 102 387 60 196617 0;
#P newex 586 531 108 196617 jit.qt.record 720 480;
#P user jit.pwindow 180 352 82 62 0 0 0 0 1 0;
#P message 245 262 91 196617 read dvducks.mov;
#P newex 181 318 236 196617 jit.qt.movie @adapt 1 @loopreport 1
@autostart 0;
#P fasten 0 0 4 0 186 346 107 346;
#P connect 19 0 20 0;
#P connect 20 0 0 0;
#P connect 14 0 0 0;
#P fasten 1 0 0 0 250 305 186 305;
#P connect 0 0 2 0;
#P connect 19 0 1 0;
#P connect 16 0 17 0;
#P connect 0 1 15 0;
#P connect 7 0 14 0;
#P connect 15 0 16 0;
#P connect 21 0 7 0;
#P connect 11 0 7 0;
#P connect 12 0 7 0;
#P connect 6 0 7 0;
#P connect 5 0 7 0;
#P connect 9 0 7 0;
#P connect 13 0 7 0;
#P connect 16 1 18 0;
#P fasten 0 0 3 0 186 344 310 344 310 510 591 510;
#P connect 18 0 3 0;
#P connect 7 1 3 0;
#P connect 3 1 8 0;
#P pop;


June 28, 2006 | 11:56 am

Thanks for the reports. The bug has been identified and will be fixed
for the next releases.

jb

Am 28.06.2006 um 13:11 schrieb Georg Bosch:

> I have the same problem:
> http://www.cycling74.com/forums/index.php?
> t=msg&goto=57576&rid=0&S=74f61f2ce0a11734f1ef793ac21571ef#msg_57576
> and it is still the same now with different QT and jitter versions.
> All files generated by attached patch are 685685 Bytes in size for
> me. They are not identical, viewed in a hex editor there are a few
> bytes that differ, but size is always the same.



grg
June 28, 2006 | 12:27 pm

> Thanks for the reports. The bug has been identified and will be fixed
> for the next releases.

cool, thank you!


July 29, 2006 | 5:37 pm

hi Jeremy,

is it fixed in 1.6 beta? if not, any timing ?
also would it be possible to add a quality parameter to exportimage
message to jit.matrix, jit.qt.grab,… when saving in jpeg.

BTW, thanks for adding in 1.6 a ‘datarate’ parameter to jit.qt.record
for codecs which support it!

>Thanks for the reports. The bug has been identified and will be
>fixed for the next releases.
>
>jb
>
>Am 28.06.2006 um 13:11 schrieb Georg Bosch:
>
>>I have the same problem:
>>http://www.cycling74.com/forums/index.php?t=msg&goto=57576&rid=0&S=74f61f2ce0a11734f1ef793ac21571ef#msg_57576
>>and it is still the same now with different QT and jitter versions.
>>All files generated by attached patch are 685685 Bytes in size for
>>me. They are not identical, viewed in a hex editor there are a few
>>bytes that differ, but size is always the same.
>


Yves Bernard yb@imal.org
asbl iMAL vzw
rue d’Alost straat 7
1000 Bruxelles/Brussel
tel 32 2 213 37 10

http://www.imal.org

http://www.i-cult.be


July 29, 2006 | 6:14 pm

Am 29.07.2006 um 13:37 schrieb Yves Bernard:

> hi Jeremy,
>
> is it fixed in 1.6 beta? if not, any timing ?

yes

> also would it be possible to add a quality parameter to exportimage
> message to jit.matrix, jit.qt.grab,… when saving in jpeg.

Maybe in the future. I would need to look into what’s involved.

> BTW, thanks for adding in 1.6 a ‘datarate’ parameter to
> jit.qt.record for codecs which support it!

A pleasure.

jb



ds.
July 31, 2006 | 12:31 am

Have you tried the lossless setting?

IE
write 25. jpeg lossless


July 31, 2006 | 8:08 am

On 7/31/06, darcysays wrote:
>
>
> Have you tried the lossless setting?

yes I have, and I recall it looks about the same, and is not as good as jpeg
can be. Jeremy already confirmed the bug and from what I understand it is
currently not possible to get the highest quality photojpeg directly from
jit.qt.record.

-thijs


August 2, 2006 | 12:26 pm

at least, on OSX, there is a workaround for exportimage jpeg quality control :

save in Max with exportimage in a lossless format (eg tiff), then
call the Unix Apple sips tool (image processing) with the shell
object of Bill Orcutt, as in this example:
/usr/bin/sips -s format jpeg -s formatOptions best test.tif –out test.jpg

i don’t know if there is a shell command line interface to
quicktime… (through applescript, this should be possible… but
this is applescript)

>Am 29.07.2006 um 13:37 schrieb Yves Bernard:
>
>>hi Jeremy,
>>
>>is it fixed in 1.6 beta? if not, any timing ?
>
>yes
>
>>also would it be possible to add a quality parameter to exportimage
>>message to jit.matrix, jit.qt.grab,… when saving in jpeg.
>
>Maybe in the future. I would need to look into what’s involved.
>
>>BTW, thanks for adding in 1.6 a ‘datarate’ parameter to
>>jit.qt.record for codecs which support it!
>
>A pleasure.
>
>jb


Yves Bernard yb@imal.org
asbl iMAL vzw
rue d’Alost straat 7
1000 Bruxelles/Brussel
tel 32 2 213 37 10

http://www.imal.org

http://www.i-cult.be


Viewing 9 posts - 1 through 9 (of 9 total)