NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 337 338 339 340 341 … 433 Next »
Hope that nPVR is more than just a hobby!

Hope that nPVR is more than just a hobby!
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#11
2011-10-19, 01:43 AM
Grampz Wrote:I have no experience with the prior gpvr, but notice old threads within the forums. This old info has required some digging and trying to understand where this project is at, both old and new.

Hi Grampz, are you saying that all of this is a bit confusing? I do hope you are, that is what I have been trying to say for ages...

Quote:I do not wish to tick people off, and only wish to make this program better. This program is the only solution that I have found in order to accomplish what I am trying to do. Again, my apologies if this is coming across as being rude. Not my intent at all!

I hope this is a refreshing wave, a breath of fresh air etc etc

steeb
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#12
2011-10-19, 07:10 AM
A simple test would be to try running your computer 24/7 for a while and see if the problems disappares. Sleep in windows is one of the great mysteries and does not always work.

"I'd rather have a bottle in front of me than a frontal lobotomy"
Grampz
Offline

Member

Posts: 236
Threads: 27
Joined: Sep 2011
#13
2011-10-19, 04:47 PM
It took a cold boot in order for me to get npvr functioning properly and all seems well again with the program itself. I have been digging into where the problems may lie for using the recordings on my Roku box and sense that it lies within the conversion process (convertvideo.bat file).

I have posted a reply in the developers forum where I found some info which is almost identical to what is on Roku's forums. Activity on both has been dormant for a few months. Here is the address:

http://forums.nextpvr.com/showthread.php...light=roku

Will not go into details of what I have found until I know which forum to continue in, or to start a new topic!

Thanks
Grampz
Offline

Member

Posts: 236
Threads: 27
Joined: Sep 2011
#14
2011-10-19, 04:58 PM
Quote:A simple test would be to try running your computer 24/7 for a while and see if the problems disappares. Sleep in windows is one of the great mysteries and does not always work.

Computer always runs 24/7

Quote:Hi Grampz, are you saying that all of this is a bit confusing? I do hope you are, that is what I have been trying to say for ages...

Yes I have found setup to be very daunting, but is very much worth the effort!
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#15
2011-10-19, 05:02 PM
Grampz Wrote:Computer always runs 24/7
Well that rules out the sleep part. Any device-native software installed?

"I'd rather have a bottle in front of me than a frontal lobotomy"
Grampz
Offline

Member

Posts: 236
Threads: 27
Joined: Sep 2011
#16
2011-10-19, 05:34 PM (This post was last modified: 2011-10-19, 08:44 PM by Grampz.)
Quote:Well that rules out the sleep part. Any device-native software installed?

Nope! The Hauppage tuner is the only one I have configured within npvr, but will utilize the ATI tuner also when other problems are ironed out

Am almost positive that my problems deal with the convertvideo.bat files actions and how npvr reacts accordingly. If I record only one show the batch file will convert to mp4, deletes the .ts file, create the .bif files, and create the .png thumbnails. Multiple recordings scheduled one after another offer mixed results. Normally what is saved for the first, subsequent, but not final recordings are the .mp4, .bif and .png files as expected, but earlier today the opposite happened where only the final recording saved properly. I see no errors in nrecord log file.

Contents of postprocessing script
Code:
call "f:\program files (x86)\roku-npvr-server\ConvertVideo.bat" %1

Contents of convertvideo.bat file
Code:
set roku_dir=F:\Program Files (x86)\roku-npvr-server

rem ---------------------------------------------------------
rem Convert the video to mp4
rem----------------------------------------------------------

rem - Convert the video and keep aspect ratio
rem "%roku_dir%\Third Party\HandBrakeCLI\HandBrakeCLI.exe" -i %1 -o "%~dpn1.mp4" -b 1500 -B 128 -R 48 -w 854 -l 480 -O -r 29.97

rem - Convert the video and stretch it to fit widescreen 16:9 aspect ratio
"%roku_dir%\Third Party\HandBrakeCLI\HandBrakeCLI.exe" -i %1 -o "%~dpn1.mp4" -b 1500 -B 128 -R 48 -w 720 -l 400 -O -r 29.97 --custom-anamorphic --crop 0:0:0:0 --display-width 720

rem - delete the old video (.ts file)
del /Q /A:R /A:S /A:H /A:A %1


rem ---------------------------------------------------------
rem Create the video thumnail png
rem----------------------------------------------------------

"%roku_dir%\Third Party\ffmpeg\ffmpeg.exe" -i "%~dpn1.mp4" -vframes 1 -ss 400 -s 224x158 -f image2 "%~dpn1_sd.png"
"%roku_dir%\Third Party\ffmpeg\ffmpeg.exe" -i "%~dpn1.mp4" -vframes 1 -ss 400 -s 304x238 -f image2 "%~dpn1_hd.png"


rem ---------------------------------------------------------
rem Create the bif files
rem----------------------------------------------------------

mkdir "%~dpn1_sd"
mkdir "%~dpn1_hd

"%roku_dir%\Third Party\ffmpeg\ffmpeg.exe" -i "%~dpn1.mp4" -r .1 -s 240x180 "%~dpn1_sd\%%08d.jpg"
"%roku_dir%\reindex.exe" "%~dpn1_sd" > "%roku_dir%\logs\sdlog.txt"
"%roku_dir%\Third Party\ffmpeg\ffmpeg.exe" -i "%~dpn1.mp4" -r .1 -s 320x240 "%~dpn1_hd\%%08d.jpg"
"%roku_dir%\reindex.exe" "%~dpn1_hd" > "%roku_dir%\logs\hdlog.txt"

pushd "%~dp1"

"%roku_dir%\Third Party\Roku\biftool.exe" -t 10000 "%~dpn1_sd"
"%roku_dir%\Third Party\Roku\biftool.exe" -t 10000 "%~dpn1_hd"

popd

rmdir /s /q "%~dpn1_sd"
rmdir /s /q "%~dpn1_hd"
Btw sub, please move this topic to a new thread if deemed appropriate!
Grampz
Offline

Member

Posts: 236
Threads: 27
Joined: Sep 2011
#17
2011-10-19, 08:23 PM
FYI.. I have posted this thread link to the Roku forums.

Here is the link to that thread:
http://forums.roku.com/viewtopic.php?f=2...33#p302833
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  npvr is not responding johndutcher 3 1,491 2022-05-05, 07:57 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 3,864 2022-04-14, 04:33 AM
Last Post: Antmannz
  nPVR Continually Wakes PC bfos 23 11,163 2022-02-17, 03:48 PM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 1,686 2022-01-03, 04:45 AM
Last Post: mvallevand
  Streaming Services with NPVR tesla1886 4 2,683 2021-01-04, 02:58 AM
Last Post: tesla1886
  NPVR choosing incorrect xml guide display-name after reboot drlava 7 3,052 2020-12-27, 02:27 AM
Last Post: sub
  Can NPVR offset only 3 channel listings in EPG? acemib 20 6,985 2020-04-27, 01:28 PM
Last Post: mvallevand
  Import recorded tv shows to NPVR mattman1968 9 5,966 2020-03-03, 12:57 PM
Last Post: Jimixter
  Easiest way to migrate NPVR to a new machine JP23 1 1,958 2020-02-24, 04:55 PM
Last Post: sub
  NPVR Hangs when Changing Channels BorchertD 2 1,675 2020-01-11, 11:37 PM
Last Post: BorchertD

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

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

Linear Mode
Threaded Mode