INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
H.264 TS files created using HD PVR to MKV.

Forum Index -> Video -> Advanced Video Conversion Printer-friendly version
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Reply to topic
Author Message
poisondeathray
Member


Joined: 07 Sep 2007
Location: Canada

Post Posted: Sep 07, 2008 19:48 Posts View users profile Send private message Reply with quote

Try the mod16 res (1920,1088)

If you still have the dashed line, it's caused by something else


mathieumg
Member


Joined: 14 Nov 2005
Location: Canada

Post Posted: Sep 07, 2008 19:59 Posts Comp View users profile Send private message Reply with quote

It's encoding now (35%), I will report back when its done.

Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 07, 2008 20:06 Posts Comp View users profile Send private message Reply with quote

Post some of your sample encodes.

jagabo
Member


Joined: 09 Dec 2005
Location: none

Post Posted: Sep 07, 2008 21:33 Posts Comp View users profile Send private message Reply with quote

Here's a short segment of 2001 A Space Odyssey I captured a while back. Captured as 1080i, inverse telecined back to 23.976 fps progressive, saved as Xvid AVI. The audio was pretty crappy at the source.

http://www.sendspace.com/file/eruhra


mathieumg
Member


Joined: 14 Nov 2005
Location: Canada

Post Posted: Sep 07, 2008 21:54 Posts Comp View users profile Send private message Reply with quote

Nice jagabo biggrin.gif

Encoding finally finished for me...

Filesize is about the same, quality is worse and it sometimes hang up and it makes VLC crash when I try to take a snapshot sad.gif

There are some horizontal lines I can notice on the image too.

I'm starting to be desperate :'(

I will go record a short HD segment so it's much faster to encode and/or upload.


Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 07, 2008 22:00 Posts Comp View users profile Send private message Reply with quote

Record a Short HD segment and I'll see what I can do with it.

poisondeathray
Member


Joined: 07 Sep 2007
Location: Canada

Post Posted: Sep 07, 2008 22:04 Posts View users profile Send private message Reply with quote

You can't use the same script as Red Hat: he is encoding a progressive source, you are encoding a 1080i source

You might want to deinterlace, or change recording modes

To minimize your time wasted, you might consider doing short test encodes on a short clip (e.g. 30 seconds) until you get settings that are acceptable for you


Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 07, 2008 22:12 Posts Comp View users profile Send private message Reply with quote

Poisondeathray, you use hd pvr or something else?

poisondeathray
Member


Joined: 07 Sep 2007
Location: Canada

Post Posted: Sep 07, 2008 22:17 Posts View users profile Send private message Reply with quote

I had HD-PVR, but it broke, awaiting my RMA replacement still under warranty. I might sell it and was thinking of getting the Intensity Pro, I'm not completely happy with it (but Intensity Pro has issues as well...)

mathieumg
Member


Joined: 14 Nov 2005
Location: Canada

Post Posted: Sep 07, 2008 22:18 Posts Comp View users profile Send private message Reply with quote

Currently uploading a 100mb .ts file I just captured... will update this post with link in 10 minutes.

Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 07, 2008 22:27 Posts Comp View users profile Send private message Reply with quote

http://www.sendspace.com/file/p7ft2y - I think I've posted enough of my samples to let you guys know I can capture and encode stuff now.

mathieumg
Member


Joined: 14 Nov 2005
Location: Canada

Post Posted: Sep 07, 2008 22:38 Posts Comp View users profile Send private message Reply with quote

Happy for you Red Hat, maybe I'll get to that point too tongue.gif

http://qc-net.com/testencode.ts

That's my 100mb sample.


Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 07, 2008 22:41 Posts Comp View users profile Send private message Reply with quote

I'm going to try to make MKV and AVI out of your ts file. Contact me on MSN at redhat.amd@gmail.com or AIM at RandomShadowMan to see what's going on.

Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 07, 2008 23:02 Posts Comp View users profile Send private message Reply with quote

I'm currently encoding an mkv version and an avi version of the clip posted above.

Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 07, 2008 23:57 Posts Comp View users profile Send private message Reply with quote

http://www.sendspace.com/file/7osvf5

TS files above encoded to AVI and MKV.
6000kbps bitrate for x264 MKV.
1100kbps bitrate fpr XviD AVI.


mathieumg
Member


Joined: 14 Nov 2005
Location: Canada

Post Posted: Sep 08, 2008 00:03 Posts Comp View users profile Send private message Reply with quote

That's really neat. Can you help me achieve the same result please?

Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 08, 2008 00:19 Posts Comp View users profile Send private message Reply with quote

Here's the script used for your MKV at 1080i.

LoadPlugin("C:\dgavcdec100a34\DGAVCDecode.dll")
AVCSource("testencode.dga")
Crop(6, 14, -0, -0)
Lanczos4Resize(1904,1056)
FieldDeinterlace()

Here's what I did for MKV.
1.) I used DGAVCIndex to demux the files.
2.) Encoded the file in MKV x264 at 6000kbps with megui using avs script above.
3.) Muxed DGAVCIndex aac file with the mkv file encoded using megui.

Here's the script I use for my 720p stuff.
LoadPlugin("C:\dgavcdec100a34\DGAVCDecode.dll")
AVCSource("GraphEdit TS.dga")
SelectEven()
Crop(0, 8, -4, -0)
Lanczos4Resize(1280,720)

Always check to see if it needs to be 23.976fps or not.


mathieumg
Member


Joined: 14 Nov 2005
Location: Canada

Post Posted: Sep 13, 2008 12:48 Posts Comp View users profile Send private message Reply with quote

I got my mkv to work with synched ac3 audio and everything smile.gif

However, I am having an hard time taking commercials out of the mkv...

Anybody knows an effective way to do that?

Thanks


Last edited by mathieumg on Sep 13, 2008 12:56, edited 1 time in total


Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 13, 2008 12:49 Posts Comp View users profile Send private message Reply with quote

I've tried megui for cutting and it works for video but not audio. For audio, I keep getting stuck at 1.62%.

poisondeathray
Member


Joined: 07 Sep 2007
Location: Canada

Post Posted: Sep 13, 2008 13:32 Posts View users profile Send private message Reply with quote

mathieumg - I've already suggested in this thread what has worked for me for editing and keeping in sync, but YMMV as you can tell from the various posts

To be sure, the tedious way is to save as uncompressed (or lossless codec) and edit that, then encode to your final format


Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 14, 2008 16:53 Posts Comp View users profile Send private message Reply with quote

I just got CoreAVC Pro and I see a major improvement with DirectShowSource. For audio, I export it in virtualdub and make sure it's on full processing mode when I do it and if I play it before I export it or anything, it will mess up.

For DirectShowSource, export the wav audio in virtualdub with full processing mode and DO NOT PLAY it before you do it or it will mess up.


Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 14, 2008 18:00 Posts Comp View users profile Send private message Reply with quote

http://www.megaupload.com/?d=QNWGUZYX - I used megui to cut this file ( Original TS Cap was around 5 minutes ). Here's what I did.

1.) I muxed the ts file using dgavcindex.
2.) Loaded avs file with this script into megui.
Code:
LoadPlugin("C:\dgavcdec100a34\DGAVCDecode.dll")
AVCSource("output 2.dga")
SelectEven()
Crop(168, 8, -168, -0)
Lanczos4Resize(640,480)

3.) Went to AVS cutter and it changed the script to this and made a cut file too.
Code:
LoadPlugin("C:\dgavcdec100a34\DGAVCDecode.dll")
AVCSource("output 2.dga")
SelectEven()
Crop(168, 8, -168, -0)
Lanczos4Resize(640,480)

__film = last
__t0 = __film.trim(7000, 10230)
__t0


4.) Went to audio cutter, loaded the aac file made using dgavcindex into megui and the cut made by avs cutter, and then exported a new .aac file with no delay.
5.) I did dual-pass encoding in virtualdub for the video with XviD at 1200kbps bitrate.
6.) I muxed the new aac file with the video encoded by virtualdub using megui.
7.) Used avidemux to convert aac to mp3.
8.) Exported the mp3 wav file with virtualdub.
9.) I used audacity to convert the .wav file to mp3.
10.) Muxed the .mp3 file with the original video encoded by virtualdub in megui.

Sorry if it was long and confusing. Also, DirectShowSource and H.264 TS Cutter were NOT used at all for this.


mathieumg
Member


Joined: 14 Nov 2005
Location: Canada

Post Posted: Sep 14, 2008 20:03 Posts Comp View users profile Send private message Reply with quote

Thanks for the info, got the cut to work with AC3 from .TS and .MKV from .DGA.

One problem though, when I was trying to encode the x264.exe would crash. I checked the logs and found:

Quote:

--[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\x264\x264.exe" --bitrate 4000 --partitions p8x8,b8x8,i4x4 --threads auto --thread-input --aq-mode --sar 1:1 --progress --no-psnr --no-ssim --output "C:\Users\Mathieu\Videos\Infoman\infoman.mkv" "C:\Users\Mathieu\Videos\Infoman\infoman.avs"
--[Information] [14/09/2008 8:30:35 PM] Encoding started
--[Error] An error occurred: x264 [error]: invalid argument: aq-mode = --sar


Its like it wasn't feeding a value to the aq-mode parameter so it mistook the next parameter (--sar) for the value and caused the crash.

I disabled the AQ-MODE in the encoding settings and everything worked. Is aq-mode something important? It recommends a value of 2 and says its the default. Is it a bug of the program that the command line is -aq-mode instead of -aq-mode 2 ?


poisondeathray
Member


Joined: 07 Sep 2007
Location: Canada

Post Posted: Sep 14, 2008 20:14 Posts View users profile Send private message Reply with quote

Just update your MeGUI using the development servers; Sharktooth forgot to update the profiles to reflect the new AQ changes but it's fixed now

AQ is adaptive quantization. It's not important for the encoding mechanics, but just an enhancement to quality in certain video types. It redistributes bits, reducing blocking in flat areas. Essentialy it eliminates the need for using custom matrices. I would turn the strength down or turn it off on anime/CGI type films


Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 14, 2008 20:34 Posts Comp View users profile Send private message Reply with quote

Alright, I'm finally 100% set. I can cut HD PVR files fine now with megui without using directshowsource or h.264 ts cutter.

http://www.megaupload.com/?d=MEGYF4WC - Take a look. Audio is encoded to 128kbps mp3 for both files. CoreAVC Pro rocks because I installed it and I no longer have issues with cutting audio in megui and it made everything encode a lot faster.


Red Hat
Member


Joined: 18 Aug 2005
Location: Orlando Florida

Post Posted: Sep 30, 2008 19:11 Posts Comp View users profile Send private message Reply with quote

I've successfully recorded a few episodes of tv shows now and cut out commercials using megui and the video/audio sync is great. The files are 23 minutes long and 220MB(PDTV Stuff).

MrCodeDude
Member


Joined: 05 Aug 2003
Location: San Luis Obispo, CA

Post Posted: Oct 01, 2008 22:26 Posts Comp View users profile Send private message Reply with quote

I have a 3 hour, 12GB unedited .ts file from my HD PVR and I'm having difficulty doing anything with it. My main goal is to shrink it down to at least a 4GB file so that I can put it on a standard DVD.

I've been trying to experiment with a smaller, 5 minute 300mb file to see quicker results, but nothing has been very successful.

My earlier process had been:
Captured h.264 .ts files (282mb) img
Burned to BDMV movie (282mb)
Open BDMV movie with Ulead VideoStudio and convert to .mpg (164mb) img
VideoReDo to remove commercials (85mb)
Handbrake to convert to DiVX (17mb) img

As you can see, the end results picture quality was horrible, so I'm trying some of the stuff RedHat, poisondeathray and others have suggested in this thread.

I've uploaded a 15 second clip of a 720p capture I have: http://www.sendspace.com/file/0tjnwb (15mb) preview image

So far I've used DS Mux (part of Haali) to export the file into a .mkv. I'm trying to use AutoMKV (w/ standard settings), but even with a small 15mb file, the x264.exe command prompt is taking about 20 minutes to process a 746 frame clip (at ~.50fps).

Somehow the resultant clip after running it through AutoMKV doubled the size of the file while reducing the resolution from 1280x720 to 1264x704. This isn't desirable (in speed or result), so I tried Red Hat's 720p process above.

1. I used DGAVCIndex to demux the files into angels.TS (original video file) and angels PID 1100 DELAY -47ms.aac

2. Using Red Hat's AVS Script, which I named 720p.avs
Code:
LoadPlugin("C:\