Both VLC and native player not working

New to Debian (Or Linux in general)? Ask your questions here!

Both VLC and native player not working

Postby Kraken2 » 2017-03-10 03:27

Hey guys!

I have troubles running both VLC and debian native video player. When I play a video with VLC, it goes black and white... It can be any videos. It always plays in black and white. And when I play a video on native video player it plays in forward mode... I mean wtf lol ? I don't know what I did; I have this problem since one year but usually not play videos so I didn't bother with it before. But now it's starting to piss me off so much :D

I tried to uninstall VLC and install it again but nothing changes..;

Thank you for your help
Kraken2
 
Posts: 5
Joined: 2017-03-10 03:20

Re: Both VLC and native player not working

Postby debiman » 2017-03-10 06:19

wtf lol, there's some important info missing from your post:

- does it happen with all videos? try different videos, see if a pattern emerges. are those webrips, dvds, youtube videos ... ?

- try one of the command line players, e.g. mplayer. it should spit out some output that should help us understand.
User avatar
debiman
 
Posts: 710
Joined: 2013-03-12 07:18

Re: Both VLC and native player not working

Postby Kraken2 » 2017-03-10 13:05

Hey :) Thanks for your answer;

It happens with absolutely every type of videos : vids downloaded from youtube, movies downloaded by torrent, .avi, .mpeg, .mp4, ... it's just insane..

VLC always plays the video in B&W and Totem plays it in colour but in forward mode.

I just installed mplayer and this is what I get when I play a video from a command line.

Code: Select all
debiandab@debianmachine:~$ mplayer '/home/debiandab/Bureau/TEST/Motivational short video - How to succeed - cartoon.mp4'
MPlayer svn r34540 (Debian), built with gcc-4.7 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/debiandab/Bureau/TEST/Motivational short video - How to succeed - cartoon.mp4.
libavformat version 53.21.1 (external)
Mismatching header version 53.19.0
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1280x720  24bpp  29.970 fps  958.8 kbps (117.0 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2016-08-27 20:03:06
Load subtitles in /home/debiandab/Bureau/TEST/
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.35.0 (external)
Mismatching header version 53.32.2
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 125.6 kbit/8.90% (ratio: 15699->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [gl_nosw] 1280x720 => 1280x720 Planar YV12
A:   8.2 V:   1.9 A-V:  6.316 ct:  0.157   0/  0 15% 79%  2.0% 50 0


           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:  55.6 V:  55.6 A-V:  0.080 ct:  3.989   0/  0 15% 46%  0.5% 482 0


Exiting... (End of file)


I'm using a VM on virtual box to run Debian on my mac. Is there any settings I should change in virtual box preferences or in debian itself to make it works ?

Regards
Kraken2
 
Posts: 5
Joined: 2017-03-10 03:20

Re: Both VLC and native player not working

Postby Segfault » 2017-03-10 13:59

You should install VirtualBox add-ons.
Segfault
 
Posts: 406
Joined: 2005-09-24 12:24

Re: Both VLC and native player not working

Postby stevepusser » 2017-03-10 14:06

That was critical missing information. Think about it--you have a video issue. VB abstracts the video to virtual hardware. Could the two possibly be related?

The answer is yes. XD
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Inkscape 0.92.1, Pale Moon 27.2.0, Liquorix kernel 4.9-18, mpv 0.24, Kodi 17.0, Shotwell 24.5, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 7960
Joined: 2009-10-06 05:53

Re: Both VLC and native player not working

Postby Segfault » 2017-03-10 14:15

stevepusser wrote:That was critical missing information. Think about it--you have a video issue. VB abstracts the video to virtual hardware. Could the two possibly be related?

The answer is yes. XD

Yes, couldn't agree more. Asking for assistance with video and not mentioning what [virtual?] video hardware is in use.

BTW, there is no such thing as "native debian player" either. Debian (Linux) has no GUI, one can play video on console using svgalib, but I'm not aware of any Linux that chips with default console video player.
Segfault
 
Posts: 406
Joined: 2005-09-24 12:24

Re: Both VLC and native player not working

Postby Kraken2 » 2017-03-10 14:41

Thank you so much guys :) That's why I posted it in the beginner forum ^^ If there was a newbie forum i would have posted it in it.

When I talk about the native player I mean "Totem" which I think is already installed with Debian.

I don"t have any problems running vids on this now, but VLC is still playing in B&W...

Any ideas to make it work ? I tried to uninstall it and install it again but nothing has changed.

Thank you again ^^
Kraken2
 
Posts: 5
Joined: 2017-03-10 03:20

Re: Both VLC and native player not working

Postby Segfault » 2017-03-10 14:52

Totem is not installed with Debian, I think it may come with Gnome.

I don"t have any problems running vids on this now, but VLC is still playing in B&W...

Does it mean you installed VBox add-ons or did you use some other voodoo? We are not there watching over your shoulder. Regarding VLC, what video output it is configured to use?
Segfault
 
Posts: 406
Joined: 2005-09-24 12:24

Re: Both VLC and native player not working

Postby Kraken2 » 2017-03-10 15:58

I updated virtual box and I installed what they called an "extension pack". Is it what you are talking about?

In VLC preferences, overlay is ticked and the output is the "standard" one.. I haven't changed anything. Which one should I use?
Kraken2
 
Posts: 5
Joined: 2017-03-10 03:20

Re: Both VLC and native player not working

Postby Kraken2 » 2017-03-10 16:00

Got it :) Had to be output X11 in my case.

Love you guys xx
Kraken2
 
Posts: 5
Joined: 2017-03-10 03:20

Re: Both VLC and native player not working

Postby stevepusser » 2017-03-10 18:15

We are talking about the "guest additions", which are a set of drivers for the guest which have to be compiled from source in the guest. Debian's own repository versions of the guest additions can make things simpler, but I'm going to go with the most general case here. The guest additions add accelerated video, a desktop that resizes with the window, and share folders, for instance.

1. Insert the virtual guest additions ISO into the guest, using the VB Devices menu.

2. Make sure you have all you need in Debian to build drivers. The easy way is to install module-assistant,
then in a terminal as root or with sudo, run
Code: Select all
m-a prepare


3. Navigate to the /media folder. Hopefully, the ISO will be mounted there, and you can enter its folder.

4. Once in the ISO's folder, open a terminal there, and as root or with sudo, run
Code: Select all
    sh ./VBoxLinuxAdditions.run


The .run file can also be copied to somewhere in your users home folder and the same terminal command run
on it there as root or with sudo. Either way, watch the output for any errors.

5. Reboot the guest, now the magic resizing desktop should be working after you get to a desktop. Depending on
how you set up your virtual machine's video acceleration and the host's video driver, you may have a
better video output available now in VLC and other players; look for something to do with GL.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Inkscape 0.92.1, Pale Moon 27.2.0, Liquorix kernel 4.9-18, mpv 0.24, Kodi 17.0, Shotwell 24.5, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 7960
Joined: 2009-10-06 05:53

Re: Both VLC and native player not working

Postby debiman » 2017-03-11 09:04

shorter answer:
learn to find the right resources to find solutions - in this case: https://www.virtualbox.org/
User avatar
debiman
 
Posts: 710
Joined: 2013-03-12 07:18


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable