imx6DL aiurdemux cannot play http stream

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6DL aiurdemux cannot play http stream

832 Views
jiaxingliang
Contributor I

Hi,all:

      gstreamer commnad is:

gst-launch-1.0 playbin uri=http://192.168.1.160:8080/ts

1.when /usr/lib/gstreamer-1.0/libgstaiurdemux.so  exist , will hold at the first frame

Prerolled, waiting for buffering to finish...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock

2.when remove /usr/lib/gstreamer-1.0/libgstaiurdemux.so, it can play , but not smooth

Prerolled, waiting for buffering to finish...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...

       PC vlc http stream setup parameter:

:sout=#transcode{vcodec=h264,vb=800,scale=1,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{mux=ts,dst=:8080/ts} :sout-keep

anyone has the same problem? how to solve it?

Tags (1)
0 Kudos
2 Replies

675 Views
igorpadykov
NXP Employee
NXP Employee

Hi Liang

please try with Demo Images

https://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0_MX6QDLSOLO&appType=license&location=null&P... 

i.MX Software|NXP 

using commands described in sect.7.3.11 HTTP streaming attached Linux Guide.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

675 Views
jiaxingliang
Contributor I

Hi,igorpadykov:

      Thanks for your reply.

I use greamer's files in fsl-image-qt5-validation-imx-xwayland-imx6qdlsolo.tar.bz2.

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

tar jcvf ~/temp/solo_gstreamer_all.tar.bz2 usr/bin/gst* usr/lib/gstreamer-1.0/

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

but still stop at the first frame.

command is:

gst-launch-1.0 souphttpsrc location=http://192.168.1.160:8080/ts ! typefind ! aiurdemux name=demux demux. ! queue max-size-buffers=0 max-size-time=0 ! vpudec ! overlaysink

log is :

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

root@imx6dlsabresd:~# gst-launch-1.0 souphttpsrc location=http://192.168.1.160:8080/ts ! typefind ! aiurdemux name=demux demux. ! queue max-size-buffers=0 max-size-time=0 ! vpudec ! overlaysink
[INFO] Product Info: i.MX6Q/D/S
====== OVERLAYSINK: 4.1.4 build on Sep 16 2016 15:22:38. ======
Setting pipeline to PAUSED ...
display(/dev/fb0) resolution is ([ 386.853286] mxc_v4l2_output v4l2_out: Bypass IC.
1024x768).
[ 386.860797] mxc_v4l2_output v4l2_out: Bypass IC.
[INFO] Product Info: i.MX6Q/D/S
====== VPUDEC: 4.1.4 build on Sep 16 2016 15:22:43. ======
wrapper: 1.0.68 (VPUWRAPPER_ARM_LINUX Build on Feb 26 2017 18:46:34)
vpulib: 5.4.35
firmware: 3.1.1.46072
Pipeline is PREROLLING ...

====== AIUR: 4.1.4 build on Sep 16 2016 15:22:10. ======
Core: BLN_MAD-MMLAYER_MPG2PARSER_04.04.54 build on Aug 4 2016 03:50:16
file: /usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1
Mpeg2CreateParser:parser created successfully
------------------------
Track 00 [audio_0] Enabled
Duration: 0:00:00.000000000
Language: und
Mime:
audio/mpeg, mpegversion=(int)1, channels=(int)2, rate=(int)44100, bitrate=(int)0
------------------------
------------------------
Track 01 [video_0] Enabled
Duration: 0:00:00.000000000
Language: und
Mime:
video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)byte-stream, width=(int)176, height=(int)144, framerate=(fraction)30/1
------------------------
0:00:00.654270667 1662 0x130b3b0 WARN aiurdemux aiurdemux.c:3222:aiurdemux_send_stream_newsegment: Timestamp unexpect, maybe a core parser bug!
0:00:00.654392000 1662 0x130b3b0 WARN aiurdemux aiurdemux.c:3233:aiurdemux_send_stream_newsegment: Pad audio: Send newseg 0:00:00.000000000 first buffer 5:44:11.945111000
0:00:00.654540333 1662 0x130b3b0 WARN aiurdemux aiurdemux.c:3369:aiurdemux_push_pad_buffer: Pad audio push error type -1

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

0 Kudos