Hi folks, <br><br>I am trying to port VLC to MIPS and I've been able to play audio files. However I wish to display video, which gives the following error:<br><span style="font-weight: bold;"><span style="font-weight: bold;">
/ # 
</span>./vlc xyz.mpeg</span><br>[00000273] fb video output error: cannot get terminal mode (Invalid argument) <span style="font-weight: bold; font-style: italic;"><span style="font-style: italic;"><span style="font-weight: bold;">
<br></span></span>(hard coded in fb.c)</span><br><br>I do not have X/ Qt/ wxwidgets support. I must use framebuffer. I compiled Directfb support into VLC.<br>
<br>I googled, only to find a very similar problem in the videolan archives at <a href="http://138.195.130.71/via/ml/vlc/2003-07/msg00111.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://138.195.130.71/via/ml/vlc/2003-07/msg00111.html
</a><br><br>1. Taking clue from the suggestions, I changed p_vout->p_sys->i_tty  from 0 to 1, but it did nothing.
<br>2. Changed permission of /dev/fb0-4 and /dev/tty0 to 777. Same error.<br>3. I tried fbio /dev/fbx enable 0, where x=0->3. No change. <br><br>My frame buffer is working. I can cat dummy_pic > /dev/fb0 and I see changes on screen.
<br><br>All suggestions are welcome with gratitude.<br><br>Thanks<br>Er. KM<br><br><br><br><br><br>