SpaceFM – How to show frame size info of video file?

Forum Forums Official Releases antiX-19 “Marielle Franco, Hannie Schaft, Manolis Glezos, Grup Yorum, Wobblies” SpaceFM – How to show frame size info of video file?

  • This topic has 2 replies, 2 voices, and was last updated Jun 3-4:18 pm by olsztyn.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #60881
    Member
    olsztyn

      Fully updated antiX 19.2 Hannie Schaft, IceWM, SpaceFM file manager:
      Is there a way to configure to show frame info of video files in SpaceFM, e.g. 1920×1080, in the Info section?
      Thanks and Regards.

      Live antiX Boot Options (Previously posted by Xecure):
      https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

      #60885
      Member
      Xecure
        Helpful
        Up
        0
        ::

        I don’t know how to create custom columns, or have menu items display the result of a command, but I know how to create menu items that, when clicked, run a command and give you the output.

        0. Right-click on a video file inside SpaceFM.
        1. Move the mouse inside the Properties submenu and right-click on “Info” menu entry.
        2. Select New > Command Insert
        3. Give the menu entry a Name (example: Video Resolution
        4. Move to the “Command” tab if not already there, and add this as the command:
        ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 %f
        5. Go to the “Context” tab and in “Edit Rule” add this option:

        MIME Type, Begins with
        video

        Remember to click Add so it adds as a rule.
        6. Click OK and now you will have a Video Resolution option (that will only show in Properties> below Info when right-clicking on a video) you can click to get the Video resolution.

        Test it out.

        If there is a better way, so that the menu Item name displays the result instead of having to be clicked, please let us know.

        antiX Live system enthusiast.
        General Live Boot Parameters for antiX.

        #60889
        Member
        olsztyn
          Helpful
          Up
          0
          ::

          Thank you Xecure!
          I will play with these possibilities…
          Regards.

          Live antiX Boot Options (Previously posted by Xecure):
          https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.