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 … 276 277 278 279 280 … 433 Next »
Transcoding

Transcoding
OTAjunkie
Offline

Senior Member

Posts: 277
Threads: 49
Joined: Jul 2010
#11
2012-09-20, 02:18 PM
Sykor Wrote:handbrake compresses a TS video (post commercial cutting) to about 40% of the original filesizeSmile

Yes my milelage does vary. A 4GB TS recording of "The Daily Show" (30 min) is reduced to 238,417KB (21:08 min[it's almost imposible to get "Your Moment of Zenn" with comskip so i just prepad Colbert]). I think that is a 94% size reduction? Is my math right?
and for what it's worth here's to two Mencoder scripts I'm using:

Code:
mencoder "%~dpn1.ts" -af volume=+10db -vf-add scale=480:320 -ofps 29 -oac faac -faacopts br=192:mpeg=4:object=2 -ovc xvid -xvidencopts bitrate=15000:aspect=16/9:threads=2 -o "%~dpn1.avi"

mencoder "%~dpn1.avi" -edl "%~dpn1.edl" -oac copy -ovc copy -of avi -o "%~dpn1_.avi"
Server:ASUS F1A75-V Pro,Radeon HD 6000,AMD A6 3670K,SSD128GB,2xWD 2Tb,W7Ultx64,5.1spks,2xHaup2250-MC,ATI650,CM7777,WG HD-8800
ClientTongue4 3.4,ATI HD4650,W7Ult
ClientTongue4 3.06,NVIDA6200,W7Ult
Client:Gateway Netbook,W7Start/XPpro
nDroid Client:Samsung Galaxy Note(synced to previous days recordings)
Zogg
Offline

Member

Posts: 68
Threads: 6
Joined: May 2012
#12
2012-09-20, 04:57 PM
OTAjunkie Wrote:That sounds a bit extreme. It takes me about 67min to transcode 1 hour to AVI without commercials. This time is from the shows finish and includes a Comskip run, transcode to AVI and then Comclean run.

I was thinking of multiple jobs running every day, not just one job. But still, you have your cpu processing for 110% the actual length of the show. If you record 10 hours of shows in one evening then now your system is crunching away for 11 hours of compute time, instead of just idling or going into standby.

I know hard drives aren't quite as cheap as they once were, but for under $100 U.S. you can add a 1.5TB drive that holds a LOT of shows, and then just let your system go into standby and save on electricity costs.

But that is my opinion and what works for me, and I don't expect everyone to agree. And I appreciate the info on mencoder, I will have to give it a shot to see if I can get a 10 min transcode time too!
OTAjunkie
Offline

Senior Member

Posts: 277
Threads: 49
Joined: Jul 2010
#13
2012-09-20, 07:54 PM (This post was last modified: 2012-09-21, 12:54 PM by OTAjunkie.)
Since the Mencoder script is called from my PostProcessing.BAT, every recording I make goes through the process automatically. On average I'll record from 4 to 7 shows nightly. I transcode these files not for archiving but rather to shrink file size by transcoding to AVI and cut commercials so my phone can hold all recordings. The following morning I hit "sync" on my phone and by the time I'm out of the shower the transfer is complete. I'll watch these recordings when I have time during the day or as I recently discovered if the is a power failure. And these recordings are also great for use with NEWA as the file size is almost at a minimum which reduces bandwith loads(my upload is only 256kb) and there are no commercials to sit through. I rarely store network TV shows for more than a week (they're just not that valuable to me).
Server:ASUS F1A75-V Pro,Radeon HD 6000,AMD A6 3670K,SSD128GB,2xWD 2Tb,W7Ultx64,5.1spks,2xHaup2250-MC,ATI650,CM7777,WG HD-8800
ClientTongue4 3.4,ATI HD4650,W7Ult
ClientTongue4 3.06,NVIDA6200,W7Ult
Client:Gateway Netbook,W7Start/XPpro
nDroid Client:Samsung Galaxy Note(synced to previous days recordings)
grits
Offline

Junior Member

Posts: 49
Threads: 6
Joined: Apr 2008
#14
2012-11-01, 06:39 PM
Hi OTAJunkie,
I'm trying to also setup "a Comskip run, transcode to AVI and then Comclean run.". Any chance you could post or PM your ini's and batch files? It would save me some testing and trial and error. As it is I have comskip running, since you are in Canada as well you probably have a good comskip.ini I could use. And I am playing with the transcoding etc. I was also wondering, wouldn't you want to run Comclean first, so it would save you some transcoding time? Just curious.
OTAjunkie
Offline

Senior Member

Posts: 277
Threads: 49
Joined: Jul 2010
#15
2012-11-01, 10:55 PM
@grits
I'm using the standard comskip.ini file without any tweaks(that I recall).
I transcode first because with the Mencoder version I use I can't run a "Comclean" with the file in TS so to AVI it goes and then another AVI file without commercials is created.
I'll keep the first AVI & EDL in archive for a while but the "clean" avi goes to my phone and then gets deleted(poof!!!)
Server:ASUS F1A75-V Pro,Radeon HD 6000,AMD A6 3670K,SSD128GB,2xWD 2Tb,W7Ultx64,5.1spks,2xHaup2250-MC,ATI650,CM7777,WG HD-8800
ClientTongue4 3.4,ATI HD4650,W7Ult
ClientTongue4 3.06,NVIDA6200,W7Ult
Client:Gateway Netbook,W7Start/XPpro
nDroid Client:Samsung Galaxy Note(synced to previous days recordings)
grits
Offline

Junior Member

Posts: 49
Threads: 6
Joined: Apr 2008
#16
2012-11-02, 12:01 AM
Can you post or send me your parallelprocessing.bat, postprocessing.bat, and any other bat so I can see how you are doing your comclean? Just hate reinventing the wheel. I don't need to shrink it for phone, just shrink to a reasonable size that still looks good on a 50" screen, and strip out commercials. Thanks for your help.
grits
Offline

Junior Member

Posts: 49
Threads: 6
Joined: Apr 2008
#17
2012-11-02, 12:03 AM
Also, I'm very lazy :-)
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#18
2012-11-02, 12:04 AM
grits Wrote:Can you post or send me your parallelprocessing.bat, postprocessing.bat, and any other bat so I can see how you are doing your comclean? Just hate reinventing the wheel. I don't need to shrink it for phone, just shrink to a reasonable size that still looks good on a 50" screen, and strip out commercials. Thanks for your help.

Agree....it would be nice if they were posted for reuse.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
peter t
Offline

Member

Australia
Posts: 61
Threads: 14
Joined: Jul 2005
#19
2012-11-02, 01:19 AM
I edit the commercials out with Video Re DO then save files as MPG to a NAS Box, view at my leisure then delete
Intel I7 6700K-Asrock Extreme6+Z170-16G DDR4-W10-GTX1050TI-Hauppauge Quad-Colossus 2(Pay TV Set Top Box)Samsung 250G SSD(System)WD2TB(Recordings)WD8TB)(Video Library)Thecus N5200(3.6TB NAS) SONY LED 65' 4K via HDMI.
Retired Sound Engineer "Retirement the Best Gig There Is"
OTAjunkie
Offline

Senior Member

Posts: 277
Threads: 49
Joined: Jul 2010
#20
2012-11-02, 02:32 AM (This post was last modified: 2012-11-04, 01:52 AM by OTAjunkie.)
Ok here goes(again), but first I have to say that the Mencoder script I use only seems to work with this version:"mencoder-p4-svn-24762"(Google it for download).

PostProcessing.bat
Code:
@echo off

comskip %1
:continue

call menco %1


:eof

"menco".bat (the Mencoder script batch file)
Code:
mencoder "%~dpn1.ts" -af volume=+10db -vf-add scale=480:320 -ofps 29 -oac faac -faacopts br=192:mpeg=4:object=2 -ovc xvid -xvidencopts bitrate=15000:aspect=16/9:threads=2 -o "%~dpn1.avi"

mencoder "%~dpn1.avi" -edl "%~dpn1.edl" -oac copy -ovc copy -of avi -o "%~dpn1_.avi"

NOTE: the first mencoder command transcodes TS to AVI and boosts volume +10db ("volume=norm" is normal) and scale is 480:320(phone size) you can pick your own size as you like. This script yeilds a file that is about 6% the size of the original(which makes it useful for me to stream via NEWA as well).
There are two more lines(not posted here) that move the *.AVI & EDL files to another folder(archives) and the *_.AVI file to yet another folder(NEWA)

One more note: If you reception is OTA, if you have even one "blip" in your signal Mencoder may not complete eventhough that recording seems normal in NPVR playback. But if you got a strong steady signal there'll be no issues.

You can play around with it by putting the Mencoder.exe, Comskip files, the "menco".bat and a Postprocessing batch file in a folder on your destop and create a shortcut to the Postprocessing.bat and place it on your desktop. Then take short(15min) TS file and drag and drop it onto the Postprocessing shortcut and watch it run. When you get it running the way you like move those files in the above folder to your Program Files>NPVR folder but leave the PostProcessing in your Scripts folder.
Server:ASUS F1A75-V Pro,Radeon HD 6000,AMD A6 3670K,SSD128GB,2xWD 2Tb,W7Ultx64,5.1spks,2xHaup2250-MC,ATI650,CM7777,WG HD-8800
ClientTongue4 3.4,ATI HD4650,W7Ult
ClientTongue4 3.06,NVIDA6200,W7Ult
Client:Gateway Netbook,W7Start/XPpro
nDroid Client:Samsung Galaxy Note(synced to previous days recordings)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording without transcoding javidial 9 2,439 2018-12-01, 12:59 AM
Last Post: javidial
  Recording Failure - HDHR Transcoding craigrs84 6 2,295 2018-10-15, 02:23 AM
Last Post: pkscout
  HDHomerun Extend Transcoding Not Working satcoms 12 4,925 2017-12-09, 04:16 PM
Last Post: sub
  Questions about transcoding from IPTV sources JP23 32 10,930 2017-10-31, 09:33 AM
Last Post: pme
  Strange transcoding on recording Reddwarf 3 2,077 2017-02-19, 11:13 PM
Last Post: sub
  Option to disable transcoding? Ludron 2 2,058 2017-02-16, 08:41 PM
Last Post: Ludron
  Transcoding to h.264 to play on Roku/phone/tablet. Looking for best practice. wayloncovil 0 1,141 2016-11-20, 06:29 AM
Last Post: wayloncovil
  NextPVR, Transcoding and NEWA wayloncovil 1 1,246 2016-09-23, 06:28 PM
Last Post: mvallevand
  live tv transcoding chiefmongo 2 2,311 2016-09-17, 07:27 PM
Last Post: mvallevand
  Transcoding LiveTV madas 83 23,358 2016-04-07, 11:35 AM
Last Post: uspino

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

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

Linear Mode
Threaded Mode