Repository navigation
Fix crash in tf.contrib.ffmpeg.decode_video - #16105
Conversation
This fix fixes the crash in `tf.contrib.ffmpeg.decode_video`. The reason for the crash was that, `decode_video` dumps the information about streaming etc. (as opposed to dump to stderr) info a file and read from it. As the loglevel was `error` the file was empty. This fix addresses the issue. The fix could be verifed by manually running ``` bazel test -s --config=opt --cache_test_results=no //tensorflow/contrib/ffmpeg:decode_video_op_test ``` With this fix, the above test works. Signed-off-by: Yong Tang <[email protected]>
|
@yongtang have updata tf1.6,but there is still error log device:GPU:0 with 4333 MB memory) -> physical GPU (device: 0, name: Tesla K20c, pci bus id: 0000:02:00.0, compute capability: 3.5) 已放弃 (核心已转储) |
|
@XuChunling If possible, can you provide the reproducible script and the video sample? Also, instead of continue discussion in a merged PR, can you open a new issue? You can ping or assign me in the new issue. |
This fix fixes the crash in
tf.contrib.ffmpeg.decode_video. The reason for the crash was that,decode_videodumps the information about streaming etc. (as opposed to dumpto stderr) info a file and read from it. As the loglevel was
errorthe file was empty.This fix addresses the issue.
The fix could be verifed by manually running
With this fix, the above test works.
Signed-off-by: Yong Tang [email protected]