Page 1 of 1

To check audio\video file's technical details - is there an inbuilt tool in FossaPup?

Posted: Fri Apr 09, 2021 3:47 am
by MrAccident

Details like bit-rate.
If not - what program do you recommend?


Re: To check audio\video file's technical details - is there an inbuilt tool in FossaPup?

Posted: Fri Apr 09, 2021 6:34 am
by Makoto

Mediainfo (in text mode (click on Text in the View menu) should give you a comprehensive/in-depth report on most video files. It's not included with any Puppy that I'm aware of, but it's probably available through FossaPup's PPM. You can open the video from within Mediainfo, or drag the video file onto the Mediainfo window.

For example, here's the Text output of a video clip I had handy:

Code: Select all

General
Complete name                            : /root/my-documents/(filename removed).mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/mp41/iso4)
File size                                : 2.17 MiB
Duration                                 : 20 s 270 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 897 kb/s
Encoded date                             : UTC 2021-03-29 15:05:58
Tagged date                              : UTC 2021-03-29 15:05:58

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 20 s 250 ms
Bit rate                                 : 766 kb/s
Maximum bit rate                         : 1 213 kb/s
Width                                    : 720 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 1.000
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.062
Stream size                              : 1.85 MiB (85%)
Title                                    : Vireo Eyes v2.6.2
Encoded date                             : UTC 2021-03-29 15:05:58
Tagged date                              : UTC 2021-03-29 15:05:58

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 20 s 270 ms
Duration_FirstFrame                      : -1 ms
Bit rate mode                            : Variable
Bit rate                                 : 128 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 317 KiB (14%)
Title                                    : Vireo Ears v2.6.2
Encoded date                             : UTC 2021-03-29 15:05:58
Tagged date                              : UTC 2021-03-29 15:05:58


Re: Using mediainfo program

Posted: Fri Apr 09, 2021 9:10 am
by April

I found that helpful .
I downloaded it from PPM and it installed in /usr/bin without a menu entry so I had to find the command which was "mediainfo" surprisingly.

I tried however to pass the file name of the video I was wanting to look at and did not work out how to get that there in rox.
I right clicked on send to,

Used customise to symlink /usr/bin/mediainfo into the send to menu but got stuck there as "$@" would not send the chosen file.
So if I right click on a file in rox isn't the filename supposed to be the first parameter $0 in variables returned ?

Is there a catch?


Re: To check audio\video file's technical details - is there an inbuilt tool in FossaPup?

Posted: Fri Apr 09, 2021 4:22 pm
by Grey

You were just not paying attention. In fact, Fossapup has such a facility and it is pMediaInfo. And it is called by right-clicking on the file:

pMediaInfo.png
pMediaInfo.png (29.29 KiB) Viewed 217 times

Maybe you just lost the binding to a specific file extension?


Re: To check audio\video file's technical details - is there an inbuilt tool in FossaPup?

Posted: Fri Apr 09, 2021 7:32 pm
by MrAccident

@Grey - works.
Thanks.


Re: To check audio\video file's technical details - is there an inbuilt tool in FossaPup?

Posted: Fri Apr 09, 2021 9:01 pm
by April

No I probably should start a new thread because I use xenialpup64-7.5 and my question is more about coding in rox and command line .