• “创新从来都是九死一生”(人民论坛) 2019-02-14
  • 端午假期广州铁路运客640.5万人次 创历史新高 2019-02-14
  • 19次生态输水让塔河下游生机勃勃 2018-11-22
  • 男篮再胜伊朗迎热身赛两连胜 任骏飞19+11陶汉林18分 2018-11-22
  • 小卒子,你南街村的代言人啊?扮豬不咋像呢!你滴,大大滴,明白? 2018-11-22
  • 女性之声——全国妇联 2018-11-21
  • 新华网评:凝聚打赢脱贫攻坚战的强大合力 2018-11-21
  • 栗战书:执法检查要直面问题不搞评功摆好 让法律制度成为不可触碰的高压线 2018-11-21
  • 这些水果越新鲜越不能吃 放一放更好吃 2018-11-21
  • 生产资料公有制不会也不可能涉及生产资料的分配,这完全是你杜撰的,是强词夺理的。从这点看,你的所谓逻辑是幼稚可笑的。哈哈哈哈! 2018-11-20
  • 践行“两山论”是一场发展的革命 2018-11-20
  • 女教师舍身保护学生被撞身亡感动各界 2018-11-20
  • Welcome to

    Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

     

    Go Back   Doom9's Forum > Programming and Hacking > Development

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 27th November 2018, 19:50   #1561  |  Link
    Registered User
     
    Join Date: Nov 2008
    Posts: 296
    Love the tool, so useful.

    One minor thing, is it possible to have aac/mp4 files created as m4a? I have a large library of mp4 a/v files, it would be handy to differentiate between audio only and audio/video files.

    Thanks.
    Floatingshed is offline   Reply With Quote
    Old 27th November 2018, 20:01   #1562  |  Link
    Registered User
     
    manolito's Avatar
     
    Join Date: Sep 2003
    Posts: 2,388
    Already answered in 2010...
    Have a look here:
    //www.zs-x.com/showthread.p...25#post1401725

    Cheers
    manolito
    manolito is offline   Reply With Quote
    Old 27th November 2018, 21:39   #1563  |  Link
    Software Developer
     
    LoRd_MuldeR's Avatar
     
    Join Date: Jun 2005
    Location: Last House on Slunk Street
    Posts: 12,962
    Quote:
    Originally Posted by manolito View Post
    Already answered in 2010...
    Have a look here:
    //www.zs-x.com/showthread.p...25#post1401725

    Cheers
    manolito
    Actually things have changed quite a bit since then

    Quote:
    Originally Posted by Floatingshed View Post
    Love the tool, so useful.

    One minor thing, is it possible to have aac/mp4 files created as m4a? I have a large library of mp4 a/v files, it would be handy to differentiate between audio only and audio/video files.

    Thanks.
    If you really want to, you can achieve that via "Rename Output Files" feature, which can be found on the "Advanced Options" tab.

    Go to the "File Extensions" section and click "Add Overwrite" button...
    __________________
    There was of course no way of knowing whether you were being watched at any given moment.
    How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



    Last edited by LoRd_MuldeR; 27th November 2018 at 21:42.
    LoRd_MuldeR is offline   Reply With Quote
    Old 27th November 2018, 21:58   #1564  |  Link
    Registered User
     
    manolito's Avatar
     
    Join Date: Sep 2003
    Posts: 2,388
    Quote:
    Originally Posted by LoRd_MuldeR View Post
    Actually things have changed quite a bit since then
    Would you care to elaborate?
    Quote:
    The only official file extension defined by the standard is .mp4
    Has this changed in the meantime?
    manolito is offline   Reply With Quote
    Old 27th November 2018, 22:37   #1565  |  Link
    Software Developer
     
    LoRd_MuldeR's Avatar
     
    Join Date: Jun 2005
    Location: Last House on Slunk Street
    Posts: 12,962
    Quote:
    Originally Posted by manolito View Post
    Has this changed in the meantime?
    Not really. This is why I still wouldn't add a “Save AAC/MP4 files with .m4a file extension” option, or something in that vein. Way too specific, and promoting the wrong idea.

    If we added this today, tomorrow somebody would come along and requests the “Save Ogg/Vorbis files with .oga file extension” option.

    Nonetheless, we have a pretty versatile rename feature now, which (among other things) can change the file extension to whatever you feel like. So it can handle (not only) the above use cases
    __________________
    There was of course no way of knowing whether you were being watched at any given moment.
    How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



    Last edited by LoRd_MuldeR; 27th November 2018 at 22:45.
    LoRd_MuldeR is offline   Reply With Quote
    Old 27th November 2018, 22:53   #1566  |  Link
    Life looks better in UHD
     
    SeeMoreDigital's Avatar
     
    Join Date: Jun 2003
    Location: Notts, UK
    Posts: 11,382
    Quote:
    Originally Posted by LoRd_MuldeR View Post
    Actually things have changed quite a bit since then

    If you really want to, you can achieve that via "Rename Output Files" feature, which can be found on the "Advanced Options" tab.

    Go to the "File Extensions" section and click "Add Overwrite" button...
    Wow... When did you add this particular option?
    __________________
    | I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
    SeeMoreDigital is offline   Reply With Quote
    Old 28th November 2018, 19:23   #1567  |  Link
    Software Developer
     
    LoRd_MuldeR's Avatar
     
    Join Date: Jun 2005
    Location: Last House on Slunk Street
    Posts: 12,962
    Quote:
    Originally Posted by SeeMoreDigital View Post
    Wow... When did you add this particular option?
    Around v4.12, I think.
    __________________
    There was of course no way of knowing whether you were being watched at any given moment.
    How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.


    LoRd_MuldeR is offline   Reply With Quote
    Old 28th November 2018, 20:36   #1568  |  Link
    Life looks better in UHD
     
    SeeMoreDigital's Avatar
     
    Join Date: Jun 2003
    Location: Notts, UK
    Posts: 11,382
    Quote:
    Originally Posted by LoRd_MuldeR View Post
    Around v4.12, I think.
    Ha... Around three years ago
    __________________
    | I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
    SeeMoreDigital is offline   Reply With Quote
    Old 11th December 2018, 22:44   #1569  |  Link
    Software Developer
     
    LoRd_MuldeR's Avatar
     
    Join Date: Jun 2005
    Location: Last House on Slunk Street
    Posts: 12,962
    LameXP v4.18 Alpha-4
    https://sourceforge.net/projects/lam...0.exe/download

    Quote:
    Changes between v4.17 and v4.18 [unreleased]:
    * Upgraded build environment to Microsoft Visual Studio 2017.9 (MSVC 14.16)
    * Updated Vorbis encoder to OggEnc v2.88 (2018-11-14), using libvorbis v1.3.6 with aoTuV b6.03 (2018)
    * Updated FLAC encoder/decoder to v1.3.2+ Git (2018-09-19), compiled with ICL 19.0 and MSVC 14.16
    * Updated Monkey's Audio binary to v4.41 (2018-12-05), compiled with ICL 19.0 and MSVC 14.16
    * Updated mpg123 decoder to v1.25.10 (2018-03-05) and added 64-Bit binaries, compiled with GCC 8.2.1
    * Updated MediaInfo to v18.08.1 (2018-09-10), compiled with ICL 19.0 and MSVC 14.16
    Please report if any file types are not detected (decoded) properly anymore after the recent MediaInfo changes
    __________________
    There was of course no way of knowing whether you were being watched at any given moment.
    How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.


    LoRd_MuldeR is offline   Reply With Quote
    Old 11th December 2018, 23:00   #1570  |  Link
    Life looks better in UHD
     
    SeeMoreDigital's Avatar
     
    Join Date: Jun 2003
    Location: Notts, UK
    Posts: 11,382
    Evening,

    Over the last few months I've received a few PM's from people over on the AVS forum enquiring applications that can generate ALAC encodes. Is this something that could be implemented?
    __________________
    | I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
    SeeMoreDigital is offline   Reply With Quote
    Old 12th December 2018, 02:12   #1571  |  Link
    Software Developer
     
    LoRd_MuldeR's Avatar
     
    Join Date: Jun 2005
    Location: Last House on Slunk Street
    Posts: 12,962
    Quote:
    Originally Posted by SeeMoreDigital View Post
    Evening,

    Over the last few months I've received a few PM's from people over on the AVS forum enquiring applications that can generate ALAC encodes. Is this something that could be implemented?
    Well, since we already support ALAC decoding via refalac, adding encoding support for ALAC wouldn't be too hard

    However I'm relucant to add encoding support for yet another "lossless" audio format.

    We already have support for FLAC and Monkey's, where FLAC is the de facto standard for "lossless" audio today (with very good hardware support) and Monkey's is for those people who want that little bit of extra compression.

    I see no advantage in ALAC format, as compression is no better than FLAC (actually slightly worse), whereas speed and playback support are inferior. Quality obviously is exactly the same for all "lossless" formats.
    __________________
    There was of course no way of knowing whether you were being watched at any given moment.
    How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



    Last edited by LoRd_MuldeR; 12th December 2018 at 02:22.
    LoRd_MuldeR is offline   Reply With Quote
    Old 12th December 2018, 02:15   #1572  |  Link
    Registered User
     
    Join Date: Oct 2017
    Posts: 8
    Decoding thought (1) and a suggestion (2):

    1. Decoders: LameXP does not seem to detect an Opus (or Ogg, or other audio) stream inside a WebM container, claiming the file is invalid (it's uncommon to put Opus or Ogg inside a non-Ogg container, and LameXP presumably doesn't include a WebM decoder).

    I'm not trying to open a can of worms here. I don't want you to make LameXP into anything you don't want it to be or turn it into a "extracts from all possible container formats" utility, which might reduce its focus and efficiency.

    2. I like the Encoded with LameXP tag. However, I would rather it didn't overwrite an already-present informational tag when enabled. If I could remember to check the files prior to setting the metadata, I could ensure that wouldn't happen, but I often forget. A lot of musicians have bandcamp/etc. pages or other source or relevant data in that metadata tag.

    Would it be possible to append " / Encoded with LameXP" to a pre-existing tag or, alternatively, to apply the LameXP metadata tag only if that field is blank/not present in the original file?

    An opt-in configuration option could be created, possibly, for users to switch to the alternate behavior if you would rather the current behavior remain the default (have Encoded by LameXP written to the file by default when "Write meta information to encoded files" is enabled)


    Last edited by danlock; 12th December 2018 at 18:55. Reason: added clarity (?) | removed unnecessary sentence | changed phrase order (basic editing)
    danlock is offline   Reply With Quote
    Old 14th December 2018, 00:00   #1573  |  Link
    Software Developer
     
    LoRd_MuldeR's Avatar
     
    Join Date: Jun 2005
    Location: Last House on Slunk Street
    Posts: 12,962
    Quote:
    Originally Posted by danlock View Post
    1. Decoders: LameXP does not seem to detect an Opus (or Ogg, or other audio) stream inside a WebM container, claiming the file is invalid (it's uncommon to put Opus or Ogg inside a non-Ogg container, and LameXP presumably doesn't include a WebM decoder).
    WebM is just a fancy name for VP8 or VP9 video with Vorbis or Opus audio stored in Matroska (MKV) container. But I agree that WebM input support would be much desired.

    However, to the best of my knowledge, neither OggDec (official Vorbis decoder by Xiph.org) nor OpusDec (official Opus decoder by Xiph.org) support Matroska (MKV) files as input; only Xiph's own Ogg container is supported!

    We probably could use "mkvextract" tool to demux the Vorbis or Opus track from the MKV container and have it stored as Ogg file, the we can invoke the OggDec or OpusDec decoder.

    The problem here is that LameXP does not currently have a framework for performing an additional "demuxing" step before invoking the actual decoder; it is assumed we can select the suitable decoder for each file right away.

    So, to make a long story short, this is quite doable, but would definitely require some general changes to the way how LameXP decodes input files. Not something I can do in the near term


    Quote:
    Originally Posted by danlock View Post
    2. I like the Encoded with LameXP tag. However, I would rather it didn't overwrite an already-present informational tag when enabled. If I could remember to check the files prior to setting the metadata, I could ensure that wouldn't happen, but I often forget. A lot of musicians have bandcamp/etc. pages or other source or relevant data in that metadata tag.
    Well, things currently work like this: Any meta tags that you specify on the "Meta Data" tab take precedence over that meta tags that are detected from the input file.

    The string "Encoded with LameXP" just happens to be the default comment value on the "Meta Data" tab. You can simply clear that value, if you don't like the comment from the input file to be replaced.

    So, to solve this, we would need an option to append the meta tags specified on the "Meta Data" tab to the existing tags, instead of taking precedence over them.

    But we probably would need that this option can be toggled separately for each meta tag (line), because for most of the tags we probably do not want that they are appended...

    (either that, or we come up with a completely different method to sneak the "Encoded with LameXP" string into the comment field)
    __________________
    There was of course no way of knowing whether you were being watched at any given moment.
    How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



    Last edited by LoRd_MuldeR; 14th December 2018 at 00:09.
    LoRd_MuldeR is offline   Reply With Quote
    Old 9th February 2019, 20:49   #1574  |  Link
    Registered User
     
    Join Date: Oct 2017
    Posts: 8
    Quote:
    Originally Posted by LoRd_MuldeR View Post
    (either that, or we come up with a completely different method to sneak the "Encoded with LameXP" string into the comment field)
    For tag styles/versions that support it, LameXP's text could be placed in the <ENCODED BY> field.

    That would prevent LameXP from interfering with the comment field entirely.

    Last edited by danlock; 9th February 2019 at 20:52.
    danlock is offline   Reply With Quote
    Old 11th February 2019, 22:46   #1575  |  Link
    Software Developer
     
    LoRd_MuldeR's Avatar
     
    Join Date: Jun 2005
    Location: Last House on Slunk Street
    Posts: 12,962
    LameXP v4.18 Alpha-6
    https://sourceforge.net/projects/lam...6.exe/download

    Quote:
    Changes between v4.17 and v4.18 [unreleased]:
    * Upgraded build environment to Microsoft Visual Studio 2017.9 (MSVC 14.16)
    * Updated Vorbis encoder to OggEnc v2.88 (2018-11-14), using libvorbis v1.3.6 with aoTuV b6.03 (2018)
    * Updated FLAC encoder/decoder to v1.3.2+ Git (2018-09-19), compiled with ICL 19.0 and MSVC 14.16
    * Updated Monkey's Audio binary to v4.41 (2018-12-05), compiled with ICL 19.0 and MSVC 14.16
    * Updated mpg123 decoder to v1.25.10 (2018-03-05) and added 64-Bit binaries, compiled with GCC 8.2.1
    * Updated MediaInfo to v18.12 (2018-12-10), compiled with ICL 19.0 and MSVC 14.16
    __________________
    There was of course no way of knowing whether you were being watched at any given moment.
    How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.


    LoRd_MuldeR is offline   Reply With Quote
    Reply

    Tags
    aac, aotuv, flac, lame, lamexp, mp3, mp4, ogg, oggenc, opus, vorbis


    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT +1. The time now is 06:10.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • “创新从来都是九死一生”(人民论坛) 2019-02-14
  • 端午假期广州铁路运客640.5万人次 创历史新高 2019-02-14
  • 19次生态输水让塔河下游生机勃勃 2018-11-22
  • 男篮再胜伊朗迎热身赛两连胜 任骏飞19+11陶汉林18分 2018-11-22
  • 小卒子,你南街村的代言人啊?扮豬不咋像呢!你滴,大大滴,明白? 2018-11-22
  • 女性之声——全国妇联 2018-11-21
  • 新华网评:凝聚打赢脱贫攻坚战的强大合力 2018-11-21
  • 栗战书:执法检查要直面问题不搞评功摆好 让法律制度成为不可触碰的高压线 2018-11-21
  • 这些水果越新鲜越不能吃 放一放更好吃 2018-11-21
  • 生产资料公有制不会也不可能涉及生产资料的分配,这完全是你杜撰的,是强词夺理的。从这点看,你的所谓逻辑是幼稚可笑的。哈哈哈哈! 2018-11-20
  • 践行“两山论”是一场发展的革命 2018-11-20
  • 女教师舍身保护学生被撞身亡感动各界 2018-11-20