11 Replies Latest reply on Aug 25, 2015 5:39 AM by falak.desai@yahoo.com

    install vlc on intel edison mini breakout board

    falak.desai@yahoo.com

      Hi,

       

      can anyone tell me how do I install vlc in my Intel Edison mini breakout board ?

      what is the command for it ?

        • 1. Re: install vlc on intel edison mini breakout board
          CMata_Intel

          Hi Falak,

           

           

          One option is installing VLC from source. You can follow the instructions in here. Installing VLC

          You will need to install all the dependencies and libraries required, for this you can install them from source, or you can try to find the ipk files. If there is a dependency or library you can't find to install, you must add the recipe and create a custom image for your board in order to make this work.

           

          Take a look at this: https://wiki.videolan.org/Developers_Corner I think you may find it helpful.

           

           

          Regards,

          Charlie

          • 2. Re: install vlc on intel edison mini breakout board
            falak.desai@yahoo.com

            Hi CMata_Intel sir,

             

            I followed the steps to install vlc on yocto but at a stage I'm stuck right now.

            I have to run 3 commands,

            1) ./configure      --to configure vlc

            2) make               --to build vlc

            3) make install     --to install and run vlc

             

            but here is the problem,

             

            2) make

            when I run this command it shows me the following error:

             

            make: *** No targets specified and no makefile found.  Stop.

             

             

            3) make install

            when I run this command it shows me the following error:

             

            make: *** No rule to make target 'install'.  Stop.

             

             

            what is this error and how do i solve it ?

             

             

            //i have following list of files present in my vlc folder after i successfully configured it with   ./configure   command

             

            root@edison:~/vlc-2.2.0# ls

            ABOUT-NLS            NEWS                    compat              doltcompile        po

            AUTHORS              README                config.h.in          doltlibtool          share

            COPYING               THANKS                 config.h.in~        extras               src

            COPYING.LIB         aclocal.m4               config.log           include              test

            ChangeLog              autom4te.cache       configure            lib

            INSTALL                 autotools                 configure.ac        m4

            Makefile.am             bin                          contrib               make-alias

            Makefile.in               bootstrap                 doc                   modules

            • 3. Re: install vlc on intel edison mini breakout board
              CMata_Intel

              Hi Falak,

               

              Which image are you using in your board? You can run the command configure_edison --version . If you get a version not equal to 159, I suggest you to update your image, you can download it from here and use the Flash Tool Lite.

               

              When you run ./configure in your board, what is the outcome? Could you post the entire log of what you received after running this command?

               

              Regards,

              Charlie

              • 4. Re: install vlc on intel edison mini breakout board
                falak.desai@yahoo.com

                hi CMata_Intel

                 

                I'm using the latest version of image i.e 159 as u said.

                 

                the last few lines of my  ./configure  command is like this:

                (everything seems fine except LUA. there is an error related to LUA)

                 

                output:-

                 

                .

                .

                .

                .

                .

                .

                checking if gcc -std=gnu99 accepts -ffast-math... yes

                checking if gcc -std=gnu99 accepts -funroll-loops... yes

                checking if gcc -std=gnu99 accepts -fomit-frame-pointer... yes

                checking if linker supports -Bsymbolic... -Wl,-Bsymbolic

                checking __attribute__ ((aligned ())) support... 64

                checking for __attribute__((packed))... yes

                checking execinfo.h usability... yes

                checking execinfo.h presence... yes

                checking for execinfo.h... yes

                checking for backtrace... yes

                checking if gcc -std=gnu99 groks MMX intrinsics... yes

                checking if gcc -std=gnu99 groks MMX inline assembly... yes

                checking if gcc -std=gnu99 groks MMX EXT inline assembly... yes

                checking if gcc -std=gnu99 groks SSE2 intrinsics... yes

                checking if gcc -std=gnu99 groks SSE inline assembly... yes

                checking if gcc -std=gnu99 groks SSE2 inline assembly... yes

                checking if gcc -std=gnu99 groks SSE3 inline assembly... yes

                checking if gcc -std=gnu99 groks SSSE3 inline assembly... yes

                checking if gcc -std=gnu99 groks SSE4.1 inline assembly... yes

                checking if gcc -std=gnu99 groks SSE4.2 inline assembly... yes

                checking if gcc -std=gnu99 groks SSE4A inline assembly... yes

                checking if gcc -std=gnu99 groks 3D Now! inline assembly... yes

                checking for LUA... no

                configure: WARNING: No package 'lua5.2' found, trying lua 5.1 instead

                checking for LUA... no

                configure: WARNING: No package 'lua5.1' found, trying lua >= 5.1 instead

                checking for LUA... no

                configure: WARNING: No package 'lua' found, trying manual detection instead

                checking lua.h usability... no

                checking lua.h presence... no

                checking for lua.h... no

                checking lauxlib.h usability... no

                checking lauxlib.h presence... no

                checking for lauxlib.h... no

                checking lualib.h usability... no

                checking lualib.h presence... no

                checking for lualib.h... no

                checking for luaL_newstate in -llua5.2 ... no

                checking for luaL_newstate in -llua5.1 ... no

                checking for luaL_newstate in -llua51 ... no

                checking for luaL_newstate in -llua ... no

                configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.

                • 5. Re: install vlc on intel edison mini breakout board
                  falak.desai@yahoo.com

                  hi CMata_Intel

                   

                  I tried to install Lua from source tarballs.

                   

                  i build it successfully.

                  but when I tried to install it using the make install , make linux install  commands, it showed me the following error:

                   

                   

                   

                   

                   

                  root@edison:~/lua-5.3.1# ls

                  Makefile  README    doc       install   src

                   

                  root@edison:~/lua-5.3.1# make install

                  cd src && mkdir -p /usr/local/bin /usr/local/include /usr/local/lib /usr/local/man/man1 /usr/local/share/lua/5.3 /usr/local/lib/lua/5.3

                  cd src && install -p -m 0755 lua luac /usr/local/bin

                  /bin/sh: install: command not found

                  Makefile:61: recipe for target 'install' failed

                  make: *** [install] Error 127

                   

                   

                   

                   

                  now how do i solve it ? pls help

                  • 6. Re: install vlc on intel edison mini breakout board
                    CMata_Intel

                    Hi Falak,

                     

                    Did you try with lua5.2 instead of the 5.3 version?

                    Were you able to run ./configure after this without problems?

                    I ran the following commands in order to install VLC. I disabled a lot of dependencies but I suggest you to install the required dependencies (ipk files or recipes for a custom image).

                     

                    root@edison:~# git config --global user.name "yourname"
                    root@edison:~# git config --global user.email "youremail"
                    root@edison:~# git clone git://git.videolan.org/vlc/vlc-2.2.git
                    root@edison:~# cd vlc-2.2/
                    

                    Check the installation instructions with:

                    root@edison:~# cat INSTALL
                    

                    In order to install VLC:

                    root@edison:~# ./bootstrap
                    root@edison:~#  ./configure --disable-lua --disable-mad --disable-avcodec --disable-swscale --disable-a52 --disable-xcb --disable-alsa --disable-libgcrypt
                    root@edison:~# make
                    root@edison:~# make install
                    

                     

                    Kind regards,

                    Charlie

                    • 7. Re: install vlc on intel edison mini breakout board
                      falak.desai@yahoo.com

                      hi CMata_Intel

                       

                      i successfully installed vlc on my edison board.

                      now when i run a command to start webcam, it shows the following message..

                       

                       

                      root@edison:/# cvlc -vvv v4l2:///dev/video0

                      VLC is not supposed to be run as root. Sorry.

                      If you need to use real-time priorities and/or privileged TCP ports

                      you can use /usr/local/bin/vlc-wrapper (make sure it is Set-UID root and

                      cannot be run by non-trusted users first).

                       

                       

                      (basically i run any vlc command , it shows the same message)

                       

                       

                      how should i solve this ?

                      • 8. Re: install vlc on intel edison mini breakout board
                        CMata_Intel

                        Hi Falak,

                         

                        You can try to create a new user and run the command there, for example

                        root@edison:~# useradd falak
                        root@edison:~# passwd falak
                        

                        You will be asked to create a new password, then you have to log as the new user

                        root@edison:~# login falak
                        

                        Now, try to run again the command

                        edison:~$ cvlc -vvv v4l2:///dev/video0
                        

                         

                        I suggest you to contact VLC for more information related to this software

                        VideoLAN - Wiki 

                        VideoLAN - User support and help

                         

                         

                        Regards,

                        Charlie

                        • 9. Re: install vlc on intel edison mini breakout board
                          falak.desai@yahoo.com

                          thank you so much. 

                          can I delete the user I just created ?

                          can  u pls provide me the links from where I can get these basic commands ?

                          • 10. Re: install vlc on intel edison mini breakout board
                            falak.desai@yahoo.com

                             

                            thank you so much. 

                            can I delete the user I just created ?

                            what if i want to change my username & password ?

                            can  u pls provide me the links from where I can get these basic commands ?

                             

                             

                            i got following error.. so i want to delete that new 'intel' user or edit it to add password.

                             

                             

                            root@edison:~# useradd intel

                            root@edison:~# passwd 12345678

                            passwd: user '12345678' does not exist

                             

                            root@edison:~# login intel

                            Password:

                            Login incorrect

                            • 11. Re: install vlc on intel edison mini breakout board
                              falak.desai@yahoo.com

                              hi CMata_Intel

                               

                              i was running the improper command. i got it solved with the following command as your guidance.

                               

                              root@edison:~# useradd intel 

                              root@edison:~# passwd intel 



                              also i had to change permission as a root to access my webcam, so i ran this command:

                              root@edison:~# usermod -a -G video intel

                               

                               

                              thank you vary much.