I am running MP1.1.0.0 on XP SP3 here in New Zealand with a DVB-T PVR3000 and an analog PVR250 card.
The .TS files play fine on my Popcorn Hour in the bedroom if they come from the PVR250 but the DVB-T here in NZ uses HE-AAC audio which is about the only codec NOT supported on the PCH.
I have done some experimenting with VLC and got a quick and easy command line script to convert the audio in the .TS files to AC3 from AAC.
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
Does anyone here know how or have some pointers on how I might script this so that either on a scheduled basis it goes through and converts the recordings or after recording a program it calls the script to convert it?
The issues I see are that not all recordings need to be converted, and I want the recordings to stay in the My TV folder so if the conversion is scheduled it needs to not reconvert files that have been converted and also retain the existing filename.
Any thoughts? It would seem like the best bet would be to do the conversion immediately after recording but I still need to check the original audio format and only convert if it's AAC and retain the original file name etc.
Cheers
Matt.
The .TS files play fine on my Popcorn Hour in the bedroom if they come from the PVR250 but the DVB-T here in NZ uses HE-AAC audio which is about the only codec NOT supported on the PCH.
I have done some experimenting with VLC and got a quick and easy command line script to convert the audio in the .TS files to AC3 from AAC.
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
Does anyone here know how or have some pointers on how I might script this so that either on a scheduled basis it goes through and converts the recordings or after recording a program it calls the script to convert it?
The issues I see are that not all recordings need to be converted, and I want the recordings to stay in the My TV folder so if the conversion is scheduled it needs to not reconvert files that have been converted and also retain the existing filename.
Any thoughts? It would seem like the best bet would be to do the conversion immediately after recording but I still need to check the original audio format and only convert if it's AAC and retain the original file name etc.
Cheers
Matt.
New Zealand