如何在 MKV 文件上设置隔行标记,以便 VLC 可以自动非隔行播放?
我有一个 MKV 文件,其源是隔行扫描 NTSC MPEG-2 视频。我使用 HandBrake 将其转换为 H.264 MKV,但此过程没有在 MKV 文件中设置“隔行扫描”标志。内容是隔行扫描的,而且我确实希望它保持隔行扫描,因为使用动态去隔行技术播放每秒 60 场的内容看起来比播放 30 帧要好得多- 每秒在编码时去隔行的内容。
我尝试了这个...
mkvpropedit -e track:v1 -a interlaced=1 foo.mkv
确实设置了隔行扫描位...
|+ Segment tracks
| + A track
| + Video track
| + Pixel width: 704
| + Pixel height: 480
| + Display width: 625
| + Display height: 480
| + Interlaced: 1
但是当我使用 VLC 播放视频并将去隔行设置为自动时,它不认为视频是隔行扫描的,因此不会'不进行去隔行。
我做错了什么?
软件版本:
手刹0.9.5
mkvpropedit v5.0.1
Mac OS X 10.7.3
I've got an MKV file whose source is interlaced NTSC MPEG-2 video. I converted it to H.264 MKV with HandBrake, but this process did not set the "interlaced" flag in the MKV file. The content is interlaced—and I do want it to stay interlaced because it looks much better playing back as 60 fields-per-second content with on-the-fly deinterlacing than it does as 30 frames-per-second content that's been deinterlaced at encode-time.
I tried this...
mkvpropedit -e track:v1 -a interlaced=1 foo.mkv
which did indeed set the interlaced bit...
|+ Segment tracks
| + A track
| + Video track
| + Pixel width: 704
| + Pixel height: 480
| + Display width: 625
| + Display height: 480
| + Interlaced: 1
But when I play the video with VLC with Deinterlace set to Automatic, it doesn't think the video is interlaced and therefore doesn't do the deinterlacing.
What am I doing wrong?
Software versions:
HandBrake 0.9.5
mkvpropedit v5.0.1
Mac OS X 10.7.3
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
要使手刹设置隔行扫描标志:
- 使用 H.264(x264) 视频编解码器
- 在“高级”选项卡底部添加 :tff 或 :bff,(取决于源是否为顶场优先或底场优先)
to make handbrake set the interlaced flag:
-use H.264(x264) Video Codec
-at the bottom of the Advanced Tab add :tff or :bff, ( dependant if source is top field first or bottom field first)
我建议尝试 FFMPEG。
文档:http://ffmpeg.org/ffmpeg.html
既然您提到您使用的是 OSX 10.7,您可以使用 MacPorts 为您安装所有依赖项 + ffmpeg(安装 deps 后,您还可以从 git 构建最新版本)。
http://www.macports.org/
(您必须熟悉所有命令的命令行这些工具。)
I would recommend trying FFMPEG.
Documentation: http://ffmpeg.org/ffmpeg.html
Since you mentioned you are on OSX 10.7 you can use MacPorts to install all dependencies + ffmpeg for you (once the deps are installed you can also build the latest from git).
http://www.macports.org/
(You must be comfortable with the command line for all these tools.)