Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Player Can't Play Video #170

Closed
1 task
Fatih20 opened this issue Dec 27, 2019 · 5 comments · Fixed by #363
Closed
1 task

Video Player Can't Play Video #170

Fatih20 opened this issue Dec 27, 2019 · 5 comments · Fixed by #363

Comments

@Fatih20
Copy link

Fatih20 commented Dec 27, 2019

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

@JohnDumpling
Copy link
Contributor

JohnDumpling commented Aug 23, 2021

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

@aral
Copy link

aral commented Aug 27, 2021

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.

@JohnDumpling
Copy link
Contributor

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
Copy link
Contributor

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.

@felipe-valerio
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants