P.S. The sound module is working and I have sound when playing mp3 songs with the moc player.
Thanks in advance.
alexeames wrote:See here on the previous page Dom helped me with this issue. If you'll pardon the pun it was very sound advice![]()
viewtopic.php?p=80598#p80598
type omxplayer -h to see the command line arguments
(-o might be the one you want to look at)
marcelh18 wrote:Now I have another question. How can I change the sound volume while the video is playing?
alexeames wrote:marcelh18 wrote:Now I have another question. How can I change the sound volume while the video is playing?
TV remote?
alexeames wrote:Google for omxplayer.cpp you'll find it on github.
Line 456 onwards describe various keyboard functions.
case 'j' and case 'k' might be of interest? Although I'm not very sure about that. Best i can do. I told you remote control because I know it works
[matroska,webm @ 0x17947c0] max_analyze_duration 0 reached at 0
file : test.mkv reult 0 format matroska,webm audio streams 2 video streams 1 chapters 0 subtitles 3
Video codec omx-h264 width 1920 height 1080 profile 100 fps 23.976025
have a nice day ;)
[matroska,webm @ 0x8ff740] max_analyze_duration 0 reached at 0
file : test.mkv reult 0 format matroska,webm audio streams 2 video streams 1 chapters 0 subtitles 3
Video codec omx-h264 width 1920 height 1080 profile 100 fps 23.976025
Audio codec ac3 channels 8 samplerate 48000 bitspersample 16
file : test.avi reult 22 format avi audio streams 1 video streams 1 chapters 0 subtitles 0
Video codec omx-mpeg4 width 576 height 432 profile 15 fps 25.000000
Audio codec mp3 channels 2 samplerate 48000 bitspersample 16
dom wrote:You should be able to blank console. Something like:
setterm -blank force && omxplayer <filename>
might do it (not tested).
# prevent screensaver from powering down display
setterm -blank 0 -powerdown 0 > /dev/tty0
# clear the display and turn off the flashing cursor
clear > /dev/tty0
setterm -cursor 0 > /dev/tty0
# turn the cursor back on when done with omxplayer
setterm -cursor 1 > /dev/tty0
dmf wrote:I managed to get videos to play from inside the gui with a custom command line(omxplayer -o hdmi %f), but once they are started I have no control.
And also if there is a space in the file name, multiple copies open at the same time and compete for dominance.
Musicalbudgie wrote:I have some mkv files with the subtitles contained in them. Pressing s doesn't seem to do anything.
-t / --sid index show subtitle with index-s / --stats pts and buffer stats