jamesh wrote: ↑Wed Dec 11, 2019 11:25 am
You don't need a Pi4 to playback H264, you could use a $5 Pi0.....you already spent more than in time asking your questions on here, so if the real problem is money that might be a good route.
Yeah, Pi0 would be a cheaper option, but it doesn't have 2 HDMIs, right? (again, completely new to this)
Also, there's a place we really trust to buy our equipment close by, and they only carry pi3 and pi4, with a small difference in price, so that's why we decided to invest a tiny bit extra on the 4 and potentially avoid having to buy 2...
In any case, I'm sure we'll be re-using the Raspberries a lot, so not a waste to have gotten the 4, I hope!
But thanks for the reply! :3
As to
6by9 wrote: ↑Wed Dec 11, 2019 12:26 pm
Code: Select all
omxplayer --no-keys --display=2 foo.mov & omxplayer --display=7 bar.mkv
Tried that too. Not much luck.
To this, I get:
Code: Select all
[1] 978
Video codec omx-264 width 1440 height 1080 profile 77 fps 25.000000
Video codec omx-264 width 1440 height 1080 profile 77 fps 25.000000
Have a nice day ;)
Have a nice day ;)
[1]+ Exit 1 omxplayer --no-keys --display=2 video2.mp4
As far as I understand, the "--no-keys" thing is to make omxplayer non-responsive to any keys pressed, so that I would not be able to command that instance of omxplayer, and be completely free to control the second one, right?
So I tried a few other things, to see if that would work:
1:
Tried letting the --no-keys playing while typing in the command for the second screen
Code: Select all
omxplayer --no-keys --display=2 video1.mp4
Video1 plays on screen 1 while I am free to type whatever I want on the Terminal. So I quickly add:
This results in video1 playing on screen1 all the way and ONCE IT'S FINISHED, video2 on screen2
So I decided to add "&" at the end of step1:
Code: Select all
omxplayer --no-keys --display=2 video1.mp4 &
Video1 starts on screen1, I add:
and all I get is an added
straight away.
I tried all of the above with "--no-keys" on the second step too, same results. The only difference is that I can't stop the video before it finishes on its own. If I use "\" to try to activate both commands at the same time but in different lines, I get the same results as doing it all in one single line.
:c
Starting to feel like we're gonna need that second Raspberry anyways.
I keep having people replying that "Oh, Raspberry 4 can DEFINITELY do that!" and no one seems to reply HOW, so I don't know if there's a myth about it or if real people actually get to make it work
GowInTheDark mentioned being able to get it to work
GlowInTheDark wrote: ↑Fri Dec 06, 2019 1:38 pm
I *was* able to get it to work (sort of, see below) via:
$ xterm -e omxplayer Video1.mp4 & sleep 5;omxplayer --display=7 Video2.mp4
but I can't reproduce that or figure out what am I doing wrong...
the "$" is already in the command line in terminal, so I assumed I shouldn't type it, since typing it results in
So I tried to skip it and go straight for
Code: Select all
xterm -e omxplayer Video1.mp4 & sleep 5;omxplayer --display=7 Video2.mp4
which results in
and then video2 playing on screen2...
I'm sure I'm doing something wrong there, just can't figure out what :c
Anyways, thanks once again for all the help, everyone!
ʕ •ᴥ•ʔ