if i start the following command
omxplayer -o hdmi myfile.avi
=> it plays just fine in 1080 both video and audio, it's fantastic !!
then if I press [ESC] to quit. i return to the console as expected.
then if i start again the same command, it gives the very same ouput:
Code: Select all
pi@raspberrypi ~ $ omxplayer -o hdmi /home/pi/Desktop/myvideo.avi
Video codec omx-h264 width 1920 height 1080 profile 100 fps 30.000000
Audio codec pcm_s16le channels 2 samplerate 48000 bitspersample 16
Subtitle count: 0, state: off, index: 1, delay: 0Then if i press [CTRL+C] i get
Code: Select all
have a nice day ;)
pi@raspberrypi ~ $I have to reboot the rpi to be able to play the video, works only the first time.
i read in http://elinux.org/Omxplayer
that maybe i should use the following command
Code: Select all
xrefresh -display :0=> in that case the above commands seems to work, but i have the same behaviour with omxplayer
in case i configure rpi to start only the command line
then i get an error claiming the display :0 does not exist
and just the same omxplayer refuses to play video without throwing error
it seems something stupid
what am i doing wrong ?
