Skip to content

Commit

Permalink
Add sample video file. Fix drivers problems and update README file with
Browse files Browse the repository at this point in the history
instructions.
  • Loading branch information
rambod-rahmani committed Oct 25, 2019
1 parent abee853 commit edf7749
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
Binary file added Iron_Man-Trailer_HD.mp4
Binary file not shown.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,23 @@ e.g: ./tutorial01 /home/rambodrahmani/Videos/Labrinth-Jealous.mp4 200
[rambodrahmani@rr-workstation cmake-build-debug]$ cd ..
[rambodrahmani@rr-workstation ffmpeg-video-player]$
```
# Major opcode of failed request: 151 (GLX)
In case you end up having this error when trying to execute one of the
tutorials, then refer to the `Tearing` section below.

# Major opcode of failed request: 152 (GLX)
In case you end up having this error when trying to execute one of the
tutorials, then you are probabily have nvidia drivers installed on your system
with no NVIDIA Hardware. To check if this is the case, just run
```
pacman -Qs nvidia
```
if you find, among the other packages, the ```nvidia-340xx-utils``` and no
NVIDIA hardware in your machine, then you have to remove it
```
sudo pacman -R nvidia-340xx-utils
```
and reboot.

# Tearing
Starting from tutorial03 and noticed some screen tearing happening when playing
Expand Down Expand Up @@ -121,6 +138,7 @@ Section "Device"
Option "TearFree" "true"
EndSection
```
and reboot.

# An FFmpeg and SDL Tutorial

Expand Down
5 changes: 2 additions & 3 deletions player/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ The main difference with the original FFplay lies in the fact that I did my best
in order to avoid deprecated APIs (both as far as it concerns FFmpeg and SDL).
Additionally, while the Ffplay uses SDL, this fork uses SDL2.

As you can see, two version of the player are provided: **player-sdl.c**, as I
said, is the SDL2 based fork of FFplay, while **player-glfw.c** uses GLFW
instead of SDL2.
As you can see, two version of the player are provided: **player-sdl2.c** is the
SDL2 based fork of FFplay, while **player-glfw.c** uses GLFW instead of SDL2.

Binary file added screenshots/2019-10-25-200143_1366x768_scrot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit edf7749

Please sign in to comment.