NMM视频技术(旧)

 找回密码
 成为会员
搜索
查看: 4432|回复: 6

【求助】片源的导入!

[复制链接]
发表于 2005-5-19 16:51 | 显示全部楼层 |阅读模式
有一HDTV转的MPEG2的片源(扩展名mpg)

做avs如下:

#  PLUGINS
LoadPlugin("C:\PROGRA~1\GordianKnot\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GordianKnot\AviSynthPlugins\decomb.dll")
LoadPlugin("C:\PROGRA~1\GordianKnot\AviSynthPlugins\KernelDeInt.dll")
LoadPlugin("C:\PROGRA~1\GordianKnot\AviSynthPlugins\UnDot.dll")
LoadPlugin("C:\PROGRA~1\GordianKnot\AviSynthPlugins\dgbob.dll")
LoadPlugin("C:\PROGRA~1\GordianKnot\AviSynthPlugins\Convolution3d.dll")
LoadPlugin("C:\PROGRA~1\GordianKnot\AviSynthPlugins\FluxSmooth.dll")
LoadPlugin("C:\PROGRA~1\GordianKnot\AviSynthPlugins\TomsMoComp.dll")
LoadPlugin("C:\PROGRA~1\GordianKnot\AviSynthPlugins\VSFilter.dll")
LoadPlugin("C:\PROGRA~1\GordianKnot\AviSynthPlugins\SimpleResize.dll")

#  SOURCE
mpeg2source("C:\1.mpg")

#  CROPPING
crop(20,10,1880,1066)

#  RESIZING
LanczosResize(704,400)

#  DENOISING: choose one combination (or none)
Undot()

提示不能导入D2V。

更改mpeg2sourse为directshowsource

失败提示为“you can't use crop to shift o enlarge a clip”

我该怎么办?


{那篇教程没有提到这个啊}
发表于 2005-5-19 19:45 | 显示全部楼层
哪有D2V-_-||你那里是不是mpeg2source("C:\1.mpg")吗
那个提示是说你的裁边有问题,你的片源分辨率多大的?
 楼主| 发表于 2005-5-19 20:54 | 显示全部楼层
1920*1080啊!
发表于 2005-5-20 12:11 | 显示全部楼层
我在问你的D2V在哪里……MPEG2Source是DGDecode.dll的功能
处理HDTV源,可以用TSDemux 0.18之类的软件,先将.TS源分离出来M2V和AAC(/MP2),之后再将M2V丢到DGIndex里面进行后续的处理。

你在一楼里面,AVS中的那个MPG是怎么回事……

另外,除非迫不得已,不推荐使用DirectShowSource,会有很多问题……
 楼主| 发表于 2005-5-21 01:19 | 显示全部楼层
我得步骤是ts--->mpeg---->d2v
但是我嫌麻烦,想直接导入mpeg,看来是不行了。

我还不知道有个tsDemux的工具,昏。。。。。
发表于 2005-5-21 21:01 | 显示全部楼层
对了,DGINDEX对于处理Transport Stream有一段提示,这里贴出来,希望对楼主有点帮助。
DGMPGDec 1.3.0
Notes on Transport Stream Support

DGMPEGDec supports decoding of transport streams. Following are important things to be aware of when processing transport streams.

You Must Set Your PIDs The process is simple. First load the transport stream file. Then select 'Stream/Detect PIDs: PAT/PMT' from the menu. Determine your desired video and audio PIDs (there may be multiple programs). Then select 'Stream/Set PIDs' from the menu and enter your chosen PIDs. Hit OK. Alternatively, you can use the Set buttons directly on the Detect pane.

Rarely, a stream will not contain full, correct PAT/PMT tables, which specify the PIDs and how they are associated with programs. In such cases, you can use the 'Detect PIDs: Raw' menu option to get a listing of the PIDs in the stream and then make educated guesses, or random attempts, at choosing which audio PID goes with which video PID. Common encountered pairs of associated video/audio PIDs are 11/14, 21/24, and 31/34.

Incorrect PID Settings If you set your video or audio PID to some stream in the input that is not a video stream or audio stream, respectively, undefined results will occur, even crashing. For that reason, both PIDs come up by default to 0x02, which is a reserved value. However, because the INI file retains PIDs from a previous session, you may run into this. If you get strange behavior or crashing, then set the PIDs to 0x02 before loading your file and then detect and set your PIDs normally.

Audio Only Transport Streams DGMPEGDec currently does not support audio-only streams. This will be fixed in a future version.
发表于 2005-5-27 05:06 | 显示全部楼层
demux ts 著名的軟件有 ProjectX 和 PVAStrumento
DGindex 的 transportstream 處理還是有很多 bug 的
您需要登录后才可以回帖 登录 | 成为会员

本版积分规则

小黑屋|手机版|NMM视频技术

GMT+8, 2025-5-6 01:56 , Processed in 0.244230 second(s), 14 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表