Re: [FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-25 Thread CMG DiGiTaL
> I'm glad it's now working for you. > ok Reino and thanks for the help I got from all of you! Clamarc ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffm

Re: [FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-23 Thread Reino Wijnsma
Hello Clamarc, On 2022-02-23T01:49:41+0100, CMG DiGiTaL wrote: > but what did i do wrong?... You top-posted. If you don't know what it is, then please have a look at: - http://www.idallen.com/topposting.html - https://www.caliburn.nl/topposting.html or use you favorite search-engine to look it u

Re: [FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-22 Thread CMG DiGiTaL
hi Clayton, I understand... rules are rules and if I've broken any, I apologize to everyone! thanks a lot for the help, the code has now read the file with the exclamation mark no problems! only when recording the file he was converting all to 48000kHz sample rate, but I made a change in the re

Re: [FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-22 Thread Clayton Macleod
> hi Clayton, That wasn't me. That was Reino. I guess they're strict about formatting rules around here. I just joined yesterday, so don't ask me. Seems a little arbitrary to me, but if those are the rules and that's what they want, alrighty... I forgot to mention, you'll need to change one m

Re: [FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-22 Thread Clayton Macleod
No need to make it any more complicated than need be. You only need to add two lines to the existing FOR loop. The variable %%G contains the current filename throughout the entire time the loop runs. As this is the case, you can simply rename it before you do any of the actual processing in the

Re: [FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-22 Thread CMG DiGiTaL
hi Clayton, > Please do not top-post. On this mailinglist it's against the rules, to which you agreed upon subscribing. but what did i do wrong?... i just answered the tip you gave about renaming files?!!!... answering causes problems?!... did i do something wrong or are you referring There are

Re: [FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-22 Thread Reino Wijnsma
Hello Clamarc, Please do not top-post. On this mailinglist it's against the rules, to which you agreed upon subscribing. On 2022-02-22T07:32:05+0100, CMG DiGiTaL wrote: >> FOR *%G* IN (*.mp3) DO ( >it was because I took part of the sample rate command that you sent me > to be able to use it

Re: [FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-22 Thread CMG DiGiTaL
hi Clayton I found your idea interesting, but I was confused on how to do it. I would have it right after the main FOR and run: for /f %%n in ("%%a") do ren temp.mp3 (is this command correct?) ps. if I rename like this the originals are all with the name temp.mp3? After the rename, should I

Re: [FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-21 Thread Clayton Macleod
How about temporarily renaming the file at the start of the loop before any processing happens? ren %G temporary.mp3 processing commands on temporary.mp3 ren temporary.mp3 %G And then just rename it back at the end of the loop, like that. On Mon, 21 Feb 2022 at 22:32, CMG DiGiTaL wrote: > hi

Re: [FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-21 Thread CMG DiGiTaL
hi Reino, thanks for the clarifications... > FOR *%G* IN (*.mp3) DO ( Please don't do this. I understand you're trying to emphasize parts of code... it was because I took part of the sample rate command that you sent me to be able to use it in my batch file that I already had here, you know?

Re: [FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-21 Thread Reino Wijnsma
On 2022-02-21T08:52:44+0100, CMG DiGiTaL wrote: > I did these commands below This has nothing to with your initial question "Get sample rate in mp3 files", or even FFmpeg. This is in fact a question about CMD and Batch. I will respond to this now, but I don't believe questions like these are for

[FFmpeg-user] Fwd: Get sample rate in mp3 files

2022-02-20 Thread CMG DiGiTaL
hi Reino, I did these commands below, taking advantage of what you sent me to test the LUFS changes of the audio files. I have some doubts: - Can I use a command of this size directly in cmd? - I can put multiple @for in this command. Note that I do several findstr in the txt file I generated with