Code: Select all
pi@raspberrypi / $ omxplayer ellie.mp4
have a nice day ;)
Do I need to install codecs seperately for all formats ?
Code: Select all
pi@raspberrypi / $ omxplayer ellie.mp4
have a nice day ;)
Code: Select all
H264 - MPEG-4 AVC (part 10) (avc1)
?I want to play a video with xming on my pc
File is in the root, I dont think there is a problem about it.gkreidl wrote:According to the codec version it should work. Where is the video file in your file system?
And what do you mean by?I want to play a video with xming on my pc
I should have spotted this earlier but anyway what you're attempting is not possible.I want to play a video with xming on my pc
RASPBIAN. Yes, its up to date.redhawk wrote:I should have spotted this earlier but anyway what you're attempting is not possible.I want to play a video with xming on my pc
The video buffer isn't accessible by X11 so you cannot redirect omxplayer's screen only X11 apps can be redirected remotely with Xming.
That of course doesn't explain omxplayer's behaviour because it usually prints a load of info during playback i.e.
Video codec omx-h264 width 1280 height 720 profile 100 fps 24.000000
Audio codec aac channels 2 samplerate 44100 bitspersample 16
Subtitle count: 0, state: off, index: 1, delay: 0
What distro are you using, have you updated it recently??
Could you run the following and report back the results:
/opt/vc/bin/vcgencmd version
uname -a
Richard S.
Code: Select all
~ $ /opt/vc/bin/vcgencmd version
Aug 20 2014 22:50:27
Copyright (c) 2012 Broadcom
version daf2c8c0795066867ef863d938bbbcc7391f1b4a (tainted) (release)
Code: Select all
uname -a
Linux raspberrypi 3.12.26+ #704 PREEMPT Wed Aug 20 22:35:11 BST 2014 armv6l GNU/Linux
RPi is connected to my laptop with network cable.gkreidl wrote:Is the RPi connected to a monitor / TV?
Not necessarily true.gkreidl wrote:Then omxplayer cannot work. As already has been said, it doesn't use X and cannot be forwarded across the network. And it needs information about the video display which it doesn't get if no monitor is connected.
This test video is working with hdmi connected. But still my ellie.mp4 is not starting.redhawk wrote:What version of omxplayer are you using?? i.e. omxplayer --version
Despite the odd setup and lack of screen this shouldn't stop omxplayer running since no HDMI would mean the Pi uses Composite video output instead.
As for the LAN connection with the laptop it's possible the Pi doesn't have full internet access and so cannot play then Dailymotion videos.
What happens when you run omxplayer /opt/vc/src/hello_pi/hello_video/test.h264 ??
Richard S.
Code: Select all
omxplayer --version
omxplayer - Commandline multimedia player for the Raspberry Pi
Build date: Sat, 22 Mar 2014 20:58:15 +0000
Version : 39e6342 [master]
Repository: https://github.com/popcornmix/omxplayer.git
No way. All hardware accelerated players go directly to the video hardware (overlay) and so the videos can only be viewed on a monitor connected to the RPi. Copying the video back to the X-Windows framebuffer (and transferring that across the network in your case) would be so slow that it simply can't work.jimjamz wrote:What is the best way to watch video over SSH? Is there a player that supports X Window?
I have Xming installed and ran into the same error when trying to view a video using omxplayer.