Jump to content


Photo

GStreamer 1.0

gstreamer 1.0 openpli

  • Please log in to reply
2520 replies to this topic

Re: GStreamer 1.0 #1561 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 26 July 2015 - 10:00

@samsamsam

As far as I know we are not using synchronization against clock, since in dvbmediasink it's turned off, so synchronization is done only by drivers.

 

How is gstreamer1.0 behaving unstable for you?

 

I was using eplayer3 on ipbox55hd, but it was some time ago. Negative thing I remember was that sometimes there were spinners on loading streams or seeking in them. It looked like that these operations were running within main thread, so gstreamer experience looked smoother, otherwise there weren't problems.

 

Can you provide link to latest eplayer3 and servicemp3 for eplayer3 sources?

 

Thanks

 

You compare very old STB ipbox55hd with VU+? Do you know why you have spinner? Because there was software decoding of AAC enableded.

Why? Due to problem with drivers. Sometimes after inserting AAC PES the drivers stuck the same problem exists with gstreamer. As workaround in eplayer3 the software decoding of AAC was enabled.

 

The clue is to make player based on ffmpeg. It not need to be libeplayer3. 

I'm not going to convince anyone here. If you really think that gstreamer 1.X is stable OK keep going :)

But, before this please try to play FLV file at lease for 3 hours and check how many memory is taken by E2 process. Thats all :)


Edited by samsamsam, 26 July 2015 - 10:04.


Re: GStreamer 1.0 #1562 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 26 July 2015 - 10:09

I'm not comparing ipbox55hd with vu+. I was comparing ipbox55hd with eplayer3 with ipbox55hd with gstreamer0.10. In my experience It was smoother with gstreamer0.10 when dealing with streams, but things probably changed since then..



Re: GStreamer 1.0 #1563 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 26 July 2015 - 10:14

fast rewind back does not work...... yet.

 

Why the yet ? Well the current way off work with : GST_SEEK_FLAG_SKIP

Will be deprecated. However the change is since gst 1.6 that's what they say in gstreamer manual.

The we will be able to use seekflags.

GST_SEEK_FLAG_TRICKMODE | GST_SEEK_FLAG_TRICKMODE_NO_AUDIO

 

This should make it possible to do fast forward with up to x32 for all audio. And maybe even fast rewind will work then.

 

extract gstreamer manual:

 

http://gstreamer.fre...ml#GstSeekFlags

 

I think it will never work. Not without driver (and DVB API) changes.

Look at these slides:

https://coaxion.net/...2014/slides.pdf

 

Page 13 shows the data ABCDEF...WXY. For reverse playback the demuxer have to read the GOPs from right to left (as shown in the second row). Gstreamer can handle that. Ok. Now the data is send to the decoder (= box drivers / hardware). You need to inform the drivers that it should playback the frames in the reverse order. YXWVU and not UVWXY. How can you do that? You can't, because the DVB API only knows fast forward.

http://www.linuxtv.o...000000000000000

http://www.linuxtv.o...000000000000000

 

I guess that's why fast rewind also for TS files is not handled in HW (drivers).


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 1.0 #1564 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 26 July 2015 - 10:38

Indeed. Every kind of trick mode must have support in the drivers and in the decoders (hardware).


Edited by Erik Slagter, 26 July 2015 - 10:38.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: GStreamer 1.0 #1565 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 July 2015 - 10:39

@betacentauri.

 

Yes it's possible that fast rewind will not  be possible. however i've got some hopes cause we can rewind in function off frame-key then . But indeed could be that it won't work with the current dvb drivers.

 

gst-1 has well good api support which was not the case by gst-0.10. But if api does not support back indeed fast rewind will not work.


Edited by christophecvr, 26 July 2015 - 10:41.


Re: GStreamer 1.0 #1566 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 July 2015 - 10:46

Also a small note for persons ho build image with gst-1, perviousely we used a patch disable-subtitle-hack  in to the current enigma2.bb for gst-1 on github this patch is not included anymore. With the latest enigma2 update its done automatically for gst-1 (only).

 

Persons who did not update to the latest pli gst-1 branch and are using an own made enigma2.bb do not forget to remove the patch out off you're own enigma2.bb



Re: GStreamer 1.0 #1567 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 26 July 2015 - 11:13

Fast rewind can be handled based on IFRAME only, but what for? Do you really use that?
You can inject IFRAME's only and then there is no need to support in drivers.
 
Why you not use this feature on PC? Because you have free jump...
 
Art for art's sake.

Edited by samsamsam, 26 July 2015 - 11:18.


Re: GStreamer 1.0 #1568 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 26 July 2015 - 11:15

I'm not comparing ipbox55hd with vu+. I was comparing ipbox55hd with eplayer3 with ipbox55hd with gstreamer0.10. In my experience It was smoother with gstreamer0.10 when dealing with streams, but things probably changed since then..

 

Once again because I think you do not understood:

 


Do you know why you have spinner? Because there was software decoding of AAC enableded.

Why? Due to problem with drivers. Sometimes after inserting AAC PES the drivers stuck the same problem exists with gstreamer. As workaround in eplayer3 the software decoding of AAC was enabled.

 

OK now?



Re: GStreamer 1.0 #1569 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 26 July 2015 - 11:37

What media framework is used by the Chrome browser?

Yes. This is ffmpeg.

 

Part of project using ffmpeg:

https://trac.ffmpeg.org/wiki/Projects

 

Oh gstreamer use ffmpeg hehe

But ffmpeg not use gstreamer.

 

Only saying others are using it, doesn't really help. It's no "proof" that it's better. Also memory consumption is for me a minor advantage. Current boxes have plenty of it.

What are the real advantages of ffmpeg? Which files can be played with ffmpeg which cannot be played with gstreamer? Or what streams are working better? If there are any, what is better? No interruptions, better support for seeking,...??


Edited by betacentauri, 26 July 2015 - 11:37.

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 1.0 #1570 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 July 2015 - 11:54

Note I curently updated to gst-1.5.2. Both boxes (dm8000 and vuduo2) with updated github enigma2 are running perfect.

 

For the ones interested here the gstreamer recipes with gst-1.5.2

 

I could make a patch for gst-1 branch git.

 

 

Attached Files



Re: GStreamer 1.0 #1571 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 26 July 2015 - 11:55

I'm not going to "proof" any one. 

The problem is that You and several persons "beelive" in gstreamer. It is OK. But please make the simple test with FLV file and we will see "memory consumption is for me a minor advantage.". And than check if memory is free after playback stop.



Re: GStreamer 1.0 #1572 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 26 July 2015 - 11:56

Note I curently updated to gst-1.5.2. Both boxes (dm8000 and vuduo2) with updated github enigma2 are running perfect.

 

For the ones interested here the gstreamer recipes with gst-1.5.2

 

I could make a patch for gst-1 branch git.

 

Are you using only local media to test? Or maybe you try also IPTV streams?



Re: GStreamer 1.0 #1573 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 July 2015 - 12:01

I already tested with some iptv streams and it worked.

 

If some can send me some links iptv streams I can insert it in a bouquets and test more explicit.



Re: GStreamer 1.0 #1574 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 26 July 2015 - 12:01

What are the real advantages of ffmpeg? Which files can be played with ffmpeg which cannot be played with gstreamer?

 

The main reason why I, on my sh4 receiver don't want use gstreamer, is that it doesnt know how to play my previous receiver records.
You can try: https://taapat-enigm...ets_LTV1(1).mpg
It is a record with a lot of waste in it. Of course this is the exception, but libeplayer plays it with no problems, as well as many other formats.

For example, using libbluray library in ffmpeg it knows how to automatically select bluray tracks.

My C++ knowledge is very low but I've tried to create a separate file for libeplayer, based on servicemp3: https://bitbucket.or...l.cpp?at=master
As you can see in the code it is many times simpler.

 

But I agree with littlesat that a lot of energy and knowledge is investment in gstreamer, and I do not believe that anyone will want to change something.



Re: GStreamer 1.0 #1575 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 July 2015 - 12:13

Indeed that old file does not play it gives :

root@dm8000:/media/VIDAUD# gst-launch-1.0 playbin --gst-debug=dvbaudiosink:4,dvbvideosink:4 uri=file:///media/VIDAUD/Joca_pec_alfabets.mpg
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTSDemux:tsdemux0: Internal data stream error.
Additional debug info:
/home/christophe/openpli40-gst1/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.2-r0/gst-plugins-bad-1.5.2/gst/mpegtsdemux/mpegtsbase.c(1338): mpegts_base_loop (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTSDemux:tsdemux0:
No program activated before EOS
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


Re: GStreamer 1.0 #1576 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 July 2015 - 12:22

It is well curious as other ts media does it well and that movie was even recorded on an old dm7020 with enigma1

root@dm8000:/media/MOVIE/movie# gst-launch-1.0 playbin --gst-debug=dvbaudiosink:4,dvbvideosink:4 uri=file:///media/MOVIE/movie/PLATOON.ts
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: Teletext decoder
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'application/x-teletext'.
Additional debug info:
/home/christophe/openpli40-gst1/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.5.2-r0/gst-plugins-base-1.5.2/gst/playback/gsturidecodebin.c(939): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
0:00:00.714817742  3763 0x753148c0 INFO            dvbaudiosink gstdvbaudiosink.c:1417:gst_dvbaudiosink_change_state:<dvbaudiosink0> GST_STATE_CHANGE_NULL_TO_READY
0:00:00.784694112  3763 0x75313b80 INFO            dvbvideosink gstdvbvideosink.c:1788:gst_dvbvideosink_change_state:<dvbvideosink0> GST_STATE_CHANGE_NULL_TO_READY
0:00:00.841497260  3763 0x75313b80 INFO            dvbvideosink gstdvbvideosink.c:1792:gst_dvbvideosink_change_state:<dvbvideosink0> GST_STATE_CHANGE_READY_TO_PAUSED
WARNING: from element /GstPlayBin:playbin0/GstPlaySink:playsink: No volume control found
Additional debug info:
/home/christophe/openpli40-gst1/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.5.2-r0/gst-plugins-base-1.5.2/gst/playback/gstplaysink.c(2875): gen_audio_chain (): /GstPlayBin:playbin0/GstPlaySink:playsink:
Volume/mute is not available
0:00:00.994811186  3763 0x75313b80 INFO            dvbaudiosink gstdvbaudiosink.c:1422:gst_dvbaudiosink_change_state:<dvbaudiosink0> GST_STATE_CHANGE_READY_TO_PAUSED
0:00:01.007169778  3763   0xc29d20 INFO            dvbaudiosink gstdvbaudiosink.c:686:gst_dvbaudiosink_event:<dvbaudiosink0> EVENT stream-start
0:00:01.010675149  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:382:gst_dvbvideosink_event:<dvbvideosink0> EVENT stream-start
0:00:01.025085038  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:382:gst_dvbvideosink_event:<dvbvideosink0> EVENT caps
0:00:01.027817001  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:1247:gst_dvbvideosink_set_caps:<dvbvideosink0> caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true, width=(int)544, height=(int)576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)24/17, codec_data=(buffer)000001b322024023249f23821020202620262c2c2c2c2c2c343034363636343434343636363a3a3a4444443a3a3a36363a3a404044444a4c4a464644464c4c50505060605c5c7070748a8aa710111112121213131313141414141415151515151516161616161616171717171717171718181819181818191a1a1a1a191b1b1b1b1b1c1c1c1c1e1e1e1f1f21000001b51482000100000000, profile=(string)main, level=(string)main, interlace-mode=(string)mixed
0:00:01.035635223  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:1271:gst_dvbvideosink_set_caps:<dvbvideosink0> MIMETYPE video/mpeg2 -> STREAMTYPE_MPEG2
0:00:01.047208408  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:382:gst_dvbvideosink_event:<dvbvideosink0> EVENT segment
0:00:01.048747334  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:476:gst_dvbvideosink_event:<dvbvideosink0> SEGMENT rate=1.000000 format=3 start=702762185 pos=702762185
0:00:01.057343778  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:477:gst_dvbvideosink_event:<dvbvideosink0> SEGMENT DVB TIMESTAMP=63249 HEXFORMAT 0xf711
0:00:01.059716816  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:382:gst_dvbvideosink_event:<dvbvideosink0> EVENT tag
0:00:01.060691519  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:505:gst_dvbvideosink_event:<dvbvideosink0> TAG taglist, video-codec=(string)"MPEG-2\ Video";
0:00:01.066938075  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:382:gst_dvbvideosink_event:<dvbvideosink0> EVENT tag
0:00:01.067762297  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:505:gst_dvbvideosink_event:<dvbvideosink0> TAG taglist, video-codec=(string)"MPEG-2\ Video\ \(Main\ Profile\)";
0:00:01.093108223  3763   0xc29d20 INFO            dvbaudiosink gstdvbaudiosink.c:686:gst_dvbaudiosink_event:<dvbaudiosink0> EVENT caps
0:00:01.094266926  3763   0xc29d20 INFO            dvbaudiosink gstdvbaudiosink.c:400:gst_dvbaudiosink_set_caps:<dvbaudiosink0> MIMETYPE audio/mpeg version 1 layer 2
0:00:01.094994223  3763   0xc29d20 INFO            dvbaudiosink gstdvbaudiosink.c:664:gst_dvbaudiosink_set_caps:<dvbaudiosink0> setting dvb mode 0x01

0:00:01.115142741  3763   0xc29d20 INFO            dvbaudiosink gstdvbaudiosink.c:686:gst_dvbaudiosink_event:<dvbaudiosink0> EVENT segment
0:00:01.118042038  3763   0xc29d20 INFO            dvbaudiosink gstdvbaudiosink.c:785:gst_dvbaudiosink_event:<dvbaudiosink0> GST_EVENT_SEGMENT rate=1.000000 format=3 start=702762185 position=702762185
0:00:01.119789075  3763   0xc29d20 INFO            dvbaudiosink gstdvbaudiosink.c:786:gst_dvbaudiosink_event:<dvbaudiosink0> SEGMENT DVB TIMESTAMP=63249 HEX=0xf711
0:00:01.121429852  3763   0xc29d20 INFO            dvbaudiosink gstdvbaudiosink.c:686:gst_dvbaudiosink_event:<dvbaudiosink0> EVENT tag
0:00:01.122133630  3763   0xc29d20 INFO            dvbaudiosink gstdvbaudiosink.c:830:gst_dvbaudiosink_event:<dvbaudiosink0> TAG taglist, minimum-bitrate=(uint)256000, bitrate=(uint)256000, maximum-bitrate=(uint)256000;
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
0:00:01.146770705  3763   0xc95160 INFO            dvbaudiosink gstdvbaudiosink.c:1433:gst_dvbaudiosink_change_state:<dvbaudiosink0> GST_STATE_CHANGE_PAUSED_TO_PLAYING
0:00:01.151726705  3763   0xc95160 INFO            dvbvideosink gstdvbvideosink.c:1803:gst_dvbvideosink_change_state:<dvbvideosink0> GST_STATE_CHANGE_PAUSED_TO_PLAYING
0:00:01.179300741  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:615:video_write:<dvbvideosink0> VIDEO_EVENT 1
0:00:01.190414667  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:382:gst_dvbvideosink_event:<dvbvideosink0> EVENT tag
0:00:01.191269926  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:505:gst_dvbvideosink_event:<dvbvideosink0> TAG taglist, minimum-bitrate=(uint)1429600, bitrate=(uint)1431840, maximum-bitrate=(uint)1429600;
0:00:01.199982371  3763   0xc29cf0 INFO            dvbvideosink gstdvbvideosink.c:382:gst_dvbvideosink_event:<dvbvideosink0> EVENT tag
New clock: GstSystemClock


Re: GStreamer 1.0 #1577 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 July 2015 - 12:40

@samsam  this stream m3 suise works for example perfect . Here an exesif log output from vuduo2 . Stream plays within 2 seconds after ok is pressed.

playing 4097:0:1:0:0:0:0:0:0:0:rtmp%3a//rtmp.infomaniak.ch/livecast playpath=tvm3 swfUrl=http%3a//static.infomaniak.ch/livetv/playerMain-v4.2.9.swf?sTitle=&sVersion=4.2.9&sDescription= pageUrl=http%3a//livevideo.infomaniak.com/iframe.php?stream=tvm3&name=html5&player=922:TV M3
<  3655.272182> [eDVBCAService] free slot 0 demux 0 for service 1:0:1:10E0:418:1:C00000:0:0:0:
<  3655.272424> [eDVBCAService] free service 1:0:1:10E0:418:1:C00000:0:0:0:
<  3655.284951> [eTSMPEGDecoder] decoder state: play, vpid=ffffffff, apid=ffffffff
<  3655.285235> [eDVBPCR0] DEMUX_STOP ok
<  3655.285462> [eDVBPCR0] destroy
<  3655.285611> [eDVBVideo0] DEMUX_STOP  ok
<  3655.286627> [eDVBVideo0] VIDEO_STOP ok
<  3655.289520> [eDVBVideo0] destroy
<  3655.289713> [eDVBAudio0] AUDIO_STOP ok
<  3655.314234> [eDVBAudio0] DEMUX_STOP ok
<  3655.314404> [eDVBAudio0] AUDIO_CONTINUE ok
<  3655.321777> [eDVBAudio0] destroy
<  3655.321882> [eDVBText0] DEMUX_STOP ok
TuxTxt stopped service 28
<  3655.324925> [eDVBText0] destroy
cleaning up
TuxTxt cache cleared
<  3655.329744> [eDVBResourceManager] start release channel timer
<  3655.331755> [eServiceMP3] construct!
getResolvedKey config.mediaplayer.extraHeaders failed !! (Typo??)
<  3655.333660> [eServiceMP3] playbin uri=rtmp://rtmp.infomaniak.ch/livecast playpath=tvm3 swfUrl=http://static.infomaniak.ch/livetv/playerMain-v4.2.9.swf?sTitle=&sVersion=4.2.9&sDescription= pageUrl=http://livevideo.infomaniak.com/iframe.php?stream=tvm3&name=html5&player=922
<  3655.360822> [eServiceMP3] starting pipeline
0:00:58.207721595  4641   0x766b80 INFO                 subsink gstsubsink.c:462:gst_sub_sink_change_state:<subtitle_sink> GST_STATE_CHANGE_NULL_TO_READY
resolved to PLAY
<  3655.573829> [eServiceMP3] gst_element_query_position failed in getPlayPosition
resolved to PLAY
<  3655.576131> [eServiceMP3] gst_element_query_position failed in getPlayPosition
resolved to PLAY
<  3655.580136> [eServiceMP3] gst_element_query_position failed in getPlayPosition
new service started! trying to download cuts!
RemovePopup, id = ZapError
<  3655.594707> [eServiceMP3] state transition NULL -> READY
<  3656.405814> [eServiceMP3] Buffering 1 percent done
<  3656.410246> [eServiceMP3] Buffering 4 percent done
<  3656.410908> [eServiceMP3] Buffering 6 percent done
<  3656.411588> [eServiceMP3] Buffering 9 percent done
<  3656.412451> [eServiceMP3] Buffering 10 percent done
<  3656.413149> [eServiceMP3] Buffering 11 percent done
<  3656.413882> [eServiceMP3] Buffering 12 percent done
<  3656.414918> [eServiceMP3] Buffering 13 percent done
<  3656.454168> [eServiceMP3] Buffering 14 percent done
<  3656.454916> [eServiceMP3] Buffering 15 percent done
<  3656.455736> [eServiceMP3] Buffering 16 percent done
<  3656.456600> [eServiceMP3] Buffering 17 percent done
<  3656.465701> [eServiceMP3] Buffering 18 percent done
<  3656.467608> [eServiceMP3] Buffering 19 percent done
<  3656.469183> [eServiceMP3] Buffering 20 percent done
<  3656.470701> [eServiceMP3] Buffering 21 percent done
<  3656.471549> [eServiceMP3] Buffering 22 percent done
<  3656.472298> [eServiceMP3] Buffering 23 percent done
<  3656.473320> [eServiceMP3] Buffering 24 percent done
<  3656.487242> [eServiceMP3] gst_element_query_position failed in getPlayPosition
<  3656.517559> [eServiceMP3] Buffering 25 percent done
<  3656.522130> [eServiceMP3] Buffering 26 percent done
<  3656.523171> [eServiceMP3] Buffering 27 percent done
<  3656.526507> [eServiceMP3] Buffering 28 percent done
<  3656.528131> [eServiceMP3] Buffering 29 percent done
<  3656.528929> [eServiceMP3] Buffering 30 percent done
<  3656.529805> [eServiceMP3] Buffering 31 percent done
<  3656.530643> [eServiceMP3] Buffering 32 percent done
<  3656.532550> [eServiceMP3] Buffering 33 percent done
<  3656.534488> [eServiceMP3] Buffering 34 percent done
<  3656.546353> [eServiceMP3] Buffering 35 percent done
<  3656.548748> [eServiceMP3] Buffering 36 percent done
<  3656.580666> [eServiceMP3] Buffering 37 percent done
<  3656.581646> [eServiceMP3] Buffering 38 percent done
<  3656.584506> [eServiceMP3] Buffering 39 percent done
<  3656.591682> [eServiceMP3] Buffering 40 percent done
<  3656.596528> [eServiceMP3] Buffering 41 percent done
<  3656.597223> [eServiceMP3] Buffering 42 percent done
<  3656.601584> [eServiceMP3] Buffering 43 percent done
<  3656.608339> [eServiceMP3] Buffering 44 percent done
<  3656.614130> [eServiceMP3] Buffering 45 percent done
<  3656.614911> [eServiceMP3] Buffering 46 percent done
<  3656.618244> [eServiceMP3] Buffering 47 percent done
<  3656.624495> [eServiceMP3] Buffering 48 percent done
<  3656.639647> [eServiceMP3] Buffering 49 percent done
<  3656.640554> [eServiceMP3] Buffering 50 percent done
<  3656.641421> [eServiceMP3] Buffering 51 percent done
<  3656.642292> [eServiceMP3] Buffering 52 percent done
<  3656.643147> [eServiceMP3] Buffering 53 percent done
<  3656.643966> [eServiceMP3] Buffering 54 percent done
<  3656.645679> [eServiceMP3] Buffering 55 percent done
<  3656.651812> [eServiceMP3] Buffering 56 percent done
0:00:59.563180150  4641 0x74104060 INFO            dvbvideosink gstdvbvideosink.c:1788:gst_dvbvideosink_change_state:<dvbvideosink0> GST_STATE_CHANGE_NULL_TO_READY
<  3656.801187> [eServiceMP3] Buffering 57 percent done
<  3656.801817> [eServiceMP3] Buffering 58 percent done
<  3656.802457> [eServiceMP3] Buffering 59 percent done
<  3656.803167> [eServiceMP3] Buffering 60 percent done
<  3656.803852> [eServiceMP3] Buffering 61 percent done
<  3656.812333> [eServiceMP3] Buffering 63 percent done
<  3656.813467> [eServiceMP3] Buffering 64 percent done
<  3656.817874> [eServiceMP3] Buffering 65 percent done
<  3656.818955> [eServiceMP3] Buffering 66 percent done
<  3656.820535> [eServiceMP3] Buffering 67 percent done
<  3656.830443> [eServiceMP3] Buffering 68 percent done
<  3656.831096> [eServiceMP3] Buffering 69 percent done
<  3656.831689> [eServiceMP3] Buffering 70 percent done
<  3656.832487> [eServiceMP3] Buffering 71 percent done
<  3656.833270> [eServiceMP3] Buffering 72 percent done
<  3656.833983> [eServiceMP3] Buffering 73 percent done
<  3656.838557> [eServiceMP3] Buffering 74 percent done
<  3656.839323> [eServiceMP3] Buffering 75 percent done
<  3656.840452> [eServiceMP3] Buffering 76 percent done
<  3656.841168> [eServiceMP3] Buffering 77 percent done
<  3656.841797> [eServiceMP3] Buffering 78 percent done
<  3656.842468> [eServiceMP3] Buffering 79 percent done
<  3656.849242> [eServiceMP3] Buffering 80 percent done
<  3656.849968> [eServiceMP3] Buffering 81 percent done
<  3656.856616> [eServiceMP3] Buffering 82 percent done
<  3656.860559> [eServiceMP3] Buffering 83 percent done
<  3656.861273> [eServiceMP3] Buffering 84 percent done
<  3656.862663> [eServiceMP3] Buffering 85 percent done
<  3656.863819> [eServiceMP3] Buffering 86 percent done
<  3656.864597> [eServiceMP3] Buffering 87 percent done
<  3656.868551> [eServiceMP3] Buffering 88 percent done
<  3656.869425> [eServiceMP3] Buffering 89 percent done
<  3656.870866> [eServiceMP3] Buffering 90 percent done
<  3656.871611> [eServiceMP3] Buffering 91 percent done
<  3656.872420> [eServiceMP3] Buffering 92 percent done
<  3656.873550> [eServiceMP3] Buffering 93 percent done
<  3656.880061> [eServiceMP3] Buffering 94 percent done
<  3656.880688> [eServiceMP3] Buffering 95 percent done
<  3656.881393> [eServiceMP3] Buffering 96 percent done
<  3656.889608> [eServiceMP3] Buffering 97 percent done
<  3656.890337> [eServiceMP3] Buffering 98 percent done
<  3656.891112> [eServiceMP3] Buffering 100 percent done
0:00:59.753584890  4641  0x20a3f80 INFO            dvbaudiosink gstdvbaudiosink.c:1417:gst_dvbaudiosink_change_state:<dvbaudiosink0> GST_STATE_CHANGE_NULL_TO_READY
0:00:59.807506409  4641  0x20a3f80 INFO            dvbvideosink gstdvbvideosink.c:1792:gst_dvbvideosink_change_state:<dvbvideosink0> GST_STATE_CHANGE_READY_TO_PAUSED
0:00:59.901014779  4641  0x20a3f80 INFO            dvbaudiosink gstdvbaudiosink.c:1422:gst_dvbaudiosink_change_state:<dvbaudiosink0> GST_STATE_CHANGE_READY_TO_PAUSED
write ret : 192000
write to /dev/lcd2 : 192000
0:00:59.923259261  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:382:gst_dvbvideosink_event:<dvbvideosink0> EVENT stream-start
0:00:59.923844483  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:382:gst_dvbvideosink_event:<dvbvideosink0> EVENT caps
0:00:59.925904149  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:1247:gst_dvbvideosink_set_caps:<dvbvideosink0> caps = video/x-h264, stream-format=(string)avc, pixel-aspect-ratio=(fraction)1/1, width=(int)720, height=(int)574, framerate=(fraction)25/1, codec_data=(buffer)0142002903010031674280299652016824fd602a100000030010000003032e06000b7180004630ff18e3030005b8c00023187f8c70ed0a152401000468cb8d48
0:00:59.926222186  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:1341:gst_dvbvideosink_set_caps:<dvbvideosink0> H264 have codec data..!
0:00:59.926282816  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:1367:gst_dvbvideosink_set_caps:<dvbvideosink0> H264 baseline profile@4.1
0:00:59.926386446  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:1417:gst_dvbvideosink_set_caps:<dvbvideosink0> MIMETYPE video/x-h264 -> STREAMTYPE_MPEG4_H264
0:00:59.943903298  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:686:gst_dvbaudiosink_event:<dvbaudiosink0> EVENT stream-start
0:00:59.962047890  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:382:gst_dvbvideosink_event:<dvbvideosink0> EVENT segment
0:00:59.962164372  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:476:gst_dvbvideosink_event:<dvbvideosink0> SEGMENT rate=1.000000 format=3 start=40000000 pos=40000000
0:00:59.962254261  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:477:gst_dvbvideosink_event:<dvbvideosink0> SEGMENT DVB TIMESTAMP=3600 HEXFORMAT 0xe10
0:00:59.966770186  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:686:gst_dvbaudiosink_event:<dvbaudiosink0> EVENT caps
0:00:59.966944001  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:418:gst_dvbaudiosink_set_caps:<dvbaudiosink0> MIMETYPE audio/mpeg version 4(AAC-RAW)
0:00:59.967063520  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:427:gst_dvbaudiosink_set_caps:<dvbaudiosink0> have codec data -> obj_type = 1, rate_idx = 4, channels = 2

0:00:59.967155557  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:664:gst_dvbaudiosink_set_caps:<dvbaudiosink0> setting dvb mode 0x0b

0:01:00.010426372  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:686:gst_dvbaudiosink_event:<dvbaudiosink0> EVENT segment
0:01:00.010598261  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:785:gst_dvbaudiosink_event:<dvbaudiosink0> GST_EVENT_SEGMENT rate=1.000000 format=3 start=40000000 position=40000000
0:01:00.010762890  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:786:gst_dvbaudiosink_event:<dvbaudiosink0> SEGMENT DVB TIMESTAMP=3600 HEX=0xe10
0:01:00.011059668  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:686:gst_dvbaudiosink_event:<dvbaudiosink0> EVENT tag
0:01:00.011187001  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:830:gst_dvbaudiosink_event:<dvbaudiosink0> TAG taglist, date=(date)2015-07-26, video-codec=(string)H.264;
0:01:00.011800409  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:686:gst_dvbaudiosink_event:<dvbaudiosink0> EVENT tag
0:01:00.011957335  4641 0x741430c0 INFO            dvbaudiosink gstdvbaudiosink.c:830:gst_dvbaudiosink_event:<dvbaudiosink0> TAG taglist, audio-codec=(string)"MPEG-4\ AAC";
<  3657.192350> [eServiceMP3] state transition READY -> PAUSED
<  3657.193963> [eServiceMP3] loading cuesheet
<  3657.194241> [eServiceMP3] cutfile not found!
<  3657.202953> [eServiceMP3] async-done - 1 video, 1 audio, 0 subtitle
<  3657.203403> [eServiceMP3] AUDIO STRUCT=audio/mpeg
<  3657.204419> [eServiceMP3] audio stream=0 codec=MPEG-4 AAC language=und
0:01:00.054053705  4641   0x766b80 INFO            dvbaudiosink gstdvbaudiosink.c:1433:gst_dvbaudiosink_change_state:<dvbaudiosink0> GST_STATE_CHANGE_PAUSED_TO_PLAYING
0:01:00.065573853  4641   0x766b80 INFO            dvbvideosink gstdvbvideosink.c:1803:gst_dvbvideosink_change_state:<dvbvideosink0> GST_STATE_CHANGE_PAUSED_TO_PLAYING
0:01:00.071861075  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:382:gst_dvbvideosink_event:<dvbvideosink0> EVENT tag
0:01:00.072005853  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:505:gst_dvbvideosink_event:<dvbvideosink0> TAG taglist, date=(date)2015-07-26, video-codec=(string)H.264;
<  3657.260328> [eServiceMP3] state transition PAUSED -> PLAYING
0:01:00.098048816  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:615:video_write:<dvbvideosink0> VIDEO_EVENT 1
0:01:00.101291038  4641 0x74170950 INFO            dvbvideosink gstdvbvideosink.c:615:video_write:<dvbvideosink0> VIDEO_EVENT 16
<  3657.292540> [DVBCAHandler] no more services
<  3657.414218> [eServiceMP3] Buffering 9 percent done
<  3657.415725> [eServiceMP3] Buffering 8 percent done
<  3657.418135> [eServiceMP3] Buffering 7 percent done


Re: GStreamer 1.0 #1578 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 26 July 2015 - 13:00

I'm not going to "proof" any one. 

The problem is that You and several persons "beelive" in gstreamer. It is OK. But please make the simple test with FLV file and we will see "memory consumption is for me a minor advantage.". And than check if memory is free after playback stop.

 

You get me wrong. I don't care whether ffmpeg or gstreamer is used as long as it works good. Currently Gstreamer is included and it works. Perhaps not perfect, but quite good. So why should we spend days/weeks to switch to ffmepg? It needs to be worth spending time to change it. If you or someone else show me real advantages, I might help switching to ffmpeg. But perhaps it's also the case that something works worser in ffmepg than in gstreamer... who knows.

 

In gstreamer 0.10 there was a bug, which consumed very much memory when using a file with much subtitles or external subtitles. With gstreamer 1.x I don't have the problem.

 

Do you have a link to a flv test file? Or can I use every flv file?


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 1.0 #1579 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 July 2015 - 13:16

Yes cause subtitles are working ok now, with gst-1 no execif prebuffering more. I now start works to reimplement the vobsub support. (only internal) . This for mkv and m4v movie containers.



Re: GStreamer 1.0 #1580 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 26 July 2015 - 14:27

 

I'm not going to "proof" any one. 

The problem is that You and several persons "beelive" in gstreamer. It is OK. But please make the simple test with FLV file and we will see "memory consumption is for me a minor advantage.". And than check if memory is free after playback stop.

 

You get me wrong. I don't care whether ffmpeg or gstreamer is used as long as it works good. Currently Gstreamer is included and it works. Perhaps not perfect, but quite good. So why should we spend days/weeks to switch to ffmepg? It needs to be worth spending time to change it. If you or someone else show me real advantages, I might help switching to ffmpeg. But perhaps it's also the case that something works worser in ffmepg than in gstreamer... who knows.

 

In gstreamer 0.10 there was a bug, which consumed very much memory when using a file with much subtitles or external subtitles. With gstreamer 1.x I don't have the problem.

 

Do you have a link to a flv test file? Or can I use every flv file?

 

 

Every. The problem is well know. The memory is taken for indexing frames not for subtitles.

 

Why ffmpeg? For example:

How much time was needed to switch to gstreamer 1.x? 

libeplayer3 at start use ffmpeg v0.8 but simple update to ffmpeg v2.7.1 and everything works.


Edited by samsamsam, 26 July 2015 - 14:31.




1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


    Bing (1)