AnsweredAssumed Answered

How to play video from NAS.

Question asked by HIROTO NAKAJYO on Jan 15, 2014
Latest reply on Jan 15, 2014 by HIROTO NAKAJYO

Hello,
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 http://192.168.11.5/data-share/sample.mpeg, the video played good.
  - "192.168.11.5" is Linux-PC(Ubuntu11.04 installed Apache)

 

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

The output is as follows.

------------------------------------------------------
root@freescale /$  gplay http://192.168.11.4/share/sample.mpeg
playbin2 is employed!
fsl_player_init(): Successfully initialize!
fsl_player_set_media_location(): filename=http://192.168.11.4/share/sample.mpeg
[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: http://192.168.11.4/share/sample.mpeg
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
        [p]Play
        [s]Stop
        [e]Seek
        [a]Pause when playing, play when paused
        [v]Volume
        [m]Switch to mute or not
        [>]Play next file
        [<]Play previous file
        [r]Switch to repeated mode or not
fsl_player_stop()
        [f]Set full screen or not
        [z]resize the width and height
        [t]Rotate
        [c]Setting play rate
        [i]Display the metadata
        [x]eXit
FSL_PLAYER_UI_MSG_INTERNAL_ERROR: internal error message received.
fsl_player_stop()
player_exit(): No more multimedia files, exit.
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]g_main_loop_thread_fun() quit!
fsl_player_deinit
root@freescale /$
------------------------------------------------------

 

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

------------------------------------------------------

root@freescale /$ gst-launch playbin2 uri=file:///192.168.11.4/share/sample.mpeg
Setting pipeline to PAUSED ...laybin2 uri=file:///192.168.11.4/share/sample.mpeg
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 "/192.168.11.4/share/sample.mpeg"
Setting pipeline to NULL ...
Freeing pipeline ...
root@freescale /$
------------------------------------------------------

 

Ping to NAS is OK. as follows:
------------------------------------------------------

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

--- 192.168.11.4 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.

Outcomes