Hello everybody,
I am looking for some pointers here to get ffplay working on my Raspberry pi B.
Whenever I try to play a video, I get an error
error: XDG_RUNTIME_DIR not set in the environment.
Could not initialize SDL - No available video device
(Did you set the DISPLAY variable?)
I tried exporting DISPLAY=:0 but it didn't help.
Here is the list of files in my /dev directory:
agpgart loop110 loop6 ram4 tty36
atibm loop111 loop60 ram5 tty37
audio loop112 loop61 ram6 tty38
autofs loop113 loop62 ram7 tty39
beep loop114 loop63 ram8 tty4
block/ loop115 loop64 ram9 tty40
bus/ loop116 loop65 random tty41
cachefiles loop117 loop66 raw/ tty42
char/ loop118 loop67 rfkill tty43
console loop119 loop68 sda tty44
core loop12 loop69 sda1 tty45
disk/ loop120 loop7 sda2 tty46
dma_heap/ loop121 loop70 sda3 tty47
fb0 loop122 loop71 sda4 tty48
fd loop123 loop72 sda5 tty49
fd0 loop124 loop73 sda6 tty5
fd0D360 loop13 loop74 sda7 tty50
fd0D720 loop14 loop75 sda8 tty51
fd0H1440 loop15 loop76 sda9 tty52
fd0H1722 loop16 loop77 sdb tty53
flash loop17 loop78 sdb1 tty54
full loop18 loop79 sdb2 tty55
gpiochip0 loop19 loop8 sdb3 tty56
gpiomem loop2 loop80 sdb4 tty57
hda loop20 loop81 sdb5 tty58
hda1 loop21 loop82 sdb6 tty59
hda2 loop22 loop83 sdb7 tty6
hda3 loop23 loop84 sdb8 tty60
hda4 loop24 loop85 sdb9 tty61
hda5 loop25 loop86 shm/ tty62
hda6 loop26 loop87 snd/ tty63
hda7 loop27 loop88 sr0 tty7
hda8 loop28 loop89 sr1 tty8
hda9 loop29 loop9 stderr tty9
hdb loop3 loop90 stdin ttyAMA0
hdb1 loop30 loop91 stdout ttyS0
hdb2 loop31 loop92 tty ttyprintk
hdb3 loop32 loop93 tty0 urandom
hdb4 loop33 loop94 tty1 usb/
hdb5 loop34 loop95 tty10 vc-mem
hdb6 loop35 loop96 tty11 vchiq
hdb7 loop36 loop97 tty12 vcio
hdb8 loop37 loop98 tty13 vcs
hdb9 loop38 loop99 tty14 vcs0
hdc loop39 mem tty15 vcs1
hdd loop4 mmcblk0 tty16 vcs2
hwrng loop40 mmcblk0p1 tty17 vcs3
inportbm loop41 mmcblk0p2 tty18 vcs4
input/ loop42 net/ tty19 vcs5
kmem loop43 null tty2 vcs6
kmsg loop44 nvram tty20 vcs7
logibm loop45 port tty21 vcsa
loop-control loop46 ppp tty22 vcsa0
loop0 loop47 psaux tty23 vcsa1
loop1 loop48 ptmx tty24 vcsa2
loop10 loop49 pts/ tty25 vcsa3
loop100 loop5 ram tty26 vcsa4
loop101 loop50 ram0 tty27 vcsa5
loop102 loop51 ram1 tty28 vcsa6
loop103 loop52 ram10 tty29 vcsa7
loop104 loop53 ram11 tty3 vcsu
loop105 loop54 ram12 tty30 vcsu1
loop106 loop55 ram13 tty31 watchdog
loop107 loop56 ram14 tty32 watchdog0
loop108 loop57 ram15 tty33 zero
loop109 loop58 ram2 tty34 zram0
loop11 loop59 ram3 tty35
Dmesg says display is available
tc@box:~$ dmesg | grep disp
[ 2.747435] bcm2708_fb soc:fb: FB found 1 display(s)
[ 2.810608] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1824x984
Not sure what has gone wrong. Kindly help