Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th July 2009, 01:04   #1  |  Link
vrscdx
Registered User
 
Join Date: Sep 2008
Posts: 3
Re-Encoding .ts with H 264 Video

I'm trying to figure out a quick(er) way to take a .ts file from Directv broadcasts and make them smaller.

Right now for instance, I've got a 30 minute video that is 3.46GB (1280x720 59.997 FPS). I'd like to get it anywhere from 800MB to 2GB. To my uneducated mind, it seems like it should be simple, but I have downloaded and tried more than half a dozen programs, with no luck.

Can someone take pity on me and point me in the right direction?

Thanks!
vrscdx is offline   Reply With Quote
Old 25th July 2009, 01:23   #2  |  Link
TheRyuu
warpsharpened
 
Join Date: Feb 2007
Posts: 788
How about this:

Code:
ffvideosource("blah.ts") #FFMS2 to source the video

deinterlacers()/tfm()/whateverhere()
filters()
Then just throw that at x264 with the desired bitrate/crf and you'll have a smaller mkv. If you want to keep a ts then you can use tsmuxer (and appropriate level settings in x264) to make a transport stream.

Handle the audio separately until the final muxing (if you change it at all).
You can use DGAVCIndex to demux the audio (and source the video if you like).

FFMS2

Edit: I'm not sure if you said your original tranport stream is h264 or not...
If it's mpeg2 video then use dgindex to index and source the video instead of FFMS2.

Last edited by TheRyuu; 25th July 2009 at 01:26.
TheRyuu is offline   Reply With Quote
Old 25th July 2009, 01:57   #3  |  Link
vrscdx
Registered User
 
Join Date: Sep 2008
Posts: 3
Quote:
Originally Posted by TheRyuu View Post
How about this:

Code:
ffvideosource("blah.ts") #FFMS2 to source the video

deinterlacers()/tfm()/whateverhere()
filters()
Then just throw that at x264 with the desired bitrate/crf and you'll have a smaller mkv. If you want to keep a ts then you can use tsmuxer (and appropriate level settings in x264) to make a transport stream.

Handle the audio separately until the final muxing (if you change it at all).
You can use DGAVCIndex to demux the audio (and source the video if you like).

FFMS2

Edit: I'm not sure if you said your original tranport stream is h264 or not...
If it's mpeg2 video then use dgindex to index and source the video instead of FFMS2.
Thanks for the help!

Unfortunately, I'm even more of a novice than that...First question, the code you supplied above, where is that entered, notepad?

I've downloaded ffms2, as well as avisynth, but I'm not sure how to make avisynth see that notepad file.

I could be out in left field, but I'm trying as much as I can to do it.

Thanks!

Oh, and yes, original is a .ts with H.264.
vrscdx is offline   Reply With Quote
Old 25th July 2009, 02:11   #4  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,896
Quote:
Originally Posted by vrscdx View Post
Unfortunately, I'm even more of a novice than that...First question, the code you supplied above, where is that entered, notepad?
That is an Avisynth script. Avisynth is your ultimate weapon for video processing

You better start reading the tutorials in the Avisynth Wiki:
http://avisynth.org/mediawiki/Main_Page

Especially these articles:
* http://avisynth.org/mediawiki/First_script
* http://avisynth.org/mediawiki/Getting_started
* http://avisynth.org/mediawiki/Filter_introduction
* http://avisynth.org/mediawiki/Script_examples

Also these:
* http://www.neuron2.net/dgmpgdec/DGDecodeManual.html
* http://www.neuron2.net/dgavcdec/DGAVCDecodeManual.html
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



Last edited by LoRd_MuldeR; 25th July 2009 at 02:16.
LoRd_MuldeR is offline   Reply With Quote
Old 25th July 2009, 02:24   #5  |  Link
vrscdx
Registered User
 
Join Date: Sep 2008
Posts: 3
Thank you!
vrscdx is offline   Reply With Quote
Old 28th July 2009, 04:31   #6  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
I'm curious to know how you capture AVC transport off DirecTV because it is scrambled. I do it with the Hauppauge HD-PVR, but it uses an analog connection and encodes AVC TS on the fly.
Guest is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.