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


  Reply # 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

4690 posts

Uber Geek
+1 received by user: 75

Trusted

  Reply # 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




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. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


 
 
 
 


722 posts

Ultimate Geek


  Reply # 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

4690 posts

Uber Geek
+1 received by user: 75

Trusted

  Reply # 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.




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. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 




384 posts

Ultimate Geek
+1 received by user: 55


  Reply # 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 »

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 TV — television in the cloud
Posted 17-Oct-2017 19:29


Nokia 8 review: Classy midrange pure Android phone
Posted 16-Oct-2017 07:27


Why carriers might want to embrace Commerce Commission study, MVNOs
Posted 13-Oct-2017 09:42


Fitbit launches Ionic, its health and fitness smartwatch
Posted 12-Oct-2017 15:52


Xero launches machine learning automation to improve coding accuracy for small businesses
Posted 12-Oct-2017 15:45


Bank of New Zealand uses Intel AI to detect financial crime
Posted 12-Oct-2017 15:39


Sony launches Xperia XZ1, a smartphone with real-time 3D capture
Posted 11-Oct-2017 10:26


Notes on Nokia’s phone comeback
Posted 10-Oct-2017 10:06


Air New Zealand begins Inflight Wi-Fi rollout
Posted 9-Oct-2017 20:16


The latest mobile phones in perspective
Posted 9-Oct-2017 18:34


Review: Acronis True Image 2018 — serious backup
Posted 8-Oct-2017 11:22


Lenovo launches ThinkPad Anniversary Edition 25
Posted 7-Oct-2017 23:16


Less fone, more tech as Vodafone gets brand make-over
Posted 6-Oct-2017 08:16


API Talent Achieves AWS MSP Partner Status
Posted 5-Oct-2017 21:20


Stellar Consulting Group now a Domo Partner
Posted 5-Oct-2017 21:03



Geekzone Live »

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



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.