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.




469 posts

Ultimate Geek


#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
5219 posts

Uber Geek

Trusted

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




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

 

 




469 posts

Ultimate Geek


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

What format are you recording into?

What version of VLC do you have?

 
 
 
 


5219 posts

Uber Geek

Trusted

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




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

 

 




469 posts

Ultimate Geek


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

5219 posts

Uber Geek

Trusted

  #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




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

 

 




469 posts

Ultimate Geek


  #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


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

 
 
 
 




469 posts

Ultimate Geek


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

5219 posts

Uber Geek

Trusted

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




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

 

 


780 posts

Ultimate Geek
Inactive user


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






469 posts

Ultimate Geek


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

654 posts

Ultimate Geek


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

Anyone tried Handbrake?



469 posts

Ultimate Geek


  #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


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

5219 posts

Uber Geek

Trusted

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




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

 

 


 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 »

Withings launches three new devices to help monitor heart health from home
Posted 13-Feb-2020 20:05


Auckland start-up Yourcar matches new car buyers with dealerships
Posted 13-Feb-2020 18:05


School gardens go high tech to teach kids the importance of technology
Posted 13-Feb-2020 11:10


Malwarebytes finds Mac threats outpace Windows for the first time
Posted 13-Feb-2020 08:01


Amazon launches Echo Show 8 in Australia and New Zealand
Posted 8-Feb-2020 20:36


Vodafone New Zealand starts two year partnership with LetsPlay.Live
Posted 28-Jan-2020 11:24


Ring launches indoor-only security camera
Posted 23-Jan-2020 17:26


New report findings will help schools implement the digital technologies curriculum content
Posted 23-Jan-2020 17:25


N4L to upgrade & support wireless internet inside schools
Posted 23-Jan-2020 17:22


Netflix releases 21 Studio Ghibli works
Posted 22-Jan-2020 11:42


Vodafone integrates eSIM into device and wearable roadmap
Posted 17-Jan-2020 09:45


Do you need this camera app? Group investigates privacy implications
Posted 16-Jan-2020 03:30


JBL launches headphones range designed for gaming
Posted 13-Jan-2020 09:59


Withings introduces ScanWatch wearable combining ECG and sleep apnea detection
Posted 9-Jan-2020 18:34


NZ Police releases public app
Posted 8-Jan-2020 11:43



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.