[FFmpeg-user] Get sample rate in mp3 files

Mark Filipak markfilipak.noreply at gmail.com
Mon Feb 7 21:20:37 EET 2022

On 2022-02-07 13:05, CMG DiGiTaL wrote:
> Hi
> I made the changes to my .bat file, and the files are not being written for
> a detail that I also have doubts about

I wrote and use the following batch program, FFPROBE_SHOW_FRAMES.CMD, to list a select subset of 
FF-style video metadata. Note the FFprobe commands and the Windows FINDSTR command. Perhaps it will 
help you in your task.


ECHO Tip: Use "Save As" to save this list.>"%TEMP%\%~nx1 frames.txt"

ECHO.>>"%TEMP%\%~nx1 frames.txt"

ffprobe -sexagesimal -select_streams v -i %1 2>>"%TEMP%\%~nx1 frames.txt"

ffprobe -hide_banner -sexagesimal -select_streams v -show_frames -of flat -i %1 | FINDSTR /L 
"key_frame=1 pts dts effort pict_ interlaced top repeat">>"%TEMP%\%~nx1 frames.txt"

"%TEMP%\%~nx1 frames.txt"

DEL /Q "%TEMP%\%~nx1 frames.txt"

Just run
FFPROBE_SHOW_FRAMES <videofilewithpath>

I put FFPROBE_SHOW_FRAMES.CMD into the Window context menu so I can highlight a video file (for 
example, a VOB) and simple right-click and select "FFPROBE_SHOW_FRAMES".

Good luck.

Mark Filipak.

More information about the ffmpeg-user mailing list