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.


Mattmannz

471 posts

Ultimate Geek
+1 received by user: 88


#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
lchiu7
6521 posts

Uber Geek
+1 received by user: 543

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/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.




Mattmannz

471 posts

Ultimate Geek
+1 received by user: 88


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

What format are you recording into?

What version of VLC do you have?

lchiu7
6521 posts

Uber Geek
+1 received by user: 543

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/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.




Mattmannz

471 posts

Ultimate Geek
+1 received by user: 88


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

lchiu7
6521 posts

Uber Geek
+1 received by user: 543

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/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


Mattmannz

471 posts

Ultimate Geek
+1 received by user: 88


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

 
 
 

Stream your favourite shows now on Apple TV (affiliate link).
wreck90
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.

Mattmannz

471 posts

Ultimate Geek
+1 received by user: 88


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

lchiu7
6521 posts

Uber Geek
+1 received by user: 543

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/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


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




Mattmannz

471 posts

Ultimate Geek
+1 received by user: 88


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

 
 
 

Shop on-line at New World now for your groceries (affiliate link).
grolschie
911 posts

Ultimate Geek
+1 received by user: 159


  #287093 5-Jan-2010 09:59

Anyone tried Handbrake?

Mattmannz

471 posts

Ultimate Geek
+1 received by user: 88


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

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

Matt.

mikerussellnz
283 posts

Ultimate Geek
+1 received by user: 2


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

lchiu7
6521 posts

Uber Geek
+1 received by user: 543

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/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


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








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.