PDA

View Full Version : about TSts(H264) compress


jacketfeng
19th October 2008, 05:24
i recored the hd channel to my pc hard disk, the video file is ts(H264).
i want to compress it to X264 with MEGUI.and any program can edit and cutting the ts(H264) file.

neuron2
20th October 2008, 03:56
Don't cross-post, per forum rule 8. I deleted your other post.

jacketfeng
20th October 2008, 14:01
Don't cross-post, per forum rule 8. I deleted your other post.

sorry, thanks you. but seems no one help here.

poisondeathray
20th October 2008, 15:52
Not all h264 ts are the same. Beware, some transport streams are hard to keep in sync

You can try h264ts_cutter, it works for some people, others have worse luck

You can index it with DGAVCdec, and cut with avisynth, Trim()++Trim()++...

Another option is to use MeGUI's AVS cutter, which is basically the same thing as cutting with avisynth

Avidemux can import, edit and encode to x264 for some h264 transport streams

You can also cut with TsRemux on some .ts, with or without EAC3TO

If you search here and on videohelp, instructions on all of these methods and more are discussed

jacketfeng
21st October 2008, 16:51
Not all h264 ts are the same. Beware, some transport streams are hard to keep in sync

You can try h264ts_cutter, it works for some people, others have worse luck

You can index it with DGAVCdec, and cut with avisynth, Trim()++Trim()++...

Another option is to use MeGUI's AVS cutter, which is basically the same thing as cutting with avisynth

Avidemux can import, edit and encode to x264 for some h264 transport streams

You can also cut with TsRemux on some .ts, with or without EAC3TO

If you search here and on videohelp, instructions on all of these methods and more are discussed


how to separate ts(h264) audio with DGIndex?

poisondeathray
21st October 2008, 17:07
how to separate ts(h264) audio with DGIndex?

if it's h264 .ts, use DGAVCIndex, not DGIndex

If you mean demux audio, just use file=>save project it will demux audio (with delay written in name), and generate a .dga file (read the quickstart manual on how to use AVCSource() )

jacketfeng
21st October 2008, 19:03
if it's h264 .ts, use DGAVCIndex, not DGIndex

If you mean demux audio, just use file=>save project it will demux audio (with delay written in name), and generate a .dga file (read the quickstart manual on how to use AVCSource() )

thanks you man, i just download the DGAVCIndex and it does demux the audio. and what is the .dga file for, how megui read this type file. i mean like D2V , then i can encoding to X264.

poisondeathray
21st October 2008, 19:06
thanks you man, i just download the DGAVCIndex and it does demux the audio. and what is the .dga file for, how megui read this type file. i mean like D2V , then i can encoding to X264.

Please read the quickstart manual, it's less than 1 page long. The .dga is analogous to .d2v

LoadPlugin("...\DGAVCDecode.dll")
AVCSource("file.dga")

jacketfeng
21st October 2008, 19:13
Please read the quickstart manual, it's less than 1 page long. The .dga is analogous to .d2v

LoadPlugin("...\DGAVCDecode.dll")
AVCSource("file.dga")

sorry, i dont know where's quickstart manual, i just new to here. can u post the link for me thank you.

poisondeathray
21st October 2008, 19:18
sorry, i dont know where's quickstart manual, i just new to here. can u post the link for me thank you.

It's included in the DGAVCdec download in the zip file

jacketfeng
21st October 2008, 19:29
It's included in the DGAVCdec download in the zip file

i read the readme.txt buy i still dont get it, or u tell me the method step by step.

poisondeathray
21st October 2008, 19:37
It's included in the .zip file "AVCQuickStart.html" !

http://www.neuron2.net/
http://www.neuron2.net/dgavcdec/AVCQuickStart.html
http://www.neuron2.net/dgavcdec/DGAVCIndexManual.html
http://www.neuron2.net/dgavcdec/DGAVCDecodeManual.html

jacketfeng
21st October 2008, 19:50
when i get the audio file , it says good PID 1100 DELAY -28ms.acc.
is that mean the audio has delay, what can i do?

poisondeathray
21st October 2008, 19:59
If you are using MeGUI, the delay will be entered if you import the audio directly (look at the lower right hand corner in MeGUI's audio section, when you import)

If you don't want to re-encode the audio, just specify the delay in mp4box or mkvmerge

EDIT: if you are using the MeGUI avs cutter you have use the corresponding audio cut file, otherwise you will be out of sync.

(All this has been discussed before, please do a search)

jacketfeng
23rd October 2008, 03:59
i write
LoadPlugin("F:\hd\dgavcdec104\DGAVCDecode.dll")
AVCSource("f:\tv\1.dga")

save as *.avs

and then i use meigui avisynth script creator to load the avs file, but it doesn't work.
like this
http://www.iuland.cn/attachments/month_0810/20081022_a687406b7efb0af4ed337fxXplLMaHPu.jpg

poisondeathray
23rd October 2008, 04:28
Re-index it with the same version of dgavcdec, and make sure your script matches when loading the .dll

e.g. if you used version 103 to index but now are using 104, it will give you that error

jacketfeng
23rd October 2008, 05:53
Re-index it with the same version of dgavcdec, and make sure your script matches when loading the .dll

e.g. if you used version 103 to index but now are using 104, it will give you that error

oh the version has problem, i use 103 its ok right now.

jacketfeng
23rd October 2008, 05:57
and i more qusetion, how can i add the watermark on the MP4 video?
when i separate the audio its *.aac, bcuz the original one size very big.i use megui winamp aac encode it again , the new one will be no sound.

poisondeathray
23rd October 2008, 15:36
and i more qusetion, how can i add the watermark on the MP4 video?
when i separate the audio its *.aac, bcuz the original one size very big.i use megui winamp aac encode it again , the new one will be no sound.

If your transport stream has LATM/LAOS AAC audio (look at the log file generated by DGAVCIndex), you have to convert the aac=> .wav as an intermediate step first with winamp through the disk writer plugin, then .wav=>final format. There are no direct show filters yet for this type of audio

You can watermark a video with avisynth. Do a [search] please, this has been addressed many many times.

jacketfeng
24th October 2008, 01:32
If your transport stream has LATM/LAOS AAC audio (look at the log file generated by DGAVCIndex), you have to convert the aac=> .wav as an intermediate step first with winamp through the disk writer plugin, then .wav=>final format. There are no direct show filters yet for this type of audio

You can watermark a video with avisynth. Do a [search] please, this has been addressed many many times.

can u recommend the porgram to me , for aac to wav?

poisondeathray
24th October 2008, 02:02
can u recommend the porgram to me , for aac to wav?

I already did !

Use winamp with the disk writer plugin, only if it's LATM/LOAS AAC audio. When you select it, and push "play" it will write a .wav instead of playing audio to your speakers.