Yes I have the same problem with skipping; sometimes it works fine, others the picture and sound freeze and only a 'kill -9' will regain control. I've been waiting for a chance to create a good log file showing the problem.
Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
12:21:34.893190 [debug] 1993 Video - Setting aspect to 0
12:21:34.893804 [notice] 1993 Video - Found native mode 1280x720 60 Hz i: 0
12:21:34.894017 [notice] 1993 Video - Found native mode 1280x720 50 Hz i: 0
12:21:34.894141 [notice] 1993 Video - Found close to optimum mode 1920x1080 50 Hz i: 1
12:21:34.894262 [notice] 1993 Video - Found optimum mode 1920x1080 50 Hz i: 0
12:21:34.894431 [notice] 1993 Video - Switch to optimum mode
+ //Now first determine native resolution
+ int native_width=1920;
+ int native_height=1080;
+ for (int i=0;i<all_my_modes;i++) {
+ if (all_supp_modes[i].native) {
+ mymode=all_supp_modes+i;
+ Log::getInstance()->log("Video", Log::NOTICE, "Found native mode %dx%d %d Hz i: %d",
+ mymode->width,mymode->height,mymode->frame_rate,mymode->scan_mode);
+ }
+
+ }
Quote from: MartenR on September 19, 2012, 07:01:13Yes that works OK for me. Many thanks.
Please try current git. Should be fixed.
diff --git a/player.cc b/player.cc
index 1650ed4..494d199 100644
--- a/player.cc
+++ b/player.cc
@@ -33,6 +33,7 @@
#include "osdreceiver.h"
#define USER_RESPONSE_TIME 500 // Milliseconds
+#define OMX_BUFFER_SECONDS 6.0 // Float seconds
// ----------------------------------- Called from outside, one offs or info funcs
@@ -418,6 +419,9 @@ void Player::skipForward(int seconds)
ULONG newFrame = getCurrentFrameNum();
if (newFrame == 0) { unLock(); return; } // Current pos from demuxer is not valid
newFrame +=(ULONG) (((double)seconds) * fps);
+#ifdef VOMP_PLATTFORM_RASPBERRY
+ newFrame -=(ULONG) (((double)OMX_BUFFER_SECONDS) * fps);
+#endif
if (newFrame > lengthFrames) { switchState(S_PLAY); unLock(); }
else switchState(S_JUMP, newFrame);
// unLock(); - let thread unlock this
@@ -430,6 +434,9 @@ void Player::skipBackward(int seconds)
long newFrame = getCurrentFrameNum();
if (newFrame == 0) { unLock(); return; } // Current pos from demuxer is not valid
newFrame -= (ULONG) (((double)seconds) * fps);
+#ifdef VOMP_PLATTFORM_RASPBERRY
+ newFrame -=(ULONG) (((double)OMX_BUFFER_SECONDS) * fps);
+#endif
if (newFrame < 0) newFrame = 0;
switchState(S_JUMP, newFrame);
// unLock(); - let thread unlock this
diff --git a/vwelcome.cc b/vwelcome.cc
index cb88da6..dad013a 100644
--- a/vwelcome.cc
+++ b/vwelcome.cc
@@ -189,6 +189,7 @@ int VWelcome::handleCommand(int command)
case Remote::SEVEN:
{
Command::getInstance()->doReboot();
+ return 2;
}
case Remote::OK:
{
QuoteI made a little change to the recording playback.
Now you can also use the arrow keys for:
up=play
down=pause
right=fast forward
left= fast backward
I hope this enough for your remote to use all functions of the recording playback.
Quote from: clausmuus on September 11, 2012, 12:20:54
Hi davep,
is it possible for you, to test this image http://www.minidvblinux.de/download.php?file=3.0.1-rpi//MLD-3.0.1-rpi_vomp-client-2012.09.10_48.tgz again your vdr server?
Claus
Quote
Just for reference, my current todo list (subject to change):
1) Add ac3 passthrough mode and fix audio playback on certain channels (e.g. mono is broken).
2) Handle video mode switch e.g. setting to PAL 50 Hz video modes and handle switching of hdmi and composite, if a connectors is plugged in. Switching video and audio off.
3) Rewrite OSD and surface class to be vector based and to use OpenVG.