Results 1 to 17 of 17

Thread: Precomp 0.4.4

  1. #1
    Programmer schnaader's Avatar
    Join Date
    May 2008
    Location
    Hessen, Germany
    Posts
    539
    Thanks
    192
    Thanked 174 Times in 81 Posts

    Precomp 0.4.4

    Precomp 0.4.4 is out. This is the first open source release, source code is on GitHub

    List of changes:
    - Updated libraries (PackJPG 2.5a -> 2.5j, bZip 1.0.5 -> 1.0.6, zLib 1.2.5 -> 1.2.8 ) (Issue #13)
    - Conversion switch reports filesize now (Issue #11)

    Have a look at http://schnaader.info/precomp.php and https://github.com/schnaader/precomp-cpp
    Last edited by schnaader; 14th January 2016 at 19:19.
    http://schnaader.info
    Damn kids. They're all alike.

  2. The Following User Says Thank You to schnaader For This Useful Post:

    Dimitri (14th January 2016)

  3. #2
    Member Dimitri's Avatar
    Join Date
    Nov 2015
    Location
    Greece
    Posts
    48
    Thanks
    21
    Thanked 30 Times in 14 Posts
    This is an alpha version

    i had put a lot of effort to optimize it,

    used max speed on compiler in MSC
    used Max Optimization also

    max speed seems to work best on your precomp

    Christian care to give this a look whenever you can , its wav sound lossless compression its written in pascal and has a lib inside as well

    will be a great addition
    Attached Files Attached Files
    Last edited by Dimitri; 16th January 2016 at 01:46. Reason: tak added

  4. #3
    Member Skymmer's Avatar
    Join Date
    Mar 2009
    Location
    Russia
    Posts
    681
    Thanks
    37
    Thanked 168 Times in 84 Posts
    Dimitri, what the hell you're talking about ? What kind of efforts you have put and to what ?
    MSC created by Profrager and only the binaries have been published. Sources of MSC are non-public and available for three persons only and you're definitely not among those persons.
    What you mean by "Christian care to give this a look whenever you can" ? The file you provided is the TAK lossless audio compressor (Yalac on early stages of development at HydrogenAudio) and its written in Delphi with assembly optimizations. The author is Thomas Beck.
    Stop talking the bullshit and stop claim youself as participator of MSC, TAK and other projects. <CENSORED>

  5. #4
    Member Skymmer's Avatar
    Join Date
    Mar 2009
    Location
    Russia
    Posts
    681
    Thanks
    37
    Thanked 168 Times in 84 Posts
    OK, here is the speed-optimized binaries of Precomp 0.4.4
    Previously there was a problem with x64 build which was crashing on JPEG streams. Problem is gone now due upgrading PackJPG to 2.5j version.
    A couple of results on 669 MB test file.
    Code:
    Speed stats
    Precomp 0.4.3                       292.921s
    Precomp 0.4.4 x86 native            284.263s
    Precomp 0.4.4 x86 skbuild           258.134s           9.2% faster
    Precomp 0.4.4 x64 skbuild           233.236s          18.0% faster
    
    Streams stats
    Recompressed streams: 13740/14422
    PDF streams: 86/86
    ZIP streams: 2296/2310
    GZip streams: 0/1
    PNG streams: 11/65
    GIF streams: 1192/1192
    JPG streams: 378/392
    JPG streams (progressive): 8/16
    bZip2 streams: 12/12
    zLib streams (intense mode): 9757/10348
    Anyway please be carefull with the attached executables.
    Attached Files Attached Files

  6. The Following User Says Thank You to Skymmer For This Useful Post:

    schnaader (22nd January 2016)

  7. #5
    Member Dimitri's Avatar
    Join Date
    Nov 2015
    Location
    Greece
    Posts
    48
    Thanks
    21
    Thanked 30 Times in 14 Posts
    Quote Originally Posted by Skymmer View Post
    Dimitri, what the hell you're talking about ? What kind of efforts you have put and to what ?
    MSC created by Profrager and only the binaries have been published. Sources of MSC are non-public and available for three persons only and you're definitely not among those persons.
    What you mean by "Christian care to give this a look whenever you can" ? The file you provided is the TAK lossless audio compressor (Yalac on early stages of development at HydrogenAudio) and its written in Delphi with assembly optimizations. The author is Thomas Beck.
    Stop talking the bullshit and stop claim youself as participator of MSC, TAK and other projects.<CENSORED>

    i was trying to optimize precomp code for compiling, This is the only optimization i ever talked about and never claimed to have optimized tak or msc :/
    Though i will express my disregard on this matter, the way you talk is very aggressive, someone here in this community must stand and stop your nonsense speaking because i have seen you calling scum and low-end people you havent really met.
    I guess your parents never learnt you that i suppose, the way you speak and express are the A-Z in your character, i will not go in details because i will choose not to lower myself to your level, i would like someone in this community that respects Human -Code to remind you how to talk properly
    Last edited by Dimitri; 22nd January 2016 at 05:44. Reason: Quoted

  8. #6
    Member
    Join Date
    Sep 2007
    Location
    Denmark
    Posts
    856
    Thanks
    45
    Thanked 104 Times in 82 Posts
    Dimitr the fault is clearly on your behalf to begin with.

    1: Your post seems to not give away a lot of information about what you are talking about in regards to MSC.
    2: You uploaded TAK instead of whatever you intended to upload.

    no wonder people are thinking you are taking credits for other stuff, when you are in fact doing so it by uploading the wrong content on only refering to "this".

    If you have been mere specific in the way you provided the information it would have been easier to see you fault was simply just in uploading the wrong file.
    But you just refer to "This" and we don't know what "this" is beside the file you uploaded, which is in fact TAK and not your creation at all.

  9. The Following User Says Thank You to SvenBent For This Useful Post:

    Skymmer (22nd January 2016)

  10. #7
    Member Dimitri's Avatar
    Join Date
    Nov 2015
    Location
    Greece
    Posts
    48
    Thanks
    21
    Thanked 30 Times in 14 Posts
    SvenBent you may be right on some points, but tell me

    when someone does speak or make a mistake then harrasement is the first thing you do right ??

    to get things straight i claim no work over someone, MSC in my post is MICROSOFT COMPILER = this is used in Schaader's MSCV 2012 script for MICROSOFT VISUAL STUDIO and "this" i am talking in this post is precomp 0.4.4

    if you rephrase my post then you make , i optimized schaader's in MICROSOFT VISUAL STUDIO using MSC= microsoft compiler and in the options menu i marked "max speed"

    sorry for my misreport, But i do not tolerate harrasement, someone calling someone else "scum" because of a missreport

    tak is found as it is on the internet a simple google search will you this rar i posted, i do not own this, nor claim any work, open the tak rar i provided ...my name is nowhere to be found !!!!

    edit:

    this is the precomp.exe that was talking that day

    i compiled it using microsoft visual studio and msc=microsoft compiler and the option "max speed" which precomp seems to like versus max filesize or full optimization
    Attached Files Attached Files
    Last edited by Dimitri; 22nd January 2016 at 07:40.

  11. #8
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    Quote Originally Posted by Dimitri View Post
    I guess your parents...
    yes, even on english forum russians will find each other

  12. #9
    Member Skymmer's Avatar
    Join Date
    Mar 2009
    Location
    Russia
    Posts
    681
    Thanks
    37
    Thanked 168 Times in 84 Posts
    Dimitri, although SvenBent is basically right with his analysis of my reaction I really shouldn't behave like I did, so my apologies.

  13. The Following 2 Users Say Thank You to Skymmer For This Useful Post:

    Bulat Ziganshin (22nd January 2016),Cyan (22nd January 2016)

  14. #10
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,954
    Thanks
    359
    Thanked 332 Times in 131 Posts
    People, don't cross the line please! Respect others!

  15. The Following 3 Users Say Thank You to encode For This Useful Post:

    Jaff (23rd January 2016),ne0n (25th January 2016),Stephan Busch (22nd January 2016)

  16. #11
    Member Dimitri's Avatar
    Join Date
    Nov 2015
    Location
    Greece
    Posts
    48
    Thanks
    21
    Thanked 30 Times in 14 Posts
    Quote Originally Posted by Skymmer View Post
    Dimitri, although SvenBent is basically right with his analysis of my reaction I really shouldn't behave like I did, so my apologies.

    Apology accepted ,

    Skymmer like you i also protect opensource and credits
    i know that you only did it because you thought i was trying to steal someone else's idea and work

    i should have made my post a little more clear what exactly i meant by using full expressions :/

    next time i will provide full info, so that everybody understands what i mean

    really sorry for making such a fuss

  17. #12
    Member
    Join Date
    Aug 2014
    Location
    Argentina
    Posts
    464
    Thanks
    202
    Thanked 81 Times in 61 Posts
    Version 0.4.5 finds a lot of false mp3 positives even on non-mp3 data at all, recursively either. I've seen this multiple times on different files. Just informing.

    This is an example:
    Precomp v0.4.5 - DEVELOPMENT version - USE AT YOUR OWN RISK!
    Free for non-commercial use - Copyright 2006-2016 by Christian Schneider

    Input file: teamviewer_11.0.53191_i386.deb
    Output file: teamviewer_11.0.53191_i386.pcf

    Using PackJPG for JPG recompression, PackMP3 for MP3 recompression.
    --> packJPG library v2.5j (01/15/2014) by Matthias Stirner / Se <--
    --> packMP3 library v1.0f (11/21/2014) by Matthias Stirner <--
    More about PackJPG and PackMP3 here: http://www.matthiasstirner.com

    100.00% - New size: 193603601 instead of 53086174

    Done.
    Time: 24 minute(s), 42 second(s)

    Recompressed streams: 255/26507
    ZIP streams: 0/118
    GZip streams: 1/1
    PNG streams: 252/513
    PNG streams (multi): 0/2
    GIF streams: 1/1
    JPG streams: 0/3
    JPG streams (progressive): 0/1
    MP3 streams: 0/25867
    bZip2 streams: 1/1

    You can speed up Precomp for THIS FILE with these parameters:
    -zl34,42,44,52,55,68,73,74,75,84,95,98,99 -d1
    Also, it failed to recognize a valid MP3 stream inside a .avi movie. As a separated file the recompression just worked. Can't figure out why.
    Last edited by Gonzalo; 27th January 2016 at 06:57.

  18. #13
    Programmer schnaader's Avatar
    Join Date
    May 2008
    Location
    Hessen, Germany
    Posts
    539
    Thanks
    192
    Thanked 174 Times in 81 Posts
    The false positives for other MPEG types should be better after commit ff680417, at least for unsupported MPEG alternatives. Please try again with the attached version (only Windows version, if someone wants a Linux version, let me know). I doubt that non-MPEG data is the reason for the false positives.

    MP3 stream inside a .avi movie is interesting, I guess this is because of the interleaved audio. If you have a testfile, I could have a look at it. I'm not sure if demuxing is easy to do, but it might at least be worth opening an issue.
    Attached Files Attached Files
    http://schnaader.info
    Damn kids. They're all alike.

  19. The Following User Says Thank You to schnaader For This Useful Post:

    Gonzalo (27th January 2016)

  20. #14
    Member
    Join Date
    Aug 2014
    Location
    Argentina
    Posts
    464
    Thanks
    202
    Thanked 81 Times in 61 Posts
    File info - MediaInfo (this is the only video I could find with a MP3 stream)
    Code:
    General
    Complete name                  : D:\PelĂ­culas\Metegol.avi
    Format                         : AVI
    Format/Info                    : Audio Video Interleave
    File size                      : 908 MiB
    Duration                       : 1h 46mn
    Overall bit rate               : 1 191 Kbps
    Writing application            : Lavf52.84.0
    
    Video
    ID                             : 0
    Format                         : MPEG-4 Visual
    Format profile                 : Simple@L1
    Format settings, BVOP          : No
    Format settings, QPel          : No
    Format settings, GMC           : No warppoints
    Format settings, Matrix        : Default (H.263)
    Codec ID                       : XVID
    Codec ID/Hint                  : XviD
    Duration                       : 1h 46mn
    Bit rate                       : 1 050 Kbps
    Width                          : 720 pixels
    Height                         : 304 pixels
    Display aspect ratio           : 2.35:1
    Frame rate                     : 23.976 fps
    Color space                    : YUV
    Chroma subsampling             : 4:2:0
    Bit depth                      : 8 bits
    Scan type                      : Progressive
    Compression mode               : Lossy
    Bits/(Pixel*Frame)             : 0.200
    Stream size                    : 801 MiB (88%)
    Writing library                : Lavc52.97.0
    
    Audio
    ID                             : 1
    Format                         : MPEG Audio
    Format version                 : Version 1
    Format profile                 : Layer 3
    Mode                           : Joint stereo
    Codec ID                       : 55
    Codec ID/Hint                  : MP3
    Duration                       : 1h 46mn
    Bit rate mode                  : Constant
    Bit rate                       : 128 Kbps
    Channel(s)                     : 2 channels
    Sampling rate                  : 48.0 KHz
    Compression mode               : Lossy
    Stream size                    : 97.6 MiB (11%)
    Alignment                      : Aligned on interleaves
    Interleave, duration           : 24 ms (0.58 video frame)
    Writing library                : LAME3.98.4
    If you really want to look at the file yourself, I can upload it.
    Last edited by Gonzalo; 28th January 2016 at 23:42.

  21. #15
    Member
    Join Date
    Aug 2014
    Location
    Argentina
    Posts
    464
    Thanks
    202
    Thanked 81 Times in 61 Posts
    Quote Originally Posted by schnaader View Post
    The false positives for other MPEG types should be better after commit ff680417, at least for unsupported MPEG alternatives. Please try again with the attached version
    Yes, new version performed better (only 139 false positives instead of 25867)
    Code:
    Precomp v0.4.5 - DEVELOPMENT version - USE AT YOUR OWN RISK!
    Free for non-commercial use - Copyright 2006-2016 by Christian Schneider
    
    Input file: teamviewer_11.0.53191_i386.deb
    Output file: teamviewer_11.0.53191_i386.pcf
    
    Using PackJPG for JPG recompression, PackMP3 for MP3 recompression.
    --> packJPG library v2.5j (01/15/2014) by Matthias Stirner / Se <--
    --> packMP3 library v1.0f (11/21/2014) by Matthias Stirner <--
    More about PackJPG and PackMP3 here: http://www.matthiasstirner.com
    
    100.00% - New size: 193603601 instead of 53086174
    
    Done.
    Time: 18 minute(s), 38 second(s)
    
    Recompressed streams: 255/779
    ZIP streams: 0/118
    GZip streams: 1/1
    PNG streams: 252/513
    PNG streams (multi): 0/2
    GIF streams: 1/1
    JPG streams: 0/3
    JPG streams (progressive): 0/1
    MP3 streams: 0/139
    bZip2 streams: 1/1
    
    You can speed up Precomp for THIS FILE with these parameters:
    -zl34,42,44,52,55,68,73,74,75,84,95,98,99 -d1
    Quote Originally Posted by schnaader View Post
    I doubt that non-MPEG data is the reason for the false positives.
    Well, there are absolutely no MPEG data on the thest file. You can download it and see by yourself.

    Quote Originally Posted by schnaader View Post
    MP3 stream inside a .avi movie is interesting, I guess this is because of the interleaved audio. If you have a testfile, I could have a look at it. I'm not sure if demuxing is easy to do, but it might at least be worth opening an issue.
    I think if the problem was interleaving, precomp should find a lot of small MP3 streams instead of one. But actually, it didn't found anything. Maybe the segments are too small (See green section on my other post)
    Last edited by Gonzalo; 28th January 2016 at 23:44.

  22. #16
    Programmer schnaader's Avatar
    Join Date
    May 2008
    Location
    Hessen, Germany
    Posts
    539
    Thanks
    192
    Thanked 174 Times in 81 Posts
    Thanks for testing! I've looked into the Teamviewer file and it is non-MPEG data indeed, I created issue #19.

    Had a look into AVI specifications and some other container formats. An AVI test file I got from wavetlan.com had the same problem as the one you mentioned, single MP3 frames are wrapped into chunks so the detection (needs 5 consecutive frames) fails. For this, I created issue #20.
    http://schnaader.info
    Damn kids. They're all alike.

  23. #17
    Member
    Join Date
    May 2008
    Location
    Kuwait
    Posts
    301
    Thanks
    26
    Thanked 22 Times in 15 Posts
    Maybe this program will help http://mp3val.sourceforge.net/
    if detected stream would run through mp3val to evaluate correctness/compliance to mp3 then it would run through precomp.

Similar Threads

  1. Precomp 0.4.2
    By schnaader in forum Data Compression
    Replies: 31
    Last Post: 13th August 2012, 12:01
  2. Precomp 0.4.1
    By schnaader in forum Data Compression
    Replies: 36
    Last Post: 7th October 2011, 16:36
  3. I need help with precomp
    By bien1 in forum Data Compression
    Replies: 5
    Last Post: 26th September 2011, 13:40
  4. Precomp (and Precomp Comfort) in 315 kb
    By Yuri Grille. in forum Data Compression
    Replies: 2
    Last Post: 1st April 2009, 19:40
  5. Precomp 0.3.3 is out!
    By squxe in forum Forum Archive
    Replies: 1
    Last Post: 20th July 2007, 17:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •