NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 226 227 228 229 230 … 1231 Next »
Transcode to Shrink HVR-1600 HD Recordings?

 
  • 0 Vote(s) - 0 Average
Transcode to Shrink HVR-1600 HD Recordings?
MichaelColey
Offline

Junior Member

Posts: 44
Threads: 7
Joined: Mar 2007
#1
2007-10-07, 12:55 AM
[I've searched the forum and wiki and can't find anything that addresses this. If I missed something, please let me know!]

I'm using an HVR-1600 to record over the air HD (DVR-MS) and Analog (MPG) programs. I think most of the HD programs must be 1080i, as the file sizes are huge (7GB per hour) and playback is a little jerky (but incredibly clear). The hard drive is filling up way too quick with files this large.

I tried transcoding my DVR-MS programs to MPG, but that didn't change the size.

I'm just playing these back on a regular TV, and I'm fine with a quality anywhere from VCR to DVD quality, which I expect could be easily kept down to 1-2GB per hour.

What would I need to do to reduce the size of these files? I would prefer to keep everything in MPG. I'm in the US so it's NTSC.

We seldom watch anything live (and usually not for several days), so it's not essential to convert them quickly. I just need them converted automatically, preferably within 24 hours. It would be really nice to be able to convert my existing DVR-MS files as well.

Any suggestions, tips, or detailed walk-throughs would be very much appreciated!
Main PVR: Dell E520 / XP MCE / 2.8GHZ Dual Core / 250GB+500GB / 1GB / HVR-1600 / GB-PVR 1.0.16
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2007-10-07, 02:24 PM (This post was last modified: 2007-10-07, 02:46 PM by pBS.)
you could make a profile for the ati avivo xcode cmd line converter and use it for both converting manually from vid library, and auto-nightly conversion for all recordings..
you have to make sure you have Avivo installed, if you have ATI vid card, you may already...if not, i found that the download is available separately and works on pretty much any card..Big Grin
since you have MCE, it will also install "C:\Program Files\Common Files\ATI Technologies\Multimedia\atixcode.exe" which you can use on cmd line..

running it by itself shows help with the options..
there's also info on here somewhere on the options..
can output avi,mp4,mpg,whatever really..
not much option as far as bitrate[preset] but they are decent as-is and it's blazing fast..
i use: AtiXcode IDLE /A0 /S0 /R0 /EMPG /V5 /Q1 /X0 /F"%~1" /D"%~dpn1.mpg"
Quote: Usage: AtiXcode

/Rn read argments from registry(/S0 = off, /S1=on, default is on.
All previously read values will be over written.

/Sn file scan (/S0 = off, /S1=on, default is on)

/Xn transcode from database (/X0 = off, /X1=on, default is on)

/Fxxx folder to scan OR source file name (def = MCE's folder from registry)

/An Automatically generate output file name. Used with /F. /F specifies an output folder.(/A0=off,/A1=on)

/Dxxx Destination folder OR destination filename(def = Source Folder/ATIXCode)

/Exxx file extension to accept (def = DVR-MS)

/Vn Output Video Format (1 - MPEG1, 2 - MPEG2, 3 - VCD, 4 - SDVD, 5- DVD,
6 - MPEG4 DIVX, 7 - WMV9, 8 - WMV9 PMC, 9 - H264, 10 - MPEG4 (PSP compatible video),
11 - H.264 (iPod compatible video)

/Mn Max files to find in scan, max files to transcode (/M0=no limit)

/Qn Quality (/Q2=default, 1 (low), 2 (medium), 3 (high))

/Lxxx Transcoder log file (/L0 off)

/Tnnn Transcoder time limit in minutes (/T0=no limit)

and put it in a config.xml profile:
Code:
<Conversion name="AvivoXcode" exe="atixcode.exe" cmd=" IDLE /F{SOURCE_FILE} /A0 /S0 /R0  /EMPG /V4 /Q1  /X0 /D{DEST_FILE}.sd.mpg" targetExtension="" />
and put a copy of atixcode.exe in gbpvr\third party\ dir..
Big Grin
restart rec service to see changes..

for some reason, atixcode is keeping the file so busy, gb thinks it can't get the size and locks up...
[just for the silly size dialog!]
so i fool it with no extension, but adding one on cmdline options..Big Grin

or you could just find a good ffmpeg or mencoder that inputs dvr-ms and try that in profiles as well..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#3
2007-10-07, 02:59 PM
actually, hold on a bit, i may have a workaround to keep gbpvr happy..Big Grin
[a batch file to swap it out after, so the recordings screen won't lose info]

Sub, apparently atixcode gets exclusive access to the file when transcoding, so when gbpvr tries to check file size to update the dialog, it locks up..Sad is there any way to prevent it from trying to get that info? take it out of skin perhaps?

i'll see if i can't get a batch file workaround here soon..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,007
Threads: 770
Joined: Nov 2003
#4
2007-10-07, 04:21 PM
Quote:Sub, apparently atixcode gets exclusive access to the file when transcoding, so when gbpvr tries to check file size to update the dialog, it locks up.. is there any way to prevent it from trying to get that info? take it out of skin perhaps?
Can you post the logs so I can see what the error says?
MichaelColey
Offline

Junior Member

Posts: 44
Threads: 7
Joined: Mar 2007
#5
2007-10-07, 08:09 PM
Will this also resize the recordings? Since they're recorded at 1080p (1920x1080) or 720p (1280x720) and I only need NTSC (648x486?), it seems like it would save a tremendous amount of space (65-85%) without even having to compromise on the quality.
Main PVR: Dell E520 / XP MCE / 2.8GHZ Dual Core / 250GB+500GB / 1GB / HVR-1600 / GB-PVR 1.0.16
MichaelColey
Offline

Junior Member

Posts: 44
Threads: 7
Joined: Mar 2007
#6
2007-10-07, 10:23 PM
I just found this thread:

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

It seems to cover some of these issues. I'll have to look closer when I have more time.
Main PVR: Dell E520 / XP MCE / 2.8GHZ Dual Core / 250GB+500GB / 1GB / HVR-1600 / GB-PVR 1.0.16
Deusxmachina
Offline

Senior Member

Posts: 545
Threads: 13
Joined: Aug 2007
#7
2007-10-07, 11:48 PM
MichaelColey Wrote:[I've searched the forum and wiki and can't find anything that addresses this. If I missed something, please let me know!]

What would I need to do to reduce the size of these files? I would prefer to keep everything in MPG. I'm in the US so it's NTSC.

Is there a problem with the transcoder plugin/utility on the wiki page? You may need to convert them to mpeg first if they are dvr-ms, but there's an automated plugin for that, too. I currently watch most shows before they can transcode, but if they're on the drive long enough for my set auto-transcoding time to kick in, the next morning the 10gb mpeg files are then 300mb avi files.

I'm a little surprised at how slow the transcoder (Mencoder) transcodes, but the whole automated process is still wicked cool stuff.

edit: Bah, read too fast and forgot about the "would like to keep them mpeg" part.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#8
2007-10-08, 12:37 AM
Quote:2007-10-07 19:25:25.000 VERBOSE [1] C:\Program Files\devnz\gbpvr\Third Party\atixcode.exe IDLE /F"\\home-1\G\mpg\HD\MotorWeek_20070531_04300500.mpg" /A0 /S0 /R0 /EMPG /V4 /Q3 /Llog /X0 /D"\\home-1\G\mpg\HD\MotorWeek_20070531_04300500.SD.mpg"
2007-10-07 19:25:33.063 VERBOSE [1] No key mapping found for: LEFT
2007-10-07 19:25:33.063 VERBOSE [1] OnKeyDown: Left value=37
2007-10-07 19:25:33.672 VERBOSE [1] No key mapping found for: RIGHT
2007-10-07 19:25:33.672 VERBOSE [1] OnKeyDown: Right value=39
2007-10-07 19:25:43.594 VERBOSE [1] No key mapping found for: RETURN
2007-10-07 19:25:43.594 VERBOSE [1] OnKeyDown: Return value=13
2007-10-07 19:25:45.703 VERBOSE [1] No key mapping found for: RETURN
2007-10-07 19:25:45.703 VERBOSE [1] OnKeyDown: Return value=13
2007-10-07 19:25:47.110 ERROR [1] Error: msg=0x100 (WM_KEYDOWN) hwnd=0x3102ae wparam=0xd lparam=0x1c0001 result=0x0 : System.IO.IOException: The process cannot access the file '\\home-1\G\mpg\HD\MotorWeek_20070531_04300500.SD.mpg' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at GBPVR.xd19a5a5f937f4f7f.render(Boolean& requiresMoreRendering)
at GBPVR.x86396f56243de9fb.render(Boolean& requiresMoreRendering)
at GBPVR.xbb1566157f5f8b1f.xdae9991ab918b397(Object xdf2e3583f942db7b, KeyEventArgs xc4f45905cb1fc7ba)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at GBPVR.xbb1566157f5f8b1f.WndProc(Message& m)
2007-10-07 19:25:47.110 VERBOSE [1] videoInsetVisible = false
2007-10-07 19:25:47.407 VERBOSE [1] ShowInsetAtLocation(257, 88, 398, 269)
2007-10-07 19:25:47.828 VERBOSE [1] ShowInsetAtLocation(257, 88, 398, 269)
2007-10-07 19:25:48.828 VERBOSE [1] ShowInsetAtLocation(257, 88, 398, 269)
2007-10-07 19:25:49.828 VERBOSE [1] ShowInsetAtLocation(257, 88, 398, 269)
2007-10-07 19:25:50.125 VERBOSE [1] ShowMouse ref=0
2007-10-07 19:25:50.828 VERBOSE [1] ShowInsetAtLocation(257, 88, 398, 269)
2007-10-07 19:25:51.719 VERBOSE [1] controller.OnMouseDown()
2007-10-07 19:25:51.735 VERBOSE [1] controller.OnClick()
2007-10-07 19:25:51.735 VERBOSE [1] ShowInsetAtLocation(257, 88, 398, 269)
2007-10-07 19:25:51.828 VERBOSE [1] ShowInsetAtLocation(257, 88, 398, 269)
2007-10-07 19:25:52.828 VERBOSE [1] ShowInsetAtLocation(257, 88, 398, 269)
2007-10-07 19:25:54.438 ERROR [2] FATAL UNHANDLED EXCEPTION:: System.Data.SQLite.SQLiteException: SQLite error
library routine called out of sequence
at System.Data.SQLite.SQLite3.Close()
at System.Data.SQLite.SQLiteConnection.Close()
at System.Data.SQLite.SQLiteConnection.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()

this is a file not in my db, but it happens same on those that are..

there's something fishy about 'exclusive file access' in windows, just like recording to a network drive and trying to read it same time, it's like you have to wait an extra 'moment' to read data cuz the 'owner' of the file is using it...
yet ffmpeg and others can write to one and not 'busy' it out exclusively..?
i'd love to see that kind of access for regular recordings...would solve alot of the network file transfer problems,[namely file share clients and dual access -playing a currently recording file]

just tried it on pvrx2 and it doesn't happen..[no size dialog]
so i guess it's a 'mute' point...Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,007
Threads: 770
Joined: Nov 2003
#9
2007-10-08, 12:47 AM
pBS Wrote:just tried it on pvrx2 and it doesn't happen..[no size dialog]
so i guess it's a 'mute' point...Big Grin
Yep.
fvfv
Offline

Member

Posts: 131
Threads: 20
Joined: Nov 2005
#10
2008-11-06, 09:21 PM
pBS Wrote:you could make a profile for the ati avivo xcode cmd line converter and use it for both converting manually from vid library, and auto-nightly conversion for all recordings..
you have to make sure you have Avivo installed, if you have ATI vid card, you may already...if not, i found that the download is available separately and works on pretty much any card..Big Grin
since you have MCE, it will also install "C:\Program Files\Common Files\ATI Technologies\Multimedia\atixcode.exe" which you can use on cmd line..

running it by itself shows help with the options..
there's also info on here somewhere on the options..
can output avi,mp4,mpg,whatever really..
not much option as far as bitrate[preset] but they are decent as-is and it's blazing fast..
i use: AtiXcode IDLE /A0 /S0 /R0 /EMPG /V5 /Q1 /X0 /F"%~1" /D"%~dpn1.mpg"


and put it in a config.xml profile:
Code:
<Conversion name="AvivoXcode" exe="atixcode.exe" cmd=" IDLE /F{SOURCE_FILE} /A0 /S0 /R0  /EMPG /V4 /Q1  /X0 /D{DEST_FILE}.sd.mpg" targetExtension="" />
and put a copy of atixcode.exe in gbpvr\third party\ dir..
Big Grin
restart rec service to see changes..

for some reason, atixcode is keeping the file so busy, gb thinks it can't get the size and locks up...
[just for the silly size dialog!]
so i fool it with no extension, but adding one on cmdline options..Big Grin

or you could just find a good ffmpeg or mencoder that inputs dvr-ms and try that in profiles as well..

pBS, this is kind of an old thread but this is so far the fastest avi encoder I have seen. I just endcoded an HDTV episode in about 30 minutes from 4.5 G to 675MB. Perfect Quality. How can I get it to be around 350MB, just like the TV Episodes available on Torrent Sites ? Those files are awesome quality and so small.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Live TV and recordings do not match greg in kansas 8 7,442 2013-02-22, 06:35 PM
Last Post: sub
  Can't view recordings on pc jerry430 8 7,127 2013-01-21, 07:27 PM
Last Post: jerry430
  Live TV not showing anything although recordings are OK. Pls advise. seymoria 8 5,147 2012-08-07, 05:07 PM
Last Post: ACTCMS
  CSI Miami Recordings Always In Spanish ga_mueller 6 4,946 2012-06-12, 12:41 AM
Last Post: mikeh49
  Recordings missing after switching hard drive tegat 8 5,442 2011-12-21, 03:00 AM
Last Post: tegat
  Recordings and live TV fail with TS mux dvasco 4 2,966 2011-06-22, 05:47 PM
Last Post: dvasco
  Stream errors in recordings with GBPVR seymoria 11 4,980 2011-06-19, 06:44 PM
Last Post: seymoria
  Lost all my recordings pduncan67 2 2,159 2011-02-27, 03:12 PM
Last Post: pduncan67
  Zero byte recordings chuck_2330 0 1,544 2011-02-09, 01:25 PM
Last Post: chuck_2330
  Black screen when playing back recordings gonzo90017 1 1,802 2011-01-19, 06:12 PM
Last Post: gonzo90017

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

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

Linear Mode
Threaded Mode