Video Capture, Editing and Processing > Avisynth Usage

Avisynth - bitrate plugin

<< < (3/3)

bugmenot:
If you want to see 'bitrate' of individual frames of a compressed video, then I think you can do that with directshowsource (or perhaps dss2), using ffdshow as a decoder for the particular format (enable OSD and set it to show "coded frame size" and other stuff you want to see).

Edit, I didn't realise you need the information in machine-readable code (OCRing not an option I suspect.). I would expect the info displayable by ffdshow to be exported from ffmpeg, meaning that modifying ffmpegsource should allow it. Easiest way to do this is probably to prepare a text file with stats on the source's frames and read it into your function/filter.

Dogway:
no bugmenot, that's nice! Didn't realise that ffdshow filter (OSD). I don't need it exportable, I was just commenting a possible workaround for displaying it along video playback (in avisynth for this matter).
Bitrate shuffles a lot! is that kilobits I guess? One I-frame had 121000 value, so I assummed (121000/8)/1024=14mb? Even between b-frames one had 3000 and the next one 18000

bugmenot:
AFAIK it is the actual size of the single frame in bytes, as read by ffmpeg. As such, it isn't really a bitrate, hence the '' I used...

/Mandarinka/

Aktan:
Sorry to bring this back up, but I would like to mention that ffdshow's OSD information can be saved to file also, so no need for OCR.

bugmenot:
Interesting, I never knew that.

/LOL at that avatar, whoever set it up for the account./

Navigation

[0] Message Index

[*] Previous page

Go to full version