topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 10:39 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Need to convert audio files while keeping original file dates  (Read 3771 times)

Lolipop Jones

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 65
    • View Profile
    • Donate to Member
I have a bunch of old .wav recordings which I would like to convert to a compressed format so I can email them to some family members who have slow (rural) net acess.

But because the dates have some sentimental value (kids' musical and voice performances from 1997-2004) I want to keep the original file dates and not overwrite them with the conversion date.

No conversion program I currently have will do this.  Can anyone help?
Today's problems were yesterday's solutions....

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Need to convert audio files while keeping original file dates
« Reply #1 on: May 12, 2021, 05:23 PM »
But because the dates have some sentimental value (kids' musical and voice performances from 1997-2004) I want to keep the original file dates and not overwrite them with the conversion date.

No conversion program I currently have will do this.  Can anyone help?
-Lolipop Jones (May 12, 2021, 04:39 PM)

Greetings LJ! :) If your conversion program has a command-line interface where you can pass the destination/resulting file name, making a program to snapshot previous dates for originals and "replaying it" on the resulting files is possible.

It could also be possible to make it if you already have resulting files having changed extension from .wav to .mp3. In such a case, the program would compare file name patterns and adjust/set the MP3 files' dates accordingly.

I'm open to making this tool with a little accompanying feedback from you. :Thmbsup: Cheers!
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com
« Last Edit: May 12, 2021, 05:34 PM by publicdomain »

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Need to convert audio files while keeping original file dates
« Reply #2 on: May 12, 2021, 06:44 PM »
It could also be possible to make it if you already have resulting files having changed extension from .wav to .mp3. In such a case, the program would compare file name patterns and adjust/set the MP3 files' dates accordingly.
-publicdomain (May 12, 2021, 05:23 PM)

Alright! Let's focus on the resulting converted files :) FileDateReplay repository is open:

https://github.com/p...omain/filedatereplay

Your's a family situation so let's work on this baby with priority :Thmbsup: Cheers!
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

Lolipop Jones

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 65
    • View Profile
    • Donate to Member
Re: Need to convert audio files while keeping original file dates
« Reply #3 on: May 13, 2021, 06:15 AM »
If your conversion program has a command-line interface where you can pass the destination/resulting file name,
-publicdomain (May 12, 2021, 05:23 PM)

Vic,

The one I use almost all the time is GUI only (dbPoweramp) but I will check the others I have.  Got a few plates in the air at the moment so it may be a day or three.

Thanks!

LJ
Today's problems were yesterday's solutions....

KodeZwerg

  • Honorary Member
  • Joined in 2018
  • **
  • Posts: 718
    • View Profile
    • Donate to Member
Re: Need to convert audio files while keeping original file dates
« Reply #4 on: May 13, 2021, 07:14 AM »
I like to contribute later aswell but not matching 100% the OP wish.

The Ideas in my head plus differences to Vic would be:
- own GUI with own free to use audio-codec (that way I do have better control of files)
- basic converter options, bitrate and such
- option for automatic mp3 header fill (based on this rule, your files should be in that state before enable that option: "Artist - Title {optional - Year}.extension"
- option to keep original filedates for converted media
- option to set output folder
- option to test original and converted against (not visible presented, just audio playback, that way you have a chance to quickly test many converter variations)
- batch converting mode (convert many files at once)
- multithreading, you choose how many converting threads may be opened at once to get most power out of your hardware (# of your cpu-kernels will be the limit)
  ( ...or set to single-thread to keep system more stable for other usage while converting... )
  ( small example to give you an idea: 4-kernels/threads = each work with 25% of cpu power ... since 4 * 25 = 100% cpu  :P )
- no other external app will be supported (dbPoweramp or whatever), that would be Vic's try if I did understand correct
- 100% portable, no installation is required
- 100% not for commercial usage allowed (converter libs disallow, not me)

If you do not like that Idea, I will not disturb here anymore and silently put it on my Todo List as one of my many fun projects or NANY contributions.

Stay healty all of you!  :Thmbsup:

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Need to convert audio files while keeping original file dates
« Reply #5 on: May 13, 2021, 09:20 AM »
Thanks for your valuable participation @K! :Thmbsup:

The one I use almost all the time is GUI only (dbPoweramp)
-Lolipop Jones (May 13, 2021, 06:15 AM)

No sweat! Use any converter you wish & let's focus on the resulting file naming pattern :)

Can you provide an example of input file name + output file name?

If it's merely a change from ".wav" to ".mp3", we're talking one-day code :up:

If it's another pattern it may take a bit longer (i.e. we can raise complexity, up to regex matching)

Cheers!
Vic
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Need to convert audio files while keeping original file dates
« Reply #6 on: May 13, 2021, 09:22 AM »
The one I use almost all the time is GUI only (dbPoweramp) but I will check the others I have.  Got a few plates in the air at the moment so it may be a day or three.
-Lolipop Jones (May 13, 2021, 06:15 AM)

@Lolipop:  https://forum.dbpowe...amps-when-converting

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Need to convert audio files while keeping original file dates
« Reply #7 on: May 13, 2021, 09:30 AM »
@Lolipop:  https://forum.dbpowe...amps-when-converting

THANK YOU!!! :Thmbsup: This should make LJ's day :)
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Need to convert audio files while keeping original file dates
« Reply #8 on: July 29, 2021, 01:25 AM »
But because the dates have some sentimental value (kids' musical and voice performances from 1997-2004) I want to keep the original file dates and not overwrite them with the conversion date.
-Lolipop Jones (May 12, 2021, 04:39 PM)

@LJ

FileDateReplay is complete @ https://www.donationcoder.com/forum/index.php?topic=51612.0

You may want to try it in case you stumble upon the need to keep or "replay" original file dates in other formats  :Thmbsup:

Cheers!
Vic
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com