Page 2 of 4

Re: Postprocessing including comskip and compression

Posted: Mon Feb 02, 2009 12:27 pm
by Joker45
This is a great script.
I am no MEncoder Freak, so I want to ask for help here.

I have got some Recordings with MPA Sound.
I want to decode this to MP3.
But I also have some Recordings with AC3 5.1 Soundtrack. There I want to copy the Sound to the xvid, to have a Xvid with AC3 Sound.

At First, is this possible?
And Second. Is it possible to automate this?

Anyone knows how a script like this looks like?

Thank You verry much for every help.

Greetings

Joker

Re: Postprocessing including comskip and compression

Posted: Mon Feb 02, 2009 6:18 pm
by dA.oOZe
This should work. The script already encodes your input audio to MP3.

If you want to keep your audio as-is, search for option -oac mp3lame in the second mencoder call and change it to -oac copy. This should keep your audio untouched and just encode your video to xvid.

Not tested thou, please provide feedback if it works or not.

Regards.

Re: Postprocessing including comskip and compression

Posted: Thu Feb 05, 2009 11:21 pm
by armyofme
Hi there,

I tried your script and it worked well except the aspect ratio of the output file was not very good. How do I alter this?

Cheers.

Re: Postprocessing including comskip and compression

Posted: Fri Feb 06, 2009 12:55 am
by dA.oOZe
Hm... please be more precise. What does "was not very good" mean??

Regards.

Re: Postprocessing including comskip and compression

Posted: Fri Feb 06, 2009 6:47 pm
by Joker45
Thank You,

but I have the Idea to try the following in script:

1. demux
2. if there is aFile *.ac3 goto ac3
if there is a File MP2 goto mp2

then the jump-points for ac3 or mp2 ( or how is it called in english)

multiplex and encode.

But I will try this later. I actually work to much with my german version for Comskip.

Greetings

Joker

Re: Postprocessing including comskip and compression

Posted: Fri Feb 06, 2009 8:10 pm
by armyofme
Hi there,

sorry you are quite right I wasn't very precise it's because I can't quite explain. The problem was the output file's aspect meant that the height of screen was longer than the other side. I've tried to get a screenshot but unsuccessfully. Sorry for being so vague.

Armyofme

Re: Postprocessing including comskip and compression

Posted: Thu Feb 12, 2009 12:06 am
by armyofme
Hi there,

The output file has the dimensions: 554x576. Anyway to alter this?

Thanks.

Re: Postprocessing including comskip and compression

Posted: Thu Feb 12, 2009 8:53 am
by dA.oOZe
Hi.

I have been looking into that but without any result yet. What dimensions does the input file have? Mine have 720x576 which seems to be the default with analoge TV and everything works fine. Is it just the aspect ratio that changes or is there anything removed from the final movie?

If you want more information about MEncoder to test several options for yourself, take a look at http://www.mplayerhq.hu/DOCS/HTML/en/index.html. Sections 9. and 10. are about the usage of MEncoder.

Re: Postprocessing including comskip and compression

Posted: Thu Feb 12, 2009 11:28 pm
by armyofme
Thank you for your help I appreciate that. I will look at the page you mention. It's strange because I recorded shameless and some other programs that came out with the resolution I described. But lately some programmes have come out okay - resolution you described. Strange!

Re: Postprocessing including comskip and compression

Posted: Sun Dec 27, 2009 2:10 am
by Soob
This is great, thanks for that. However, I would like to be able to take it one step further;
delete the .ts file and insert the .avi back into the mediaportal database

ie. I want my recordedTV to be compressed but I want to access it via mediaportal still in the "recorded TV" section.

Has anyone tried this? Is it even possible with a script?

Background on why: I record NFL and NBA games in HD, they typically take up 30GB which builds up quickly with several games a week, but x264 compressed they are only around 2GB. However I only want to watch them once and I want them sorted into date order and in folders (just as they are in MP recorded TV). Hence I don't want to just move them to a 'videos' folder.