Open salt-fly opened 5 years ago
Dear friend, I have faced the same problem as you. "Decoding video failed" and "Could not allocate video parser context". I wonder if you have solved those two problems. Could you just give me some help? Thank you very much.
I solved this problem. The data loader was not successfully installed, so that the video can not be loaded. I followed the instruction
Modify setup.py to use your FFmpeg path (${FFMPEG_INSTALL_PATH}).
but I found that if i use the default setting in setup.py, the problem solved.
I solved this problem. The data loader was not successfully installed, so that the video can not be loaded. I followed the instruction
Modify setup.py to use your FFmpeg path (${FFMPEG_INSTALL_PATH}).
but I found that if i use the default setting in setup.py, the problem solved.
that means you did not ./install.sh?
1.setup.py里面的地址不用更改,直接安装,就可以解决
Could not allocate video parser context , Decoding video failed
对格式转换那一句
ffmpeg -i input.mp4 -c:v -c:v mpeg4 -f rawvideo output.mp4
error:
[NULL @ 0x2425480] Unable to find a suitable output format for 'mpeg4'
mpeg4: Invalid argument
解决部分:去掉一个-c:v
ffmpeg -i v_YoYo_g05_c01.avi -c:v mpeg4 -f rawvideo output4raw.mp4
Hi! I am facing this error when training,Could not allocate video parser context , Decoding video failed. Kindly please guide me.