TechnicalPi faced

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Manthorp  
 To:  ALL
41761.1 
Eyup all.  I'm trying run a video on a tft screen on a Pi running Raspbian.  I've installed omxplayer, but that outputs by default to HDMI.  I've installed fbcp to copy the signal from fb0 to fb1, but as soon as I run fbcp with the command:
Code: 
fbcp &
 
What appears to be a screenshot of the raspian boot screen occupies the screen and can't be closed.  Does anyone know what's going on?  And how I can stop it going on?

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  Manthorp  
 To:  Manthorp     
41761.2 In reply to 41761.1 
Problem solved: I used mplayer instead, which recognises the screen. *\o/*

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Manthorp     
41761.3 In reply to 41761.1 
Have you tried mplayer? I think that will recognise the screen you have.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.
0/0
 Reply   Quote More 

 From:  Serg (NUKKLEAR)  
 To:  Manthorp     
41761.4 In reply to 41761.1 
I don't have a RaspberriPi, however I know some have had success in the past by slightly increasing the AGP voltage. Have you tried that?
[...Insert Brain Here...]
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Serg (NUKKLEAR)     
41761.5 In reply to 41761.4 
I still use an AGP card, you insensitive clod. :C
electric eels can leap out of water and shock you
0/0
 Reply   Quote More 

 From:  Manthorp  
 To:  ALL
41761.6 
You're all such tremendous help.  Bugger, don't get blue font in quick reply.

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951

0/0
 Reply   Quote More 

 From:  Manthorp  
 To:  Manthorp     
41761.7 In reply to 41761.6 
But while I have your collective attention, there's another little issue arisen.  I want the Pi to launch directly into mplayer looping the video file fullscreen.  In LXTerminal it runs as I want it to if I enter
Code: 
mplayer -fs LizardPorn.mp4 -loop 0
I thought all I had to do to run it at boot was to add it at the end of /etc/rc.local , but that doesn't work. Any ideas why not, and how to fix it?

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Manthorp     
41761.8 In reply to 41761.7 
Gotta link to LizardPorn.mp4 ?
electric eels can leap out of water and shock you
+1/1
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Manthorp     
41761.9 In reply to 41761.7 
I think it's because rc.local does things in the background. Whereas when you're logged in and doing it manually you're very much in the foreground.

Try this :
DISPLAY=":0" mplayer -fs LizardPorn.mp4 -loop 0

Though display number might be wrong because you're not on the default, fiddle with that yj

Or try some sort of autologin (which I think you did with the lonely project)
+1/1
 Reply   Quote More 

 From:  Manthorp  
 To:  ANT_THOMAS     
41761.10 In reply to 41761.9 
Thanks Ant.  I also wondered whether the command would fare better in the bashrc script?  I don't know what the difference is between the two.

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  Manthorp     
41761.11 In reply to 41761.2 
Does mplayer play music files? Might be the solution for my little project... (I'll do some ing laterf
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  graphitone     
41761.12 In reply to 41761.11 
Bastard phone. :((
0/0
 Reply   Quote More 

 From:  Manthorp  
 To:  graphitone     
41761.13 In reply to 41761.11 
Yes, it does.

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  Manthorp     
41761.14 In reply to 41761.13 
Grand - I didn't have time to do much googling about it last night, but it looks like it supports a touchscreen interface - do you know if it supports the small screens out of the box with an appropriate small screen GUI?
0/0
 Reply   Quote More 

 From:  Manthorp  
 To:  graphitone     
41761.15 In reply to 41761.14 
Mine was a generic 3.2 incher, John, but it worked fine with Waveform's Raspbian image here, or you could just install the driver on the same page.

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  Manthorp     
41761.16 In reply to 41761.15 
I've been experimenting with a version of Jessie lite (the newer version of Raspbian custom packaged from adafruit with their drivers built in), which has been working well with the screen. I just need a small screen GUI for an MP3 player to go with it.

I've been checking out a few more guides, searching less specific criteria and found this guide where the dude has XBMC running on a (albeit larger) touchscreen in his car. I've not read through the whole thing properly yet, but I'll hopefully be able to cobble something together from his guide tonight. 
0/0
 Reply   Quote More 

 From:  Manthorp  
 To:  graphitone     
41761.17 In reply to 41761.16 
The image I linked to does a good job of forcing the GUI to 320x240.  It would be funkier still if I could force windows to a similar size.

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

Reply to All    
 

1–17

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats