I need a command to quickly see in terminal essential information about an audio or video file.
(Then I'll consider adding that to Thunar's custom actions, etc.)
|
I need a command to quickly see in terminal essential information about an audio or video file. (Then I'll consider adding that to Thunar's custom actions, etc.) |
|||
|
|
|
Sample output
To add to Thunar custom action, in relation to what was suggested here, the analog formula to add would be:
|
||||
|
|
exiftoolThis might be a surprise, but It supports showing info from a lot of media file formats, and can write metadata too for some of these formats. Example output for an audio file:
|
||||
|
|
Depending on what you consider essential, you might want to use the
However, if you need to know the contents of tags--title, artists, etc.-- |
|||
|
|
|
I use the following for audio files:
Also soxi supports video files as well. The id3v2
|
|||||||
|
|
I am using mediainfo to get all properties of media file ( audio and video files )
Source : http://mediainfo.sourceforge.net/en |
|||
|
|
|
I knew about this command: For myfile.flv: My idea was to add that command to Thunar's custom actions and just run it from context menu no matter the extension. But it had to be run in terminal, so I took a look at this answer. (To open the terminal and keep it open, I created a new profile in gnome-terminal called "new1", and under Profile preferences/"Title and command" set it "When command exits" to "Hold the terminal open".) In the end (by trial and error) I came up with this:
which works put in Thunar's custom actions - and should work for any media file. |
|||||||
|