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.


431 posts

Ultimate Geek
+1 received by user: 82


Topic # 55394 2-Jan-2010 20:35
Send private message

I have a great Mediaportal setup now running with a DVB-T tuner and had hoped that I would be able to watch the recordings on my Popcorn Hour in the bedroom as it supports X264, AAC, TS etc etc however found that NZ uses HE-AAC which is about the ONLY format not supported on the PCH.

After a bit of experimentation I have got a simple way of converting the audio to AC3 which is supported on the PCH.

VLC is a pretty powerful piece of software and the using the GUI it's pretty straight forward to create a conversion profile to do the audio only transcoding however I wanted to automate mine a bit more so created a batch process to do it.

Using the latest version of VLC and the following command line script

vlc -vvv -I dummy "c:\original.ts" --sout=#transcode{acodec=a52,ab=128,channels=2,samplerate=48000}:duplicate{dst=std{access=file,mux=ts,dst='c:\converted.ts'} vlc://quit

This converts the HE-AAC audio to AC3 but leave the X264 video intact. Takes about a minute per gig to convert.

Next step is to look at somehow scripting the setup such that it automatically converts new recordings once they are complete.

Hope this helps someone.

Cheers
Matt.

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

Uber Geek
+1 received by user: 97

Trusted

  Reply # 286728 3-Jan-2010 20:21
Send private message

I ran this script on a file from TV2 and the resulting file had no audio at all!




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

 

 




431 posts

Ultimate Geek
+1 received by user: 82


  Reply # 286741 3-Jan-2010 21:14
Send private message

What format are you recording into?

What version of VLC do you have?

4889 posts

Uber Geek
+1 received by user: 97

Trusted

  Reply # 286784 4-Jan-2010 07:43
Send private message

That machine is running 1.0.2 (goldeneye). Up till now I had good success running a slightly different script that I had posted that recodes the audio to AAC-LE which the PCH can play fine. I was just interested in your script. The machine is only a Semprom 3000 so it takes a bit more time than 1 min/GB - usually 150% realtime but it's fine for what I want.




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

 

 




431 posts

Ultimate Geek
+1 received by user: 82


  Reply # 286788 4-Jan-2010 08:06
Send private message

I am using 1.0.3 but they should be the same.

I couldn't find much info on this, can you post your script?

You must be converting the video as well for it to take that long. I am running the conversion on an AMD 3700.

Are you converting transport streams?

After you converted the file did you use mediainfo or something like that to check the codecs in the file to see what had happened to it?

Matt.

4889 posts

Uber Geek
+1 received by user: 97

Trusted

  Reply # 286892 4-Jan-2010 14:43
Send private message

I ran the same script as you posted and got no audio. The machine is pretty modest being a Sempron 3000. The script I run to create AAC-LE videos is here

http://www.geekzone.co.nz/forums.asp?ForumId=83&TopicId=42576




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

 

 




431 posts

Ultimate Geek
+1 received by user: 82


  Reply # 286898 4-Jan-2010 15:19
Send private message

Our scripts are very similar, obviously the audio codecs are different though.

I used mediainfo to check out the files and tell me what's in them.

I searched for ages to come up with the VLC script and you have had it for quite a while haha. I am now experimenting with using the comskip launcher in Mediaportal to launch the script to convert the file automatically once the recording has finished.

Matt.

780 posts

Ultimate Geek
Inactive user


  Reply # 286907 4-Jan-2010 15:59
Send private message

vlc player cannot even play freeview files with sound, let alone convert.

At least, that is my experience.



431 posts

Ultimate Geek
+1 received by user: 82


  Reply # 286916 4-Jan-2010 16:28
Send private message

Thats the opposite of my experience, VLC can play the files as is from Mediaportal with no problems and can convert them to quite a few different audio and video formats with no issues.

Matt.

4889 posts

Uber Geek
+1 received by user: 97

Trusted

  Reply # 286918 4-Jan-2010 16:35
Send private message

VLC can convert them fine as both of us have noted in the thread. Can't recall if VLC can play them - I usually use PowerDVD to playback the ones with AAC-HE LATM audio. But I recently purchased PlayTV for the PS3 and it can plahy them all back just fine.




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

 

 


780 posts

Ultimate Geek
Inactive user


  Reply # 286923 4-Jan-2010 16:42
Send private message

OK, well that differed from my experience but I was using the hauppage capture software.

Now , i've upgraded to Win7, and nothing seems to play media center files.






431 posts

Ultimate Geek
+1 received by user: 82


  Reply # 286926 4-Jan-2010 16:45
Send private message

I tried Windows 7 but unless you are using an UPNP server/client you can't play the files back on anything else.

Try Mediaportal, it's very good once you get it up and running. I have the Moving Pictures and TV Series plugins with Freeview HD and Sky on dual tuners and it works very very well.

Matt.

589 posts

Ultimate Geek
+1 received by user: 35


  Reply # 287093 5-Jan-2010 09:59
Send private message

Anyone tried Handbrake?



431 posts

Ultimate Geek
+1 received by user: 82


  Reply # 287102 5-Jan-2010 10:09
Send private message

Handbrake didn't work for me, it didn't like the HE-AAC.

Matt.

283 posts

Ultimate Geek
+1 received by user: 2


  Reply # 287107 5-Jan-2010 10:18
Send private message

VLC can play HE-AAC, probably only the lastest version though. Its the only FFMpeg player that can. Mplayer won't.

4889 posts

Uber Geek
+1 received by user: 97

Trusted

  Reply # 287150 5-Jan-2010 12:27
Send private message

Mattmannz: Handbrake didn't work for me, it didn't like the HE-AAC.

Matt.


The latest Handbrake is the only software that I have experienced that can handle the .ts streams (H.264/AAC-HE) that are from TVNZ and encode in a different format (or more compressed) and retain audio/video sync.




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

 

 


 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 »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



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.