Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

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
Floatingshed
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
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Posts: 2,329
Already answered in 2010...
Have a look here:
https://forum.doom9.org/showthread.p...25#post1401725

Cheers
manolito
manolito is offline   Reply With Quote
Old 27th November 2018, 21:39   #1563  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,935
Quote:
Originally Posted by manolito View Post
Already answered in 2010...
Have a look here:
https://forum.doom9.org/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
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Posts: 2,329
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
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,935
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
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,343
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
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,935
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
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,343
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
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,935
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
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,343
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
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,935
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
danlock
Registered User
 
Join Date: Oct 2017
Posts: 7
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 Yesterday, 00:00   #1573  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,935
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; Yesterday at 00:09.
LoRd_MuldeR is offline   Reply With Quote
Reply

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:35.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.