This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DLPDLCR2000EVM: DLPDLCR2000EVM

Part Number: DLPDLCR2000EVM

Tool/software: Linux

Hello

I am new to Beaglebone black and Linux.

I am trying to play fishbowl video using Beaglebone black (rev c) and DLPDLCR2000EVM. following these steps

>tar -xvf dlp_lightcrafter-1.0.19.tar.gz

> cd dlp_lightcrafter-1.0.19

> sudo python setup.py install

> export DISPLAY=:0

> cd /opt/scripts/device/bone/capes/DLPDLCR2000/

> python MplayerTest.py

but I am getting an error this 

debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ tar -xvf dlp_light crafter-1.0.19.tar.gz
dlp_lightcrafter-1.0.19/
dlp_lightcrafter-1.0.19/dlp_lightcrafter/
dlp_lightcrafter-1.0.19/dlp_lightcrafter/datalog.py
dlp_lightcrafter-1.0.19/dlp_lightcrafter/dpp2607.py
dlp_lightcrafter-1.0.19/dlp_lightcrafter/enum.py
dlp_lightcrafter-1.0.19/dlp_lightcrafter/i2c.py
dlp_lightcrafter-1.0.19/dlp_lightcrafter/linuxi2c.py
dlp_lightcrafter-1.0.19/dlp_lightcrafter/version.py
dlp_lightcrafter-1.0.19/dlp_lightcrafter/__init__.py
dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info/
tar: dlp_lightcrafter-1.0.19/dlp_lightcrafter: Cannot utime: Operation not permi tted
tar: dlp_lightcrafter-1.0.19/dlp_lightcrafter: Cannot change mode to rwxr-xr-x: Operation not permitted
dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info/dependency_links.txt
dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info/PKG-INFO
dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info/SOURCES.txt
dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info/top_level.txt
dlp_lightcrafter-1.0.19/PKG-INFO
tar: dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info: Cannot utime: Operation not permitted
tar: dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info: Cannot change mode to rw xr-xr-x: Operation not permitted
dlp_lightcrafter-1.0.19/README.txt
dlp_lightcrafter-1.0.19/setup.cfg
dlp_lightcrafter-1.0.19/setup.py
tar: dlp_lightcrafter-1.0.19: Cannot utime: Operation not permitted
tar: dlp_lightcrafter-1.0.19: Cannot change mode to rwxr-xr-x: Operation not per mitted
tar: Exiting with failure status due to previous errors
debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ cd dlp_lightcrafte r-1.0.19
debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000/dlp_lightcrafter-1. 0.19$ export DISPLAY=:0
debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000/dlp_lightcrafter-1. 0.19$ cd /opt/scripts/device/bone/capes/DLPDLCR2000/
debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ python MplayerTest .py
set slave address: 27
Make sure the display port is set. For example export DISPLAY=:0

1
SourceSel.EXTERNAL_VIDEO_PARALLEL_I_F_
2
Resolution.NHD_LANDSCAPE
##################################################################
play video
nhd_test.mp4
MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing nhd_test.mp4.
libavformat version 57.56.101 (external)
Mismatching header version 57.56.100
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb693e3a8]Protocol name not provided, cannot determi ne if input is local or a network protocol, buffers and access patterns cannot b e configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
VIDEO: [H264] 640x360 24bpp 30.000 fps 3600.5 kbps (439.5 kbyte/s)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.64.101 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
major_brand: mp42
minor_version: 1
compatible_brands: mp42avc1
creation_time: 2017-07-07T14:32:35.000000Z
Load subtitles in ./
Audio: no sound
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 640x360 => 640x360 Planar YV12 [fs]
[swscaler @ 0xb69ca418]bicubic scaler, from yuv420p to rgb565le using C
[swscaler @ 0xb69ca418]No accelerated colorspace conversion found from yuv420p t o rgb565le.
[swscaler @ 0xb69ca418]using unscaled yuv420p -> rgb565le special converter
V: 22.9 0/ 0 56% 54% 0.0% 0 0


Exiting... (End of file)
None
Does the video play on the screen? (Pass/Fail/Stop) (Pass/Fail/Stop) and comment: Test passed
debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ tar: dlp_lightcrafter-1.0.19: Cannot utime: Operation not permitted
bash: tar:: command not found
debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ tar: dlp_lightcrafter-1.0.19/dlp_lightcrafter: Cannot change mode to rwxr-xr-x: Operation not permitted
bash: tar:: command not found
debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ Cannot change mode to rwxr-xr-x: Operation not permitted
bash: Cannot: command not found

how to fix this and play the video. anyone help me

 

  • Hello Raja,

    Could you try starting the test by doing "sudo python MplayerTest.py". It looks like some of the errors you are getting are do to incorrect permissions. Let me know if this works.

    Thanks,
    Kyle
  • Raja,

    Thanks for taking an interest in our DLP products.

    First off, it would appear that you are having permissions errors, but not just in the python execution. When you are extracting the DLP lightcrafter library using "tar -xvf dlp_light crafter-1.0.19.tar.gz" you get permissions errors and failure as well. I recommend you repeat the steps that gave you these errors (including the tar command) using the sudo prefix to ensure that you bypass these permissions errors.

    To be on the safe side, I also recommend you update your system using "sudo apt-get update" and "sudo apt-get upgrade" commands in the terminal before attempting to reinstall.

    Let me know if this helps.

    Best Regards,

    Philippe Dollo
  • Hello

    I updated system using "sudo apt-get update" and "sudo apt-get upgrade" commands in the terminal before attempting to reinstall.

    root@beaglebone:/home/debian# i2cdetect -r 2
    WARNING! This program can confuse your I2C bus, cause data loss and worse!
    I will probe file /dev/i2c-2 using read byte commands.
    I will probe address range 0x03-0x77.
    Continue? [Y/n] y
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- 1b -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --
    root@beaglebone:/home/debian# cd /opt/scripts/device/bone/capes/DLPDLCR2000/
    root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000# tar -xvf dlp_lightcr after-1.0.19.tar.gz
    dlp_lightcrafter-1.0.19/
    dlp_lightcrafter-1.0.19/dlp_lightcrafter/
    dlp_lightcrafter-1.0.19/dlp_lightcrafter/datalog.py
    dlp_lightcrafter-1.0.19/dlp_lightcrafter/dpp2607.py
    dlp_lightcrafter-1.0.19/dlp_lightcrafter/enum.py
    dlp_lightcrafter-1.0.19/dlp_lightcrafter/i2c.py
    dlp_lightcrafter-1.0.19/dlp_lightcrafter/linuxi2c.py
    dlp_lightcrafter-1.0.19/dlp_lightcrafter/version.py
    dlp_lightcrafter-1.0.19/dlp_lightcrafter/__init__.py
    dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info/
    dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info/dependency_links.txt
    dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info/PKG-INFO
    dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info/SOURCES.txt
    dlp_lightcrafter-1.0.19/dlp_lightcrafter.egg-info/top_level.txt
    dlp_lightcrafter-1.0.19/PKG-INFO
    dlp_lightcrafter-1.0.19/README.txt
    dlp_lightcrafter-1.0.19/setup.cfg
    dlp_lightcrafter-1.0.19/setup.py
    root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000# cd dlp_lightcrafter- 1.0.19
    root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000/dlp_lightcrafter-1.0. 19# sudo python setup.py install
    running install
    running bdist_egg
    running egg_info
    writing dlp_lightcrafter.egg-info/PKG-INFO
    writing top-level names to dlp_lightcrafter.egg-info/top_level.txt
    writing dependency_links to dlp_lightcrafter.egg-info/dependency_links.txt
    reading manifest file 'dlp_lightcrafter.egg-info/SOURCES.txt'
    writing manifest file 'dlp_lightcrafter.egg-info/SOURCES.txt'
    installing library code to build/bdist.linux-armv7l/egg
    running install_lib
    running build_py
    creating build/bdist.linux-armv7l/egg
    creating build/bdist.linux-armv7l/egg/dlp_lightcrafter
    copying build/lib.linux-armv7l-2.7/dlp_lightcrafter/version.py -> build/bdist.li nux-armv7l/egg/dlp_lightcrafter
    copying build/lib.linux-armv7l-2.7/dlp_lightcrafter/dpp2607.py -> build/bdist.li nux-armv7l/egg/dlp_lightcrafter
    copying build/lib.linux-armv7l-2.7/dlp_lightcrafter/linuxi2c.py -> build/bdist.l inux-armv7l/egg/dlp_lightcrafter
    copying build/lib.linux-armv7l-2.7/dlp_lightcrafter/i2c.py -> build/bdist.linux- armv7l/egg/dlp_lightcrafter
    copying build/lib.linux-armv7l-2.7/dlp_lightcrafter/datalog.py -> build/bdist.li nux-armv7l/egg/dlp_lightcrafter
    copying build/lib.linux-armv7l-2.7/dlp_lightcrafter/__init__.py -> build/bdist.l inux-armv7l/egg/dlp_lightcrafter
    copying build/lib.linux-armv7l-2.7/dlp_lightcrafter/enum.py -> build/bdist.linux -armv7l/egg/dlp_lightcrafter
    byte-compiling build/bdist.linux-armv7l/egg/dlp_lightcrafter/version.py to versi on.pyc
    byte-compiling build/bdist.linux-armv7l/egg/dlp_lightcrafter/dpp2607.py to dpp26 07.pyc
    byte-compiling build/bdist.linux-armv7l/egg/dlp_lightcrafter/linuxi2c.py to linu xi2c.pyc
    byte-compiling build/bdist.linux-armv7l/egg/dlp_lightcrafter/i2c.py to i2c.pyc
    byte-compiling build/bdist.linux-armv7l/egg/dlp_lightcrafter/datalog.py to datal og.pyc
    byte-compiling build/bdist.linux-armv7l/egg/dlp_lightcrafter/__init__.py to __in it__.pyc
    byte-compiling build/bdist.linux-armv7l/egg/dlp_lightcrafter/enum.py to enum.pyc
    creating build/bdist.linux-armv7l/egg/EGG-INFO
    copying dlp_lightcrafter.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-I NFO
    copying dlp_lightcrafter.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EG G-INFO
    copying dlp_lightcrafter.egg-info/dependency_links.txt -> build/bdist.linux-armv 7l/egg/EGG-INFO
    copying dlp_lightcrafter.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/ EGG-INFO
    zip_safe flag not set; analyzing archive contents...
    creating 'dist/dlp_lightcrafter-1.0.19-py2.7.egg' and adding 'build/bdist.linux- armv7l/egg' to it
    removing 'build/bdist.linux-armv7l/egg' (and everything under it)
    Processing dlp_lightcrafter-1.0.19-py2.7.egg
    Removing /usr/local/lib/python2.7/dist-packages/dlp_lightcrafter-1.0.19-py2.7.eg g
    Copying dlp_lightcrafter-1.0.19-py2.7.egg to /usr/local/lib/python2.7/dist-packa ges
    dlp-lightcrafter 1.0.19 is already the active version in easy-install.pth

    Installed /usr/local/lib/python2.7/dist-packages/dlp_lightcrafter-1.0.19-py2.7.e gg
    Processing dependencies for dlp-lightcrafter==1.0.19
    Finished processing dependencies for dlp-lightcrafter==1.0.19
    root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000/dlp_lightcrafter-1.0. 19# export DISPLAY=:0
    root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000/dlp_lightcrafter-1.0. 19# cd /opt/scripts/device/bone/capes/DLPDLCR2000/
    root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000# python MplayerTest. py
    set slave address: 27
    Make sure the display port is set. For example export DISPLAY=:0

    1
    SourceSel.EXTERNAL_VIDEO_PARALLEL_I_F_
    2
    Resolution.NHD_LANDSCAPE
    ##################################################################
    play video
    nhd_test.mp4
    Playing: nhd_test.mp4
    (+) Video --vid=1 (*) (h264)
    No protocol specified
    No protocol specified
    No protocol specified
    No protocol specified
    No protocol specified
    No protocol specified
    [vo/sdl] SDL_Init failed
    No protocol specified
    No protocol specified
    Error opening/initializing the selected video_out (--vo) device.
    Video: no video
    No video or audio streams selected.


    Exiting... (Errors when loading file)
    None
    Does the video play on the screen? (Pass/Fail/Stop) (Pass/Fail/Stop) and comment : Test passed

    I am getting an error in loading file.

    I am just trying to play fish tank  video.

    how to fix this?

  • Raja,

    Thanks for your feedback.

    Does the DLPDLCR2000EVM itself work for the basic display functionality? In particular, have you had any issues displaying the BeagleBone desktop on your system? You can manually issue i2c commands to switch to the BeagleBone desktop:

    i2cset -y 2 0x1b 0x0b 0x00 0x00 0x00 0x00 i
    i2cset -y 2 0x1b 0x0c 0x00 0x00 0x00 0x1b i

    If the above works, you can try manually running the video content using mplayer <file> in terminal. If the system is failing to select the correct video output driver automatically, you may need to specify a working video driver yourself.

    I hope this helps. Let me know where I can help further.

    Best Regards,
    Philippe Dollo