Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving File from CLI #234

Open
kt-lowen opened this issue Aug 15, 2022 · 1 comment
Open

Saving File from CLI #234

kt-lowen opened this issue Aug 15, 2022 · 1 comment

Comments

@kt-lowen
Copy link

Hello,

I am currently trying to adjust the time reference for my audio file using the CLI, and I have managed to change the time reference to the desired time, however I am unable to actually save this metadata (or cannot figure out what commands I need to use to accomplish this.)

So far my output using:

bwfmetaedit.exe --specialchars --out-core my_file.WAV 

is"

FileName,Description,Originator,OriginatorReference,OriginationDate,OriginationTime,TimeReference (translated),TimeReference,BextVersion,UMID,LoudnessValue,LoudnessRange,MaxTruePeakLevel,MaxMomentaryLoudness,MaxShortTermLoudness,CodingHistory,IARL,IART,ICMS,ICMT,ICOP,ICRD,IENG,IGNR,IKEY,IMED,INAM,IPRD,ISBJ,ISFT,ISRC,ISRF,ITCH
my_file.WAV,,,,,,17:07:40.000,2959680001,0,,,,,,,,,,,,,,,,,,,,,Lavf59.16.100,,

Which is great, but now I am unsure how to move forward with saving this change to the file, the commands I have tried don't seem to actually save these changes.

Any help would be hugely appreciated, thanks so much!

@JeromeMartinez
Copy link
Member

Either you edit the outputted CSV and inject it back:

bwfmetaedit.exe --specialchars --out-core my_file.WAV > core.txt
(edit core.txt)
bwfmetaedit.exe --specialchars --in-core=core.txt my_file.WAV 

or you can also directly inject the field in the file:

bwfmetaedit.exe --specialchars --TimeReference=17:07:40.000 my_file.WAV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants