Tool to get audio and video bitrates on linux,...

All your questions about AniDB belong in here.
No download support!

Moderator: AniDB

Locked
nich
Posts: 33
Joined: Sat Feb 08, 2003 12:38 am

Tool to get audio and video bitrates on linux,...

Post by nich »

...is there any?

mkvinfo gives me the codec, height, width, etc. Can't find length (not really a problem, just starting mplayer gives me that) nor bitrates, though.

At least, is there a good way to calculate bitrates from the info mkvinfo provides?
rowaasr13
Posts: 415
Joined: Sat Sep 27, 2003 4:57 am

Post by rowaasr13 »

nich
Posts: 33
Joined: Sat Feb 08, 2003 12:38 am

Post by nich »

Wow! Thx! Good tool for avi.

For mkv, though, it still fails at getting me some information about bitrates. :(

Code: Select all

$ avinfo Oruchuban_Ebichu_-_01.avi
Oruchuban_Ebichu_-_01.avi, 148Mb
video: 512x384 00:21:08 23.97fps DivX3 848Kbps
audio: 44KHz  00:21:08 Stereo 127Kbps mp3
against

Code: Select all

$ avinfo gunslinger.girl.11.xvid.anime_fin.mkv
gunslinger.girl.11.xvid.anime_fin.mkv, 233Mb
video: und 839x472 00:23:10 23.97fps DivX
audio: jpn 48KHz  00:23:10 Stereo  A_VORBIS
subs: eng(S_TEXT/SSA) + eng(S_TEXT/UTF8)
:/

Any ideas?
rowaasr13
Posts: 415
Joined: Sat Sep 27, 2003 4:57 am

Post by rowaasr13 »

Hm, not right now. Author promised he will add this in future, though.
hhaamu
Posts: 84
Joined: Mon Feb 07, 2005 7:59 am

Post by hhaamu »

mplayer can display the nominal bitrate for vorbis with the -identify switch, and the same for most CBR audio streams, but cannot show the video bitrate.
[snip lots of subtitle streams]
ID_FILENAME="mewmew-vorbis-ssa.mkv"
ID_VIDEO_FORMAT=XVID // mind you, this is just the 4CC value, so usually not to be relied on
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=640
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=23,976
ID_VIDEO_ASPECT=0,0000
ID_AUDIO_CODEC=vorbis
ID_AUDIO_FORMAT=65534
ID_AUDIO_BITRATE=112000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=58
George Shuklin
Posts: 1
Joined: Thu Feb 10, 2005 1:47 pm

Post by George Shuklin »

nich wrote:Wow! Thx! Good tool for avi.

For mkv, though, it still fails at getting me some information about bitrates. :(
Any ideas?
Sorry, It is my lazziness. Currently AVInfo do not read a MKV index, so, couldn't calculate a length/bitrate.

Long and forgotten todo. -_-
nich
Posts: 33
Joined: Sat Feb 08, 2003 12:38 am

Post by nich »

Uh?

You're the dev?

(Sorry. I can't read a thing in Russian - or, for that matter, anything that's not in either English or Portuguese.)

I'll be waiting for your next version, then. ^^;

Btw, thx for the tool! Image

[Edit]Baka me! You're name's in the program itself! :roll:
Locked