Videos won't play?

@aworan I am trying to play the video with codec shown in OP. Should this play in Omxplayer by default ? Because I can't even get this video to open with it.

If I shift+right click -> open terminal here where the video is located and type:

omxplayer 0001.mpg

I get:

Any more info on this problem guys ? Any help is appreciatedā€¦thanks

Hi, when attempting to play a video using the command line tool all I get is the text: "have a nice day" ?

Am I doing something wrong ? I have also tried playing the video using the OMXPlayer GUI but only the gui opens with no video in it....

Thanks

Did you install the following package (Ctrl + Alt + t):

sudo apt-get install ubuntu-restricted-extras

Hi, yes I did but still no luckā€¦

Is it a problem with a particular video ?
Did you try to read anotherā€™s videos with omxplayer ? Does it work ?

Other videos also do not workā€¦Just says ā€œhave a nice day :)ā€ā€¦

It is strange, omxplayer works out the box.
You can try to build ffplay with hardware acceleration and try with it, I did a tutorial there : [Tutorial] - Build (or download) FFmpeg/libavcodec with MMAL support (hardware acceleration video decoding)
Give me feedback if you try.

I had my hopes up for omxplayer since I was really looking for a GUIā€¦I donā€™t even know what that error means exactlyā€¦

I manage to build vlc with hardware acceleration (OPENMAX IL)
I just publish my tutorial : [Tutorial] - Build (or download) VLC with hardware acceleration video decoding [OPENMAX-IL]
Maybe you can try it you will have an gui better than ffplay :wink:

What parts of the guide should I follow ? Because you added the line sudo make installā€¦?

Follow the first post of the topic I updated it :wink:

So I must also run the command:

ā€œsudo make installā€ after ā€œ./compileā€ ?

If you want VLC actually installed, yes you need to run sudo make install. If you donā€™t want VLC installed, then you can skip sudo make install, but then you have to run it from command line, or create your own menu item for it. So running sudo make install if probably what you want.

But vlc is already installed ?

Not until you sudo make install, unless you have the pre-compiled version that doesnā€™t have hardware support. If you have the old version of VLC installed, sudo make install will replace it with the new version that you just built.

Vlc is included in Ubuntu mate for the pi2ā€¦I guess Iā€™ll replace it thenā€¦

@aworan @Brian_Millham

Alright so I tried it out and here's my thoughts....

On the positive side, some of my videos (codec shown in original post) now work fine with VLC.

On the negative side:

  1. I have no problem with fullscreen however there are no video controls whatsoever which for me completely defeats what I wanted to do. (I can play these videos natively on my smart TV however my TV cannot skip ahead hence why I need a GUI with easy to use controls for the family).

  2. My other videos don't show any picture (not even the first frame), codec shown below:

  3. There are now VLC files all over my user folder (Can I delete them??) as well as a VLC folder in there. Originally VLC is in another program folder along with all the other programs keeping my user folder neat.

4) I have lost nearly 1GB of space !!!!

Is there anyway to revert the changes made as unfortunately the benefit of being able to only play and not easily control some videos (which my TV can already do) is not worth losing such a large amount of space.....??

You can

sudo make uninstall

to remove the new version. You would then have to

sudo apt-get install vlc

to install the official version again.

You can remove the vlc stuff from your home if you wish. If you will still want to experiment (if improvements are made to VLC) you might want to leave the vlc source around so you donā€™t have to download it again.

  1. there is no another solution for now.
    We can do better vlc or MPV with GUI when the kernel 4.4 will be out for pi with opengl driver.
    I think I can manage MPV with smplayer or bomi when it will be avaible.
    I think the best is use ffplay with hardware acceleration and use the shortcut keys until.
  2. I think there is a problem with your videos files. Are you sure they work on another x86 computer with vlc ?
  3. you can delete the files after sudo make install but
  4. if you want to revert sudo apt-get vlc