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

libvideo_decoder.so: undefined symbol: av_frame_unref #8

Closed InnovArul closed 8 years ago

InnovArul commented 8 years ago

I am getting the following error when I try to load video using video_decoder.

-> % qlua test-frame.lua -v 1DCnIad1Y0w.mp4 Unable to connect X11 server (continuing with -nographics) qlua: error loading module 'libvideo_decoder' from file './libvideo_decoder.so': ./libvideo_decoder.so: undefined symbol: av_frame_unref stack traceback: [C]: at 0x7fc4456649c0 [C]: at 0x7fc445439bd0 [C]: in function 'require'

What could be the issue? could you please help?

mvitez commented 8 years ago

If you are getting this error, it means that you are making it with make NEWFFMPEG=1. Try making it without NEWFFMPEG=1.