You are not logged in.

#1 2020-02-18 12:49:45

mayagamer
Member
Registered: 2020-02-18
Posts: 18

[SOLVED] Playing video with no picture

Just installed Arch Linux on my pc, really excited.
Everything else is fine, although some tweaks have been made.
The only problem now is GNOME/Videos doesn't play videos. It shows a msg: Internal data stream error.
Then I tried gst-play-1.0, it got  warnings

[root@sv Videos]# gst-play-1.0 1.mp4
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/sv/Videos/1.mp4
WARNING No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3.1, profile=(string)baseline, codec_data=(buffer)0142801fffe1000e6742801fe900a00b740368509a8001000468ce06e2, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true'.
WARNING debug information: ../gst-plugins-base/gst/playback/gsturidecodebin.c(920): unknown_type_cb (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
Redistribute latency...
0:00:04.0 / 0:00:04.0       
Reached end of play list.

What does it mean? I find libx254 already installed. What can I do to fix it now?
Thanks in advance.

Last edited by mayagamer (2020-04-06 02:59:22)

Offline

#2 2020-02-18 13:36:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: [SOLVED] Playing video with no picture

First of all don't run media applications like that in a root shell, ever.

Second, make sure gst-plugins-ugly is installed to play h264 streams. (If your goal is maximum media compat you will generally want to install all of the gst-plugin packages)

Last edited by V1del (2020-02-18 13:39:00)

Offline

#3 2020-02-18 14:02:46

mayagamer
Member
Registered: 2020-02-18
Posts: 18

Re: [SOLVED] Playing video with no picture

V1del wrote:

First of all don't run media applications like that in a root shell, ever.

Second, make sure gst-plugins-ugly is installed to play h264 streams. (If your goal is maximum media compat you will generally want to install all of the gst-plugin packages)

Thank you for you kind advise! But after installed gst-plugins-ugly, I tried it again with another user account, still saw these two exact warnings

Last edited by mayagamer (2020-02-18 14:07:04)

Offline

#4 2020-02-18 14:33:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: [SOLVED] Playing video with no picture

Try gst-plugins-bad and gst-libav as well.

Last edited by V1del (2020-02-18 14:33:35)

Offline

#5 2020-02-18 17:02:22

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: [SOLVED] Playing video with no picture

You could also investigate what that specific mp4 requires using a suitable tool like mediainfo (CLI version) or
mediainfo-gui


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2020-02-19 11:30:29

mayagamer
Member
Registered: 2020-02-18
Posts: 18

Re: [SOLVED] Playing video with no picture

gst-plugins-bad was already installed. I tried to install gst-libav, and it works, yeah!!! Thank you all!

Offline

Board footer

Powered by FluxBB