Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 
722 posts

Ultimate Geek


  #287573 6-Jan-2010 20:54
Send private message

I am not looking to hi-jack this thread: I just have one question. I have been monitoring, passively, for some time now about FreeviewHD *.ts transcoding -both on this site, & others. For those of you who have been actively transcoding *.ts files, do you remove the advertising? Or just transcode the entire original file & FF through the ads?

I ask because I have not been able to get any of the apps that have been proffered to work. Just a quick word would be greatly appreciated; if not here, then in a new thread.




Silverstone LC14 HTPC Case/Intel E4600 CPU/GA-EP35-DS3 MOBO/Asus EN9500GT graphics/2GB RAM/total 2TB HDD space/HVR-2200 & 2X 150MCE tuner cards/LG GGC-H20L BD Drive/MCE2005/Mediaportal/TVServer 1.1.0Final/LG 55"3D LED-TV/Denon AVR-1803 receiver/X1 projector

5252 posts

Uber Geek

Trusted

  #287659 7-Jan-2010 05:58
Send private message

This is something that doesn't have an easy solution.

If you have a clean signal and so no or few dropouts in the recorded signal, then I think the best option is to edit out ads using H264 Cutter or TS Packet Editor and pass the cut file through Handbrake.

For me that usually works but occasionally because I get dropouts in the signal (maybe need to realign aerial) the H264 cutter programs barf on the bad data.

So another option is to pass the entire file through Handbrake. HB is good at handling bad data and always gives you a file that has audio/video in sync. Then use the aforementioned programs to edit out the ads.

As people say YMMV




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/rooms/32019730  Mention GZ to get a 10% discount

 

System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen, Denon AVRS730H 7.2 Channel Dolby Atmos/DTS-X AV Receiver, Samsung 4K player, Google Chromecast, Odroid C2 running Kodi and Plex

 

 


 
 
 
 


722 posts

Ultimate Geek


  #287866 7-Jan-2010 19:05
Send private message

H264 Cutter doesn't like my system: it keeps hanging. As far as I could tell TS Packet Editor is trialware with a cost of around ??$50: far too much for what I want. Looks like I'll be forced into what I was waiting for, anyway: VideoRedo. Cheers.




Silverstone LC14 HTPC Case/Intel E4600 CPU/GA-EP35-DS3 MOBO/Asus EN9500GT graphics/2GB RAM/total 2TB HDD space/HVR-2200 & 2X 150MCE tuner cards/LG GGC-H20L BD Drive/MCE2005/Mediaportal/TVServer 1.1.0Final/LG 55"3D LED-TV/Denon AVR-1803 receiver/X1 projector

5252 posts

Uber Geek

Trusted

  #287874 7-Jan-2010 19:44
Send private message

H264 cutter barfs on the raw video but seems to handle the output from Handbrake ok. I have never paid for TS Packet Editor - it was free when I downloaded it many moons ago.




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/rooms/32019730  Mention GZ to get a 10% discount

 

System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen, Denon AVRS730H 7.2 Channel Dolby Atmos/DTS-X AV Receiver, Samsung 4K player, Google Chromecast, Odroid C2 running Kodi and Plex

 

 




470 posts

Ultimate Geek


  #288267 8-Jan-2010 19:48
Send private message

Here is the final script I ended up using if anyone is interested. I have two cards, an analogue for Sky and a DVB-T for Freeview HD so only the Freeview programs needed to be converted.

There are probably better and smarter ways of writing this script but this works for me at the moment. Have tested all the various permutations of error situations and it seems to handle them all okay.

I used the cli version of Mediainfo to check the file to see if it needed to be converted. I added some logging so that I could see what was going on.

Hope someone else can get some use out of this.

@echo off
rem Change to TV drive
e:
cd "\recorded tv"

rem Start logging
echo Starting conversion at %date% %time% > conversionlog.txt
echo You passed me %1 >> conversionlog.txt

rem Check supplied file exists
if not exist %1 goto NOFILE

rem Check current audio codec in file
setlocal
e:\mediainfo\mediainfo.exe --Inform=Audio;%%Format%% %1>audiocodec.txt
set /p TOOLOUTPUT= > conversionlog.txt
if "%TOOLOUTPUT%" == "AAC" goto CONVERT
echo No need to convert %1 >> conversionlog.txt
goto END

:CONVERT
rem Rename original file and delete temp file if necessary
if exist tobeconverted.ts del tobeconverted.ts
rename %1 tobeconverted.ts
echo renamed %1 to tobeconverted.ts >> conversionlog.txt

rem Call VLC to convert renamed file and output as original filename
"g:\Program Files\VideoLAN\VLC\vlc.exe" -vvv -I dummy tobeconverted.ts --sout=#transcode{acodec=a52,ab=256,channels=2,samplerate=48000}:duplicate{dst=std{access=file,mux=ts,dst=%1} vlc://quit
echo Just converted %1 >> conversionlog.txt

rem Check for file and check file length of converted file and if zero back out
if not exist %1 goto DELANDRENAME
if exist %1 for %%i in (%1) do if %%~zi==0 goto DELANDRENAME

rem All okay so delete renamed file
del tobeconverted.ts
echo Converted %1 okay >> conversionlog.txt
goto END

:NOFILE
rem No file exists
echo Error file %1 doesn't exist >> conversionlog.txt
goto END

:DELANDRENAME
rem Delete zerobyte file and backout
echo Problem so rolling back >> conversionlog.txt
if exist %1 del %1
rem Rename file to original
rename tobeconverted.ts %1
goto END

:END
rem Nothing left to do
echo The end at %date% %time% >> conversionlog.txt

1 | 2 
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Vodafone and Imperial College London invite smartphone users to help fight diseases
Posted 9-Apr-2020 11:09


Unisys Always-On Access Powered by Stealth provides fast, encrypted remote access for workers
Posted 9-Apr-2020 10:00


Intel introduces 10th Gen Intel Core H-series for mobile devices
Posted 2-Apr-2020 21:09


COVID-19: new charitable initiative to fund remote monitoring for at-risk patients
Posted 2-Apr-2020 11:07


Huawei introduces the P40 Series of Android-based smartphones
Posted 31-Mar-2020 17:03


Samsung Galaxy Z Flip now available for pre-order in New Zealand
Posted 31-Mar-2020 16:39


New online learning platform for kids stuck at home during COVID-19 lockdown
Posted 26-Mar-2020 21:35


New 5G Nokia smartphone unveiled as portfolio expands
Posted 26-Mar-2020 17:11


D-Link ANZ launches wireless AC1200 4G LTE router
Posted 26-Mar-2020 16:32


Ring introduces two new video doorbells and new pre-roll technology
Posted 17-Mar-2020 16:59


OPPO uncovers flagship Find X2 Pro smartphone
Posted 17-Mar-2020 16:54


D-Link COVR-2202 mesh Wi-Fi system now protected by McAfee
Posted 17-Mar-2020 16:00


Spark Sport opens its platform up to all New Zealanders at no charge
Posted 17-Mar-2020 10:04


Spark launches 5G Starter Fund
Posted 8-Mar-2020 19:19


TRENDnet launches high-performance WiFi Mesh Router System
Posted 5-Mar-2020 08:48



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.