PDA

View Full Version : skip & ffwd does not work on movies



johnvk
2007-03-03, 10:17 PM
Hi Martin,

Some other observations with alpha dongle 02-03-2007 & GBPVR 99.5
Have a D-type MVP (europe model, i.e. with scart).
Audio/video setting are set to PAL.

1) When playing a recorded movie, I am not able to fast forward : skip (>| button on 45-remote) & ffwd (>> button on 45-remote) do not work. Ffwd is config'd in GBPVR to short skips.

2) When playing a recorded movie, on the bottom of the screen, some greenish blocks are playing around. Looks like the MVP is not able to keep up with the speed of refreshing the screen. When playing with the Hauppauge dongle, the video plays flawlessy.

Hope these observations helps to improve the mvpmc-dongle

John

mvallevand
2007-03-03, 11:18 PM
Hi Martin,

Some other observations with alpha dongle 02-03-2007 & GBPVR 99.5
Have a D-type MVP (europe model, i.e. with scart).
Audio/video setting are set to PAL.

1) When playing a recorded movie, I am not able to fast forward : skip (>| button on 45-remote) & ffwd (>> button on 45-remote) do not work. Ffwd is config'd in GBPVR to short skips.


Thanks again John. I've never even tried short skips because my original smal group of gbpvr alpha testers, who really helped me get through some growing pains, told me it wasn't stable with gbpvr so they didn't use it. Now that I've cleaned up many other things it is time to try and emulate this too.


2) When playing a recorded movie, on the bottom of the screen, some greenish blocks are playing around. Looks like the MVP is not able to keep up with the speed of refreshing the screen. When playing with the Hauppauge dongle, the video plays flawlessy.


This sounds like pal problems. If you add the -m pal option that I talked about on the previous email, or select pal from the mvpmc main menu Setup menu, I'm hoping this will go away. This isn't supposed to be necessary if you've ever updated your mvp with the Hauppauge software but tkgafs also indicated that mvpmc didn't auto detect pal for him even though flash was showed that it was.

Martin

mvallevand
2007-03-04, 12:41 AM
1) When playing a recorded movie, I am not able to fast forward : skip (>| button on 45-remote) & ffwd (>> button on 45-remote) do not work. Ffwd is config'd in GBPVR to short skips.


As a followup what kind of file are you talking here,? I don't have a lot of samples but all the MPEG2 high bit-rate, including YouTube downloads do seem to ff/rw/skip.

Martin

johnvk
2007-03-04, 10:12 AM
I've never even tried short skips because my original smal group of gbpvr alpha testers, who really helped me get through some growing pains, told me it wasn't stable with gbpvr so they didn't use it. Now that I've cleaned up many other things it is time to try and emulate this too.

Glad to contribute.
The issue appears on previously recorded TV-programs. However, only with older shows, i.e. with older PVR-150 drivers. On recent shows, the ffwd and skip work fine. BUT, with the Hauppauge dongle, ffwd and skip works always; even on the shows which have difficulties with the mvpmv-dongle.



This sounds like pal problems. If you add the -m pal option that I talked about on the previous email, or select pal from the mvpmc main menu Setup menu, I'm hoping this will go away.

See previous post. Adding -m pal to the config file solved the issue. Select PAL from Setup-menu does not.

mvallevand
2007-03-04, 02:00 PM
The issue appears on previously recorded TV-programs. However, only with older shows, i.e. with older PVR-150 drivers. On recent shows, the ffwd and skip work fine. BUT, with the Hauppauge dongle, ffwd and skip works always; even on the shows which have difficulties with the mvpmv-dongle.


Its going to be tough since I"m not sure if I have any mpeg 2's that fail, I will see if any mpeg-1's around that skip with gbpvr.

You could help here if you want to move to advanced telnet use. One my page I keep a debug mvpmc executable that has some debug logging turned on. You could place this in your mvpmc share with your config file and you could load it instead of the dongle's version with /etc/mvpmc/mvpmc instead of mvpmc

I would be interested in seeing the logs from when you hit the remote key. The screen captured clipboard text should be fine. putty is a great free telnet client for windows and it even lets you capture the session as well as a whole lot more Highly recommended. Alternatively you could redirect the mvpmc log to a file on your pc but that takes creating a rw share. If you want to try this let me know.

Thanks,

Martin

johnvk
2007-03-04, 02:33 PM
Hi Martin,

I am happy to help. Although I am not a total rookie on telnet & unix commands, it has been a while....

The dongle.bin.config file is located on a rw-file share on the server. If you tell me how to redirect the logging over there. No problem.

I notice that /etc/mvpmc is actually the "mvpmc" share on the server; but mounted read-only.

Show me where I can find your debug version. Currently I am using your alpha version dated 2-March-2007

John

mvallevand
2007-03-04, 02:46 PM
Hi Martin,

I am happy to help. Although I am not a total rookie on telnet & unix commands, it has been a while....

The dongle.bin.config file is located on a rw-file share on the server. If you tell me how to redirect the logging over there. No problem.

I notice that /etc/mvpmc is actually the "mvpmc" share on the server; but mounted read-only.

Show me where I can find your debug version. Currently I am using your alpha version dated 2-March-2007

John

Thanks John, the file is http://www.mvpmc.org/~mvallevand/mvpmc.zip

to mount the share rw

umount /etc/mvpmc
mount.cifs //yourshareip/mvpmc /etc/mvpmc -o username=guest,password=guest,rw

You can add these to your config file if you figure on doing this often

For the redirect just add the following to the command line inlcuding the greater then sign

> /etc/mvpmc/filename.txt


Martin

johnvk
2007-03-04, 03:06 PM
Thanks John, the file is http://www.mvpmc.org/~mvallevand/mvpmc



ehh, how do I download that file :o
Simply clicking the URL will opens the file in my browser.
I feel sooo dumb...

dljones8053
2007-03-04, 03:22 PM
Right-click on file Save Link As for Firefox, if using IE Save Target As

mvallevand
2007-03-04, 03:36 PM
ehh, how do I download that file :o
Simply clicking the URL will opens the file in my browser.
I feel sooo dumb...

No, this was my mistake I'm so used to downloading files via the command line, I forget about doing it directly from email.

I've zipped it up it saves bandwidth all around.

Martin.

johnvk
2007-03-04, 03:40 PM
Right-click on file Save Link As for Firefox, if using IE Save Target As

Yep. I was confused since the save-as window pre-filled the filename as "mvpmc.htm"....

Attached the log-file, though I think it is of less value since I noticed that there was no menu option "emulate", so I was not able to start the MVP as a GBPVR-client. Playing the erroneus file from the file-system natively in mvpmc works fine; including ffwd & skip.

John

mvallevand
2007-03-04, 03:51 PM
Free NAS Server Software works great with GBPVR 100mb connecton

I'm looking at an alternate method of finding the dongle.bin.config file on a NAS. If you are interested you can telnet to you mvp, enter

nbtscan "the ip of your mvp"/24

If your freenas server's ip shows up I will attempt to use this share after the gbpvr share fails.

Martin

mvallevand
2007-03-04, 03:58 PM
Yep. I was confused since the save-as window pre-filled the filename as "mvpmc.htm"....

Attached the log-file, though I think it is of less value since I noticed that there was no menu option "emulate", so I was not able to start the MVP as a GBPVR-client. Playing the erroneus file from the file-system natively in mvpmc works fine; including ffwd & skip.

John

Sorry between

/etc/mvpmc/mvpmc and > /etc/mvpmc/logfile.txt you need to add whatever command line options you need.

Native mpeg playing in mvpmc is pretty solid even with bad time codes. Navigation is different though it doesn't use any gbpvr settings. One key that you might want to hit during playback is the menu key. I'm thinking of adding this to emulation mode.

Martin

johnvk
2007-03-04, 05:26 PM
Hi Martin,

Attached the log file. After adding the command line options, indeed emulation started and the video file did not respond to skip, ffwd etc.
Hope the log-file helps. If anything else is needed, just let me know.


John

bofh
2007-03-04, 05:35 PM
Hello,

I gave the dongle another try today. Downloaded the 20070304 version from http://mvpmc.org.

LiveTV
- was able to watch live tv.
- pause worked
- mute and volume controls worked
- Unable to bring up the guide
- stop/back/exit worked as expected

Recordings
- pause works most of the time
- ff/rw/skip all fail to work (not even once)

Video Library
- transcoding a DIVX file, on startup of the transcoding gbpvr has a delay, the MVP shows the previous video until data is streamed. (minor nit)
- ff/rw work as expected with OSD "Forward", "Rewind"
- skip to the end of the transcoding paused the video properly and started up again once there was new data to be streamed

I looked at the logs and they don't show anything other than the socket disconnects so I didn't bother posting the logs.

Is there a difference in the way the transcoded MPEG2 and the Recordings MPEG2 is streamed to cause problems with the ff/rw keys?

bofh
2007-03-04, 06:51 PM
Recordings
- pause works most of the time
- ff/rw/skip all fail to work (not even once)

I played with the dongle a little more. I hope it will provide some clues as to what is happening.

Started up a recording. Let it play for a little while then tried the ff/rw/skip keys. This time it did work as expected.

Could it have to do with the caching of the stream? It would explain why the transcoded divx worked since there is an automatic delay for the transcoding to begin.

After skipping around the recording, I hit stop. It came back to the start up menu instead of GBPVR. Hit Emulation, brought up GBPVR briefly then went back to the main menu. Waited a few seconds, hit Emulation, this time it stayed on the GBPVR menu.

Is there anything you want me to do to get you the logs that you may need?

mvallevand
2007-03-04, 07:31 PM
Hi Martin,

Attached the log file. After adding the command line options, indeed emulation started and the video file did not respond to skip, ffwd etc.
Hope the log-file helps. If anything else is needed, just let me know.


John
Thank, John, nothing for now but I think this is a good start
one line especially

bps 16873 length -1753350208

shows that I do have a problem somewhere with larger files greater than 2,147,483,648 bytes.

Martin

mvallevand
2007-03-04, 07:35 PM
Could it have to do with the caching of the stream? It would explain why the transcoded divx worked since there is an automatic delay for the transcoding to begin.

I don't think its the cache because mvpmc doesn't know the difference as long as gbpvr can deliver the stream, and mvpmc can take up to 13Mb/s
It could be the file size issue because it starts off small and grows.



- Unable to bring up the guide

Do you mean the mini-guide with the green key? This hasn't been a problem for me.

Added: I think I know what you mean now, the mvpmc GUIDE key wasn't mapped to a Hauppauge key, it will be in my next update.



After skipping around the recording, I hit stop. It came back to the start up menu instead of GBPVR. Hit Emulation, brought up GBPVR briefly then went back to the main menu. Waited a few seconds, hit Emulation, this time it stayed on the GBPVR menu.

Some of these are too be expected I would like to see a log of the second scenario where gbpvr comes up briefly and then socket closes. That is new.

Thanks everyone.

Martin

mvallevand
2007-03-05, 12:44 AM
Hi Martin,

Attached the log file. After adding the command line options, indeed emulation started and the video file did not respond to skip, ffwd etc.
Hope the log-file helps. If anything else is needed, just let me know.


John, I've got another binary mvpmc file I'd like you to try and I'd like to see the logs for AIRCRA~4.MPG to see if I'm on the right track. I want to see if the length shows correctly.

http://www.mvpmc.org/~mvallevand/mvpmc.zip

If that works, pause will probably work and some other function might too.

Martin

johnvk
2007-03-05, 09:59 AM
Hi Martin,

Thanks for the prompt response. Will try this evening (i.e. in 9 hours time)

John

mvallevand
2007-03-05, 01:13 PM
Hi Martin,

Thanks for the prompt response. Will try this evening (i.e. in 9 hours time)

John
Thanks, and I'll do the same (from now). I woke up releasing the fix won't be good for files over about 6.5GB, hopefully that's not an issue.

Martin

johnvk
2007-03-05, 06:18 PM
Hi Martin,

Seems that you're on the right track. Ffwd, skip, rwd etc work fine.

Noticed however another strange thing. Hitting the pause-button stopped playing the video, but the OSD with playing time continued for 2-3 seconds; after which emulation-mode stopped and I went up in the top level menu of mvpmc.

Starting GBPVR again looked fine; BUT, I did not succeed in playing another video. GBPVR was not responding to any key.

Log-file of the whole session is attached. Hope it gives you some clues.


Thanks, and I'll do the same (from now). I woke up releasing the fix won't be good for files over about 6.5GB, hopefully that's not an issue.

Well; you're getting close. The largest file is a recording in my collection is 6,1 Gb :)

John

mvallevand
2007-03-05, 11:24 PM
Seems that you're on the right track. Ffwd, skip, rwd etc work fine.
Log-file of the whole session is attached. Hope it gives you some clues.

Great thanks. I've uploaded a new dongle but returning from ff/rw is broken right now, and I'll always keep an mvpmc.zip with debug info for those that want to help out.


Noticed however another strange thing. Hitting the pause-button stopped playing the video, but the OSD with playing time continued for 2-3 seconds; after which emulation-mode stopped and I went up in the top level menu of mvpmc.

I have seen this but I have not figured out what I need to do to stop it. The OSD display indicates that GBPVR received the pause, so in theory is shouldn't be sendng time changes.


Starting GBPVR again looked fine; BUT, I did not succeed in playing another video. GBPVR was not responding to any key.

Looks like I still have to do more to clean up after a crash. Until then a remote control power off should do the trick. In case you aren't make sure you use the gbpvr autostart server option for the MVP to make sure gbpvr cleans itself up.


Well; you're getting close. The largest file is a recording in my collection is 6,1 Gb :)

I will need a file larger then 4.3GB tested with the next dongle if you have chance, that is the next problem threshold.

Martin

johnvk
2007-03-06, 07:06 AM
I've uploaded a new dongle but returning from ff/rw is broken right now, and I'll always keep an mvpmc.zip with debug info for those that want to help out.

I will need a file larger then 4.3GB tested with the next dongle if you have chance, that is the next problem threshold.


Great. Will give it a try this evening with the new debug-version and a file > 4.3 GB. Log file will be posted again.

John

OscarL
2007-03-06, 09:02 PM
Hi,
Can confirm that the problem I had with skips and pause now is ok with the latest alpha. Great work!!
Regards
Oscar

mvallevand
2007-03-07, 04:37 AM
Hi,
Can confirm that the problem I had with skips and pause now is ok with the latest alpha. Great work!!
Regards
Oscar

Thanks, I thought it was a related problem, and once I got the alpha working better I was going to suggest you try it. I am still not happy with the current alpha as I didn't implement the fix for larger files well or my assumption of how Hauppuage did it turned out to be wrong, and I have to revisit some things.
This is going to take a few days.

Martin

johnvk
2007-03-07, 06:59 PM
Hi Martin,

Sorry it took a day, but the wife kept me busy doing other things.
Indeed fdw / skip etc seemed to be fixed. Tried with your alpha dated 7-Mar-2007.

Noticed still that after stopping playing a large file (see attached log file); I get kicked out of emulation mode. Starting GBPVR again, I am able to play video.

Hope the logs are helpfull. Keep up the good work.
If you need things to be tried; let me know. Happy to assist.

John

mvallevand
2007-03-08, 12:08 AM
Hi Martin,

Sorry it took a day, but the wife kept me busy doing other things.
Indeed fdw / skip etc seemed to be fixed. Tried with your alpha dated 7-Mar-2007.

Noticed still that after stopping playing a large file (see attached log file); I get kicked out of emulation mode. Starting GBPVR again, I am able to play video.

Hope the logs are helpfull. Keep up the good work.
If you need things to be tried; let me know. Happy to assist.

John

Thanks John, I'm actually glad you missed the March 5th alpha. I found one of my errors

bps 13127 length 70473652160 dropoff 5000000

My bet is that the length of ABRIDG~1.MPG is really 6,049,142,720. My logic was off by a one byte.

Martin

johnvk
2007-03-08, 07:08 AM
My bet is that the length of ABRIDG~1.MPG is really 6,049,142,720. My logic was off by a one byte.


Did not count the bytes myself, but yeah, I guess that's about the size :D

John