问题描述
如何可视化诸如此视频的卤化物时间表?HalideTraceViz在卤化物存储库中具有 viz.sh 想象一下.但是 viz.sh 生成的camera_pipe.avi只是大约10秒钟内只显示黑色.这是使用mplayer播放.avi文件时的日志.
How to visualize halide schedule like this video? HalideTraceViz with viz.sh in halide repository seems to visualize that.But camera_pipe.avi generated by viz.sh just shows nothing but black about 10 seconds. This is the log while playing the .avi file with mplayer.
$ mplayer bin/camera_pipe.avi
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing bin/camera_pipe.avi.
libavformat version 54.20.4 (external)
Mismatching header version 54.20.3
AVI file format detected.
[aviheader] Video stream found, -vid 0
AVI: No audio stream found -> no sound.
VIDEO: [H264] 1920x1080 24bpp 25.000 fps 15.0 kbps ( 1.8 kbyte/s)
Clip info:
Software: Lavf54.20.4
Load subtitles in bin/
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.35.0 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Unsupported AVPixelFormat 53
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12
V: 10.0 250/250 5% 4% 0.0% 0 0
Exiting... (End of file)
推荐答案
该viz脚本既陈旧又有漏洞.我会解决的.尝试使用local_laplacian和bilateral_grid中的那些.
That viz script is just stale and buggy. I'll fix it. Try the ones in local_laplacian and bilateral_grid.
不幸的是,可视化器目前对用户非常友好.也许应该使用json或其他内容作为输入,而不仅仅是位置命令行参数.
Unfortunately the visualizer is super user-unfriendly right now. Perhaps it should take json or something as the input instead of just positional command-line arguments.
这篇关于如何可视化卤化物时间表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!