NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Portal

Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,418
» Latest member: Thomas63ew32
» Forum threads: 65,341
» Forum posts: 602,647

Full Statistics

Online Users
There are currently 4627 online users.
» 0 Member(s) | 4621 Guest(s)
Applebot, Baidu, Bing, DuckDuckGo, Facebook, Google

Latest Threads
10 Best IPTV Service 2026...
Forum: General Discussion
Last Post: Thomas63ew32
2 hours ago
» Replies: 0
» Views: 11
JDVR - Android TV Client
Forum: NextPVR Other Clients
Last Post: boukmandutty
2 hours ago
» Replies: 10
» Views: 650
Unexpected error: System....
Forum: Windows
Last Post: williamsmith
Yesterday, 06:41 PM
» Replies: 2
» Views: 85
Sort Recordings by Episod...
Forum: Wishlist
Last Post: mvallevand
Yesterday, 02:39 PM
» Replies: 19
» Views: 1,657
Kodi AC-4 (GitHub) for Wi...
Forum: Kodi / XBMC
Last Post: ferrels
2026-11-13, 09:26 PM
» Replies: 18
» Views: 16,015
Upcoming NextEnd addon an...
Forum: Add-ons (3rd party plugins, utilities and skins)
Last Post: mvallevand
2026-11-12, 03:33 PM
» Replies: 5
» Views: 1,218
dfw ch 8 changes to abc 1...
Forum: Windows
Last Post: mvallevand
2026-11-11, 11:58 PM
» Replies: 1
» Views: 153
Using my Sky Q dish for F...
Forum: Hardware
Last Post: gEd
2026-11-11, 12:16 PM
» Replies: 48
» Views: 15,432
iptv-epg.org
Forum: Docker amd64
Last Post: mvallevand
2026-11-10, 06:44 PM
» Replies: 3
» Views: 179
.net 8 end of life today
Forum: NextPVR Support
Last Post: mvallevand
2026-11-10, 06:12 PM
» Replies: 1
» Views: 140

 
  Recording stopped mid-way
Posted by: pvruser - 2009-03-05, 03:44 AM - Forum: GB-PVR Support (legacy) - Replies (4)

For some reason a hour long recording (todat's Lost) stopped at 33:40 altought the status indicator was going on for the whole hour. there was a second recording at the same time overlapping the first 30 minutes (Rick Steve travels) that one turned out OK. the odd thing is that i see this in the logs:

Quote:2009-03-04 21:33:40.921 VERBOSE [10] Conversion thread configured for ASAP

which is the exact length of the file. but the signal monitoring continues till 22:02:

Quote:2009-03-04 22:01:59.359 VERBOSE [5] Checking signal status on Hauppauge HVR-950:2
2009-03-04 22:02:00.171 VERBOSE [5] Recording has passed endtime+padding. Stopping.
2009-03-04 22:02:00.171 VERBOSE [5] Stopping recording oid:2
2009-03-04 22:02:00.593 VERBOSE [5] Adding O:\temp\dvr\Lost\Lost_20090304_21002202.mpg to commercial detection queue
2009-03-04 22:02:00.593 VERBOSE [5] Adding O:\temp\dvr\Lost\Lost_20090304_21002202.mpg to conversion detection queue
2009-03-04 22:02:00.640 VERBOSE [5] Checking signal status on Hauppauge HVR-950:2
2009-03-04 22:02:00.640 VERBOSE [5] RecordingStatus is now RecordingStatus.RECORDING_COMPETED
2009-03-04 22:02:00.640 VERBOSE [5] RecordingFactory.save()
2009-03-04 22:02:00.734 VERBOSE [5] Save(): Updated existing scheduled recording

i'm scratching my head here...

Print this item

  zSnes doesn't accept commands from HIP
Posted by: mkenyon2 - 2009-03-05, 03:19 AM - Forum: GameZone - Replies (6)

Most of the other emulators do.

HIP is sending F2 and F4 to Save and Load the state (I have F2 (save) mapped to the record button and F4 (load) mapped to the Last button.)

Any thoughts or ideas? (I know it's not a Gamezone thing, but perhaps somebody ran into it.)

Print this item

  Pause / Record Not Working
Posted by: GFunk - 2009-03-05, 02:05 AM - Forum: GB-PVR Support (legacy) - Replies (2)

So I'm new to this software and I'm trying to setup my new HDHomeRun. I have LiveTV working just fine, but when I go to pause the feed it locks up and eventually dumps out to the main menu.

Additionally I can't record programs (manual recording). It will just create a 0 byte file. I assume I'm doing something wrong with codecs and whatnot, but I really have no idea what I'm doing.

Here's my log files:
[ATTACHMENT NOT FOUND]


Edit: I'm using

Video Decoder "ATI MPEG Video Decoder"
Audio Decoder "MPEG Audio Decoder"
AC3 Decoder "ffdshow Audio Decoder"

Everything else is default. The ffdshow thing I have no idea about, I just downloaded it since other people seem to be using it.

Print this item

  Name change from PostConversion.bat recognition?
Posted by: elmede - 2009-03-05, 01:07 AM - Forum: GB-PVR Support (legacy) - Replies (2)

Hi there!!

I'm having the following problem and I've searched the forums quite a bit. The only reference I've found is with the rename plugin, but it's binary, so not much help.

Is there any way for GBPVR recognizing that PostConversion.bat changed the extension of a recording?? It's part of a broader problem but I think that if GBPVR recognized that I had changed the extension I'd be good to go.

You can find further explanation of my fork for a spoon problem here:

http://forums.nextpvr.com/showthread.php?t=41239

I've thought of a workaround, but it's kinda dirty:
- Do not delete the original
- Rename the original to something like .mpgback
- Rename the converted one (which was .avi for reasons explained in the above thread) to .mpg

Thanks!!

El Mede

Print this item

  H.264 encoding
Posted by: elmede - 2009-03-05, 01:03 AM - Forum: GB-PVR Support (legacy) - Replies (7)

Here's my third post. This time about H.264 encoding.

I found out from some posts that H.264 is the best way for transcoding for saving some hard disk megabytes and still keeping the best quality.

I know that using postprocessing is the easiest way and the way almost everyone here is doing it. I don't like it much however since I like keeping everything running with the least programs as possible. I'm picky, i know, but well, this is how I got it -kinda- working.

I can now confirm that it's the best encoder. It for certain is a CPU intensive process and a slow one (in an athlon 64 X2 4850e it takes about 2.3x the time to transcode a recording) but the filesize is half the original of MPEG-2 (i'm recording in medium) and the quality is just great. I can't differentiate it from the original. And I'm sure you'd be able to improve it a little bit more, but I'm more than pleased with the results as they are right now.

I googled a lot for this, searched this forum and others, and just couldn't find a concise reference and that's why i'm writing this.

It's more than curious and I haven't been able to get it 100% working. First, I tried a command line I found on a forum somewhere in the internet, but it used libx264 and libfaac codecs which AREN'T included in the ffmpeg that comes with gbpvr. Well, a little background with ffmpeg - the way i see it:

FFMPEG is an extremely powerful very little documented utility. It is intended for people who know what they're doing. As a matter of fact, binaries aren't even provided by the developers and everyone who wants to use it has to compile their own version and so, because there are tons of codecs and just doesn't make sense to compile everything in.

So I went and found out a binary that had libx264 and libfaac compiled in. Found it, didn't work with some of the command line options provided in that forum so I decided I'd better work with the included ffmpeg. Upon inspection, I found the gbpvr included ffmpeg included h264 and mp3. I found a post on this forum (http://forums.nextpvr.com/showthread.php?p=325689), reddwarf posted some command line options. I had to remove a couple of them because they weren't recognized by the ffmpeg binary (specifically sc_treshold). Also, it's more portable because other users can expect the resulting command line to work with the gbpvr included ffmpeg instead of be hunting around for a working binary. In the end, this is what came out:

Code:
<Conversion name="H.264" cmd="-y -i {SOURCE_FILE} -threads 2 -vcodec h264 -b 1200k -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partp4x4+partb8x8 -crf 22 -me umh -subq 7 -trellis 1 -g 250 -keyint_min 25 -i_qfactor 0.71 -bt 142282 -rc_eq &quot;blurCplx^(1-qComp)&quot; -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -acodec mp3 -ar 44100 -ab 128k {DEST_FILE}" targetExtension=".avi" />

<Conversion name="H.264" cmd="-y -i {SOURCE_FILE} -threads 2 -vcodec h264 -b 1200k -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partp4x4+partb8x8 -crf 22 -me umh -subq 7 -trellis 1 -g 250 -keyint_min 25 -i_qfactor 0.71 -bt 142282 -rc_eq &quot;blurCplx^(1-qComp)&quot; -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -acodec mp3 -ar 44100 -ab 128k {DEST_FILE}" targetExtension=".avi" />

(Included twice on purpose)

Just now I notice that I missed the following part from reddwarf's proposal:

-trellis 1 -refs 6 -bf 16 -directpred 3 -b_strategy 1 -bidir_refine 1 -coder 1 -me_range

Maybe that's why I had to strip sc_treshold (it wasn't a recognized switch by the time I tested it)

I however see a big difference in my converted files and those from reddwarf. He says 350-450 megs for 52 mins whereas with me it would take about 900 mb(http://forums.nextpvr.com/showthread.php?t=41099). Maybe it's the -crf 22 part. I highly doubt the switches I missed would make much difference. Could you state your opinion on this reddwarf??

You of course have to include that line in config.xml at the section of CustomFFmpegConversions. Then, H.264 will appear in the dropdown list of GBPVR config and you can select it.

Notice the &quot; symbols. I mention them because it gave me a Royal PITA to find out how to include them. Typing them wouldn't do and escaping them with a \ wouldn't either.

########################
Anyway here's the fun part:

As you can see, the filename has an AVI extension.

I have run lots and lots of tests. Lots of them. This darn H.264 encoders/decoders are really picky. They wouldn't play. I even ended up installing arcsoft totalmedia theatre to no avail. Upon experimentation I came out with a combination that works in the end. Apparently its ATI MPEG decoder that gets the job done.

The way to do it?

1. FFmpeg to .avi file as output
2. Rename .avi file to .mpeg file.

Yup... If you try to play .avi file in gbpvr it won't play
If you try to ffmpeg to .mpg file as output directly, it won't play either.

So, my solution is to first transcode with the ffmpeg line shown above to .avi and then use the attached postconversion.bat file in the gbpvr root directory

This would work great.. Exceeeeept!! When I change the extension, GBPVR doesn't find the recording anymore and the recording ddissappears from the recordings menu of GBPVR

Any way to make it work??

Find attached the -NON WORKING RIGHT- Postconversion.bat

Just right now it has ocurred to me. I'm going to disable the "delete original after transcoding" and I'm going to rename the original .mpg to something like .mpgback and then the .avi to .mpg. Maybe tomorrow I'll update on how it went.

Well that's it.. any comments??

El Mede

Print this item

  HIP, my setup
Posted by: elmede - 2009-03-05, 12:46 AM - Forum: GB-PVR Support (legacy) - Replies (1)

Ok, here's my second post sharing my setup of HIP.

I'm attaching a HIP file I got that works just great for me.

First of all, I have an MCE edition RC6 remote control.

I setup HIP because of the following:
- I needed beeing able to control aspect ratio and that doesn't come stock.
- The dvd button wasn't correctly set.
- The info button didn't work as I wanted it to
- I wanted to be able to start PVRX2 directly with a button.

I installed HIP and got to the duplicate keystrokes problem: Hitting the down button got me down two channels and so on. You get the idea. It's a well documented problem you can find it in the HIP faq here: http://www.byremote.com.au/HIP/mce_remote_faq.htm (the last part)

But of course it wasn't going to be easy. Turns out, my remote wasn't listed in the device list of my computer. So upgrading to the mentioned driver wasn't an option. I tried using the generic keyboard interface, but turns out some of the remote control buttons don't transmit direct keystrokes, so out of question. Easiest was the registry modification:

Open regedit and locate:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidIr\Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57da]

Now remove the following keys (be sure to backup should anything happen):

"CodeSetNum0"=dword:00000001
"CodeSetNum1"=dword:00000002
"CodeSetNum2"=dword:00000003
"CodeSetNum3"=dword:00000004

Reboot and you'll find that now without HIP remote control keypresses aren't registered as keystrokes in the computer. With the file I attached in HIP, that functionality is replicated. However, remember, without HIP running windows won't register any remote-control keypresses as keystrokes.

Maybe it's documented somewhere else, but I didn't find it as clearly so I will explain what I found out about the way HIP functions.

First of all, make sure in HIP/Preferencies, you have:

In Alternate Input:
Select "Send commands to last selected application"

This makes HIP work with ANY aplication using the System-Wide Keys.

Here's an explanation of the way I understood it. The system-wide keys are for ANY Application UNLESS a specific application has a different command assigned to the keypress in the main window of HIP.
HIP receives a Key-UP keypress. First it checks what's the current application. If that application appears in HIP's main window (Program X), it checks if the keypress is lsited. If it is, it executes the command specified for Program X. If it doesn't appear, or if the program isn't specifically listed, it applies the action in System-Wide Keys.
Had you selected Unique Keys, it's a different story. With Unique Keys, every key is assigned to a single program and that's it!. That is, if the key-up key is pressed and that is assigned to PVRX2, the Key-UP is sent to PVRX2, regardless of if it has focus or not. Even if it is not running HIP will start it!

Also, in System Settings:
- Enable "Automatically load on startup" (remember your remote with the regedit modification won't work anymore without HIP)
- Enable "Automatically change key configuration" with decent polling time so that HIP stays warned when you select a new application.

Another important thing. At first I had all the commands with POST commands. those 32775 POST codes. First, they are much more difficult to find but in the end in one post here in the forums I found almost all of them.

HOWEVER, I found them problematic with my HTPC powermanagement setup (check my other forum post) so I setup HIP with only direct keystrokes and I even like it much more.

Find attached the .HIP configuration file. Of course, you'll have to check for paths, I'm running everything in spanish

Print this item

  Simple power management in HTPC
Posted by: elmede - 2009-03-05, 12:42 AM - Forum: GB-PVR Support (legacy) - Replies (7)

Hi all..

I want to share my experiences and my setup for managing the power of my HTPC..

Here it goes:

What I want is:
1. Machine should hibernate if no remote activity is registered for a set period of time (say 1 hour)
2. If machine is working either recording a show or transcoding something then machine should not hibernate.

Notice how (2) doesn't mean any activity of remote/keyboard/mouse. And also, if we go by CPU activity, recording a show doesn't mean a lot of CPU activity (between 10-25%)

Windows integrated power management doesn't work because as soon as CPU usage jumps over 10%, it restarts its standby/hibernation/shutdown timer. Therefore, (2) would be accomplished, because recording and of course also transcoding would keep machine from hibernating. However not No. 1 because simply watching TV (withouth recording, and without sending any control remote commands means over 10% CPU)

Solution: TOff. I found out this utility which is much more powerful than windows power management. It has a simple activity timer and regardless of CPU it executes the desired "OFF" command (in my case soft hibernation) when no keyboard/mouse activity is recorded.

## Problem #1

This led to the following problem. TOff didn't care I was controlling PVRX2 with the remote control changing channels, visiting menu guide, whatever.

I'm using HIP, so there lied the problem. I was using only POST commands to send commands to PVRX2. Of course, those aren't keyboard commands, those are some kinda underground between programs commands. So I changed from POST commands to keystrokes and problem solved

## Problem #2

Now, how to prevent TOff from hibernating the computer when GBPVR is recording. What I did was I created a recordingstatus.bat file. What it does: It sets two GBPVR "stages" one is RECORDING and the other is AFTER-RECORDING. We recognize stage by the recordingstatus argument. When GBPVR starts recording the word "Recording" is passed as part of the command line argument to the recordingstatus batchfile. When it finishes, the word "Sleeping" is passed as part of the command line argument. Therefore, we detect which of those two words was received and: If on RECORDING stage, the TOff command is closed by the /closeall flag. If on AFTER-RECORDING stage, call the Toff batchfile and start the hibernation timer again.

## Problem #3

At last, how to keep program from hibernating when transcoding a recording. When GBPVR sends a movie to be transcoded, recordingstatus still receives "Sleeping" as part of the command line argument. So our current setup so far has TOff running and with no activity, it would hibernate no matter what after the timer rouns out. Solution?? Easy and within the same TOff. It has a configurable CPU level for considering CPU activity as timer resetting. I set this to 70% (ffmpeg runs over 80% almost constantly) so it is set.

## Problem #4

After hibernating, TOff closes and then when resuming there's no TOff back, so we don't have power management. Toff includes an appealing option called "Every time". This appears to work and it does work. When returning from hibernation, Toff starts again with the same settings. "Every time" means that TOff is run with the same settings every time a user logs on, just like when you return from hibernation. Problem arises when you get to the RECORDING stage of recordingstatus batchfile, it sends a /closeall signal to TOff to close the running TOff. When this happens, TOff has to know if you want TOff to start again upon another user logon or not. That means a dialog box which eliminates the automation objective. Therefore, the "Every time" option is out of question.

Solution: I use the wake.cmd file. In that file, I first send a /closeall signal to TOff (in the case that the hibernation was manual and therefore TOff wasn't closed automatically) and then call again the TOff batchfile to start the timer again.

## Manual hibernation

I didnd't spend too much time thinking about this. For me it was simple. I set the power button on the HTPC to do nothing. So when you press it, it just doesn't do anything. And I mapped the power button from the remote control to the execution of a bat file: tryhiber.bat.

If you look at the recordingstatus batchfile, you'll see that when arriving to the RECORDING stage I create c:\pvrwrkng file so that when I get "Sleeping" as command line and that file exists, it goes to AFTER-RECORDING stage.

This tryhiber.bat simple sees if the file c:\pvrwrkng exists. If it does, it doesn't hibernate. If it doesn't exist, then it goes to hibernate with a TOff command. This TOff command doesn't mess with an already running TOff command.

There are a lot of uncovered corners here:
- When transcoding it hibernates (shouldn't matter, since hibernation should return back to the point where the ffmpeg process left)
- Going to the start menu to hibernate and hibernating isn't stopped
- If you don't have the remote, you can't hibernate (doesn't matter too much to me, it hibernates after an hour automatically)
- I don't know what happens when you try to hibernate from the system submenu in pvrx2

I'm attaching Recordingstatus.bat, wake.cmd, tryhiber.bat, toff.bat and the hip file. Of course, you have to check for paths. The files are extremely short though.

About the hip file, check my other post for some clarification, it's pretty much standard with very few tweaks. Keeping it in its own post for easy finding.

Mede

Print this item

  Has anyone got SKY HD Scans
Posted by: pan - 2009-03-05, 12:00 AM - Forum: GB-PVR Support (legacy) - Replies (2)

Has anyone got SKY HD movies and sports channels working, if so could you please post your scan files.

I am going to upgrade my SKY subscription but want to be sure I can get them working first.

Thanks

Print this item

  E4 Tonight Audio but no pic??
Posted by: Elmo Putney - 2009-03-04, 10:11 PM - Forum: GB-PVR Support (legacy) - Replies (7)

For some reason E4 and E4+1 dont give me any picture tonight in live preview mode.

If I hit pause to time shift its ok, I have tried both tuners (nova t 500 and 7010ix), I tried a new version of the ATI mpeg decoder but its still the same.

I cant see anything in the logs either, I guess I'm going to have to dig into graph edit....opinions????

Logs attached go something like...e4 live tv (no picture) pause then play (ok), stop to menu then live tv channel5 (all ok).

od

Print this item

  Combining EPGs
Posted by: Daldana - 2009-03-04, 09:28 PM - Forum: GB-PVR Support (legacy) - Replies (4)

I've searched the forums and found out how to combine epgs from the same grabber, but is there a way to combine them from different grabbers into one xmltv file? I'm using zap2it for a grabber now because it has Directv's listings, but it does not have many of the local non-network channels. When I used mc2xml, it had those channels but not Directv's so I'd like to try and combine those two. Any ideas? Thanks for your help.

Dave

Print this item

Pages (6430): « Previous 1 … 2452 2453 2454 2455 2456 … 6430 Next »
Jump to page 

© Designed by D&D, modified by NextPVR - Powered by MyBB