Hi,
I'm having a little difficulty in doing the ultimate conversion of a H.264 TS Recording to XviD.
Usually i record in MPEG2 format - then cut it in TMPGENC MPEG Editor - Create a D2V File/MPA(Or AC3) File With DGIndex - Use Gordian Knot to convert to xvid.
However, it seems when i record certain HD Channels - they use the H.264 Video Codec which has made things extremely difficult for me. What i was looking for was what was the best method to go about doing a similar process to this (note i need GordianKnot to be the final step).
What i'm looking for is to ensure that there is as little re-encoding as possible - so that the process can be done as quickly as possible - but retaining the quality of the file.
What i will note is that, most "TS" Convertors seem to be unable to handle the H.264 Codec in these TS Streams, reporting errors such as "No Channel Found" "Check PID's" "No Video Found" - and i have tried a significant few, such as HDTVTOMPEG2.
One program i have tried whcih somewhat worked was AVS4YOU Video Convertor - this did in fact convert the file quite quickly to mpeg2 - However, it is unable to handle large files. I can encode a 30second recoring thats 200mb - but a 50min recording which is 4-6GB it will merely freeze
Any assistance on procedures/tools i should use to get this ultimate goal, i'd be extremely greatful.
+ Reply to Thread
Results 1 to 10 of 10
-
-
Try AviDemux. Or use DgAvcIndex along with VirtualDub. For cut only editing h264ts_cutter or TSPE.
-
I've yet to try all the listed methods, what i have tried (unsuccessfully are):
AviDemux (Failed to open the file)
Handbrake (no adequate output available)
What looked promising to me is DgAvcIndex - it managed to open the file, and give me .dga .264 .mp1 .mp2 .ac3 files quite quickly.
However i'm then stuck on how to continue the process - as i mentioned - i always use gordian knot - and usually this just involved using regular dgindex and opening the .d2v file in it - if anyone has some further recommendations on what actions/tools i should use/take they'd be appreciated.
On another note, i had found an alternative method myself. Using TMPGEnc MPEG 4.0 Xpress - i could open the .d2v file - then from the "format" profiles i selected HDV Format MPEG - HDV-HD2 format. After that encoded i could successfully open the file in HDTVTOMPEG2 and it converted the file quite quickly. THe encoding however in TMPGenc was somewhat lengthy.
Thankyou to everybody thus far for all the help, it has been greatly appreciated -
Originally Posted by onesikgypo
# PLUGINS
LoadPlugin("C:\Path\To\DGDecode.dll")
# SOURCE
MPEG2Source("C:\Path\To\Video.d2v")
just edit the script and substitute:
# PLUGINS
LoadPlugin("C:\Path\To\DGAVCDecode.dll")
# SOURCE
AVCSource("C:\Path\To\Video.dga")
I don't think GKnot will open a DGA file the way it will a D2V, so just take an old script and do the editing in it, and then that .avs should open in GKnot for you to do such things as cropping and resizing, before going ahead with the encoding, like always. You could even take what I wrote above, adjust it for your paths and names, save it as an .avs, and open it in GKnot - just a simple 2 line AviSynth script file. GKnot will generate a fresh one after you've cropped, resized, and filtered, and you'll encode with that one, which will refer back to that simple 2 line one you made.
Reading the docs included in the DGAVC package will help also. -
Originally Posted by manono
Thankyou very much, this helped alot - this method seems to work best, to use DGAVCIndex to demux the files, then creating a custom avs script, opening the avs script in gknot and proceeding from there. It's very quick and absolutely no re-encoding which is just what i was looking for.
However on another note, my issue now is finding a tool to adequately cut these files as required. I have tried both h264ts_cutter and TSPE suggested above, both of which simply froze when i tried to open my ts file ( i also had a friend check - same thing). One program my friend found to work was SpiritOn Sniper Cutter - however this can't be run in vista which is a problem.
If anyone has any suggestions i'd be greatly appreciative. -
Originally Posted by onesikgypo
However on another note, my issue now is finding a tool to adequately cut these files as required. I have tried both h264ts_cutter and TSPE suggested above, both of which simply froze when i tried to open my ts file ( i also had a friend check - same thing). One program my friend found to work was SpiritOn Sniper Cutter - however this can't be run in vista which is a problem.
Also beware: if your h.264 .ts recordings are interlaced (they usually are if DVB-T), DGAVCdec often gives you artifacts that look like blocky pixellation. (It's still based on older version of libavcodec). The workaround is to use DirectShowSource()/DSS2() + coreavc/divx h.264/or recent ffdshow build -
...my issue now is finding a tool to adequately cut these files as required.
Originally Posted by poisondeathray -
Try using Aimersoft Total Media Converter. You can set the aspect ratio and the resolution (length*width) manually, so that you don't lose any quality. Encoding doesn't really take that long. For an iMac 2 GHz Intel Core Duo running OSX Tiger, the fastest encoding for a 1 and 30 minute film whose resolution is 720*384 is about 50-60 minutes. The film was 1.3 gb, and re-encoding to xvid (it was h.264) and aac squashed it down to 1.03 gb.
Though it's not free (you have to register for the full capabilities), it's pretty useful.
Will
Edit: Try using Total Video Converter which is for pc, if you don't have a mac. It has a HD function that might be useful for you.
Similar Threads
-
How do I convert H264 to Xvid-Avi with WinFF?
By KneeRow in forum User guidesReplies: 7Last Post: 21st Sep 2010, 19:04 -
How to convert DVD TV episodes to AVI Xvid or MP4 H264 with subtitles
By Baldrick in forum User guidesReplies: 9Last Post: 5th Jun 2010, 02:06 -
Convert FLV-file with H264 format into xvid?
By mccm in forum Video ConversionReplies: 2Last Post: 8th Oct 2009, 11:54 -
Need something besides Procoder that will convert WMVHD to AVI XVID, H264
By godfist314 in forum Video ConversionReplies: 2Last Post: 28th Jun 2008, 18:48 -
Convert .h264 to divx/xvid or dvd success with slightly lower quality.
By Edgelessdiamond in forum Video ConversionReplies: 13Last Post: 26th Apr 2008, 21:21