e-lab / torch-toolbox

A collection of snippets and libraries for Torch from e-Lab
https://engineering.purdue.edu/elab/
199 stars 64 forks source link

<video_decoder> the codec is not supported #26

Open jay98 opened 7 years ago

jay98 commented 7 years ago

I tried to run the test-stream.lua with following command

th test-stream.lua -v 01TP_extract.avi

And it gives me this error

Input #0, avi, from '01TP_extract.avi': Duration: 00:02:05.03, start: 0.000000, bitrate: 108156 kb/s Stream #0:0: Video: lagarith (LAGS / 0x5347414C), none, 960x720, 108179 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc

the codec is not supported. /home/jayp/torch/install/bin/luajit: test-stream.lua:14: No video stack traceback: [C]: in function 'error' test-stream.lua:14: in main chunk [C]: in function 'dofile' ...jayp/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00406d2 Does anyone have any idea why this might be happening ? Thank You!