How to play video from NAS.

Showing results for 
Search instead for 
Did you mean: 

How to play video from NAS.

Contributor I

I have got a i.MX6Q SABRE Lite board and I installed the L3.0.35_4.1.0_130816_source.tar.gz.

When I typed command: gplay, the video played good.
  - "" is Linux-PC(Ubuntu11.04 installed Apache)

However, when I typed command: gplay, It is failed.
   - "" is NAS(BUFFALO:LinkStation LS-WS500GL/R1)
   - The file-path in NAS from Windows7 is looked as "\\\share\sample.mpeg".

The output is as follows.

root@freescale /$  gplay
playbin2 is employed!
fsl_player_init(): Successfully initialize!
fsl_player_set_media_location(): filename=
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Debug: gstsouphttpsrc.c(1117): gst_soup_http_src_parse_status (): /GstPlayBin2:playbin0/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
Not Found (404), URL:
Error: Not Found
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
state change failed from 2 to 4
try to play failed

FSL_PLAYER_01.00_LINUX build on Dec 20 2013 11:39:13
        [h]display the operation Help
        [a]Pause when playing, play when paused
        [m]Switch to mute or not
        [>]Play next file
        [<]Play previous file
        [r]Switch to repeated mode or not
        [f]Set full screen or not
        [z]resize the width and height
        [c]Setting play rate
        [i]Display the metadata
FSL_PLAYER_UI_MSG_INTERNAL_ERROR: internal error message received.
player_exit(): No more multimedia files, exit.
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]g_main_loop_thread_fun() quit!
root@freescale /$

To a trial, when I typed command: gst-launch playbin2 uri=file:///, It is failed.
The output is as follows.


root@freescale /$ gst-launch playbin2 uri=file:///
Setting pipeline to PAUSED ...laybin2 uri=file:///
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstURIDecodeBin:uridecodebin0/GstFileSrc:source: Resource not found.
Additional debug info:
gstfilesrc.c(1036): gst_file_src_start (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstFileSrc:source:
No such file "/"
Setting pipeline to NULL ...
Freeing pipeline ...
root@freescale /$

Ping to NAS is OK. as follows:

root@freescale /$ ping -c 4
PING ( 56 data bytes
64 bytes from seq=0 ttl=64 time=2.333 ms
64 bytes from seq=1 ttl=64 time=0.169 ms
64 bytes from seq=2 ttl=64 time=0.218 ms
64 bytes from seq=3 ttl=64 time=0.216 ms

--- ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.169/0.734/2.333 ms
root@freescale /$

My question is why I can't find file-path in NAS.
Thank you.

0 Kudos
2 Replies

NXP TechSupport
NXP TechSupport

Hi , Hiroto,

      You will have to access NAS by NFS , i.MX6Q board is a host running ubuntu, NAS is a big storage with network interface. You can refer to this website to configure NAS:



Contributor I

Hi,  Weidong:

Thanks for your response.


I'm sorry that my explanation was insufficient.

I want to play video from NAS with "DLNA/UPnP". (not NFS)

Thanks in advice.


0 Kudos