Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th May 2014, 06:44   #1  |  Link
Rouhi
Registered User
 
Join Date: Apr 2011
Posts: 64
how to extract bit rate and Frame rate in windows?

Hi
I have a folder containing 10,000 videos in format of mp4 and mpg. They have different bit rates. I want to provide a text file containing the list of each video name and it bit rate.
Do you have any suggestion?
My operating system is windows.
Cheers

Last edited by Rouhi; 29th May 2014 at 03:20.
Rouhi is offline   Reply With Quote
Old 5th May 2014, 10:00   #2  |  Link
QBhd
QB the Slayer
 
QBhd's Avatar
 
Join Date: Feb 2011
Location: Toronto
Posts: 697
Mediainfo should be able to do what you want with a custom sheet.

QB
__________________
QBhd is offline   Reply With Quote
Old 5th May 2014, 12:52   #3  |  Link
therube
Registered User
 
Join Date: Aug 2013
Posts: 191
ffprobe from FFmepg.

You could set up a batch file to loop through each video getting its info.

Something like (pseudocode) ...

:loop
echo $filename >> out.TXT
ffprobe $filename 2>&1 | grep bitrate >> out.TXT
echo \n
:loop
therube is offline   Reply With Quote
Old 6th May 2014, 00:51   #4  |  Link
[ReX]
Registered User
 
Join Date: Jul 2007
Posts: 151
Quote:
Originally Posted by therube View Post
ffprobe from FFmepg.

You could set up a batch file to loop through each video getting its info.

Something like (pseudocode) ...

:loop
echo $filename >> out.TXT
ffprobe $filename 2>&1 | grep bitrate >> out.TXT
echo \n
:loop
I was bored, so I implemented this.
https://gist.github.com/BrunoReX/6eb38bd27f0ec83bb348
[ReX] is offline   Reply With Quote
Old 29th May 2014, 03:18   #5  |  Link
Rouhi
Registered User
 
Join Date: Apr 2011
Posts: 64
Thanks for your reply.
I am back again after long time. I want to rephrase the question. I want to extract the frame rate of a bunch of videos. I am in windows platform. Can i use ffmpeg or any other program to call in a loop and save the results in a text file?
Rouhi is offline   Reply With Quote
Old 23rd June 2014, 15:17   #6  |  Link
[ReX]
Registered User
 
Join Date: Jul 2007
Posts: 151
Quote:
Originally Posted by Rouhi View Post
Thanks for your reply.
I am back again after long time. I want to rephrase the question. I want to extract the frame rate of a bunch of videos. I am in windows platform. Can i use ffmpeg or any other program to call in a loop and save the results in a text file?
Same approach, but now I've used the MediaInfo CLI since you don't need to parse the text with it.

https://gist.github.com/BrunoReX/fe8f659c31186328d317
[ReX] is offline   Reply With Quote
Reply

Tags
bit rate


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:34.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.