videos icon indicating copy to clipboard operation
videos copied to clipboard

Video Player Can't Play Video

Open Fatih20 opened this issue 5 years ago • 5 comments

Prerequisites

  • [ ] I have searched open and closed issues for duplicates.

Describe the bug

Video can't be played with the app. The app simply display a blank screen. Video recording attached.

Expected behavior

The video should've been played normally.

https://youtu.be/0pCBtpZUjp4

Logs

(io.elementary.videos:22250): Gtk-DEBUG: 12:21:17.243: Connecting to session manager
** (io.elementary.videos:22250): DEBUG: 12:21:17.276: DiskManager.vala:111: Check DVD media for: Mass Storage
** (io.elementary.videos:22250): DEBUG: 12:21:17.276: DiskManager.vala:111: Check DVD media for: Fatih
** (io.elementary.videos:22250): DEBUG: 12:21:17.282: DiskManager.vala:111: Check DVD media for: Mass Storage
** (io.elementary.videos:22250): DEBUG: 12:21:17.282: DiskManager.vala:111: Check DVD media for: Fatih
** (io.elementary.videos:22250): DEBUG: 12:21:25.116: DiskManager.vala:111: Check DVD media for: Mass Storage
** (io.elementary.videos:22250): DEBUG: 12:21:25.117: DiskManager.vala:111: Check DVD media for: Fatih
** (io.elementary.videos:22250): DEBUG: 12:21:25.118: PlayerPage.vala:274: Opening file:///home/fatih/Videos/Anthony's%20Sponsor%20Spots/Linus%20Sponsor%20Spots.mp4
** (io.elementary.videos:22250): DEBUG: 12:21:25.123: Inhibitor.vala:64: Inhibiting screen
** (io.elementary.videos:22250): DEBUG: 12:21:25.123: DiskManager.vala:111: Check DVD media for: Mass Storage
** (io.elementary.videos:22250): DEBUG: 12:21:25.123: DiskManager.vala:111: Check DVD media for: Fatih
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the   --global-isel-abort option: may only occur zero or one times!
** (io.elementary.videos:22250): DEBUG: 12:21:37.175: Inhibitor.vala:80: Uninhibiting screen
** (io.elementary.videos:22250): DEBUG: 12:21:37.414: DiskManager.vala:111: Check DVD media for: Mass Storage
** (io.eleme

image

I'm using the latest released stable version

Additional context

Fatih20 avatar Dec 27 '19 05:12 Fatih20

Videos still can't be played with the Video app. After opening any video file (.mp4 here), just a blank black screen appears: image

I am using Lenovo Legion 5 with elementary OS 6 (dualbooting Windows 10) CPU: AMD Ryzen 4800h + Radeon iGPU dGPU: nVidia GTX 1660ti mobile with 470 driver from AppCenter Video app version 2.7.3

VLC runs fine, video playback works

JohnDumpling avatar Aug 23 '21 09:08 JohnDumpling

I’m seeing the same thing in my installation. VLC plays videos correctly (tested with an mkv from a screen recording as well as a downloaded mp4 whereas videos shows a blank screen – as per the screenshot posted in the earlier comment – for both.)

I’m on a StarLabs MkIV.

Will start from command line and post any logs I see when I’m next at the computer.

aral avatar Aug 27 '21 18:08 aral

Update: When I play a video in VLC, it works fine. But when I press left/right arrow, a black screen appears but audio continues to play. This also happens when I maximize the video player.

JohnDumpling avatar Aug 29 '21 09:08 JohnDumpling

From a Reddit post on Elementary OS subreddit:

I read in some post that for the videos to work properly you might need to install extra multimedia codecs. Something about them being proprietary is why they aren’t installed by default.

try sudo apt install ubuntu-restricted-extras

and play some videos after to see if it works

For me, that worked. VLC has a different problem, it runs in 2 separate windows and every time I skip to a different part of a video, the blank window gets selected.

JohnDumpling avatar Sep 02 '21 12:09 JohnDumpling

From a Reddit post on Elementary OS subreddit:

I read in some post that for the videos to work properly you might need to install extra multimedia codecs. Something about them being proprietary is why they aren’t installed by default.

try sudo apt install ubuntu-restricted-extras

and play some videos after to see if it works

For me, that worked. VLC has a different problem, it runs in 2 separate windows and every time I skip to a different part of a video, the blank window gets selected.

Completely worked for me as well! If these are not shipped by default because of legal restrictions we should have at least an easily accessible documentation or a "help" session on the video player, otherwise it's unusable, mp4 is used everywhere nowadays.

lfvalerio avatar Apr 25 '22 02:04 lfvalerio