Hi On Mon, Feb 7, 2022 at 6:14 PM CMG DiGiTaL <cmarc...@gmail.com> wrote:
> hi Reindl Harald > > forgot to send my changed code, follow now, so: > > cd\Users\%username%\Desktop\%pasta% > for %%F IN (*) do (ffprobe -i "%%F" -v error -show_entries > stream=sample_rate -of default=noprint_wrappers=1:nokey=1 > if %%F==48000 (ffmpeg -i "%%F" -map 0:0 -acodec mp3 > -b:a 320k -ar:a 44100 "C:\Users\%username%\Desktop\Converted\%%F" > ) > ) > I'm not hugely familiar with bat, but it looks like %%F is still just going to be the mp3 filename, and it looks like you're not assigning that variable to be the output of ffprobe, which is why your command is failing? > Note: I'm using the for command to execute two commands > ffmpeg, okay? > I need one more help from you regarding the If command in > variable %%F... I don't know how to get only a part of the value > of the variable to make the if work! > This is more of a windows BAT issue than an ffmpeg issue unfortunately. Best, Kieran > > I send an attachment so I can see the contents of the %%F > variable. > > Em seg., 7 de fev. de 2022 às 15:08, Reindl Harald <h.rei...@thelounge.net > > > escreveu: > > > > > > > Am 07.02.22 um 18:55 schrieb Kieran O Leary: > > > I was surprised to see that the code of conduct has no process or > contact > > > email for reporting a violation. I’m really reluctant to reply to this > > > thread further as I’ve been called several nasty names already > > > > you should have been reluctant before your first response and nothing > > would have happened at all > > > > learn the difference between "stupid idea" and "you are stupid" given > > that "stupid idea" don't contain any pun even face-to-face as well as > > "this was a stupid idea of me" is a normal conversation outside the > > snowflake world > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".