Jump to content


Photo

serviceapp - gstplayer and exteplayer3

gstreamer ffmpeg

  • Please log in to reply
985 replies to this topic

Re: serviceapp - gstplayer and exteplayer3 #81 tecfan69

  • Member
  • 8 posts

0
Neutral

Posted 17 July 2016 - 09:00

i use it with openatv. you have to install ffmpeg as well in order to use it. i did remove a couple of elogs and edebugs because of lots of io messages during exteplayer3 is running. nevertheless i guess openatv dont want to include this feature for unknown reasons.



Re: serviceapp - gstplayer and exteplayer3 #82 saintomer1866

  • Senior Member
  • 48 posts

+2
Neutral

Posted 23 July 2016 - 18:36

Finally got around to giving this a go, and have successfully built a working atv image

from what I can gather it looks like your recipes should go in 'recipes-local',

but to be honest I haven't got a clue, so if you could help me out here it will be very much appreciated

many thanks,

 

St.O



Re: serviceapp - gstplayer and exteplayer3 #83 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 2 August 2016 - 21:29

I am build sericeapp,exteplayer3 v.27 and mediaplayer2.When I put in the media player settings-media framework-exteplayer3(App)-When playing a file with the extension avi-crash

<129533.204> [InfoBarCueSheet] saveLastPosition - not saving position, its within end limit
<129533.204> [InfoBarCueSheet] removeLastPosition - 0:02:50
<129533.218> [InfobarCueSheetSupport] downloadCuesheet - serviceReference type : 1
<129533.230> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129533.230> [SubsEngine] setSubsDelay - setting delay to 0ms
<129533.237> playing 5002:0:0:0:0:0:0:0:0:0:/media/hdd/movie/01.05_18%3a40%3a06 - ÐÐ»ÐµÐºÑ ÐœÐ°Ð»Ð¸Ð½Ð¾Ð²Ñкий - Ðе плачь Ñо мной небо.mp4.mp4
<129533.359> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129533.360> [SubsEngine] setSubsDelay - setting delay to 0ms
<129533.447> resolved to PLAY
<129535.987> [SubsSupport] Service Started
<129535.987> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129535.988> [SubsEngine] setSubsDelay - setting delay to 0ms
<129535.996> resolved to PLAY
<129536.098> new service started! trying to download cuts!
<129536.099> [InfobarCueSheetSupport] downloadCuesheet - serviceReference type : 5002
<129536.099> [CueSheetDAO] getCutList for /media/hdd/movie/01.05_18:40:06 - ÐÐ»ÐµÐºÑ ÐœÐ°Ð»Ð¸Ð½Ð¾Ð²Ñкий - Ðе плачь Ñо мной небо.mp4.mp4
<129541.954> action ->  UpDownActions down
<129542.180> action ->  UpDownActions downUp
<129542.669> action ->  UpDownActions down
<129542.901> action ->  UpDownActions downUp
<129543.348> action ->  UpDownActions up
<129543.580> action ->  UpDownActions upUp
<129544.641> action ->  OkCancelActions ok
<129544.643> [InfoBarCueSheet] saveLastPosition - saving position 0:00:08
<129544.643> [CueSheetDAO] setCutList for /media/hdd/movie/01.05_18:40:06 - ÐÐ»ÐµÐºÑ ÐœÐ°Ð»Ð¸Ð½Ð¾Ð²Ñкий - Ðе плачь Ñо мной небо.mp4.mp4
<129544.666> [CueSheetDAO] setCutList for /media/hdd/movie/01.05_18:40:06 - ÐÐ»ÐµÐºÑ ÐœÐ°Ð»Ð¸Ð½Ð¾Ð²Ñкий - Ðе плачь Ñо мной небо.mp4.mp4 was succesfull
<129544.690> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129544.690> [SubsEngine] setSubsDelay - setting delay to 0ms
<129544.697> playing 5002:0:0:0:0:0:0:0:0:0:/media/hdd/movie/03.08_23%3a38%3a59 - ДÑтел пÑиханул.mp4.mp4
<129544.848> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129544.849> [SubsEngine] setSubsDelay - setting delay to 0ms
<129544.858> resolved to PLAY
<129545.266> [SubsSupport] Service Started
<129545.268> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129545.269> [SubsEngine] setSubsDelay - setting delay to 0ms
<129545.282> resolved to PLAY
<129545.386> new service started! trying to download cuts!
<129545.387> [InfobarCueSheetSupport] downloadCuesheet - serviceReference type : 5002
<129545.388> [CueSheetDAO] getCutList for /media/hdd/movie/03.08_23:38:59 - ДÑтел пÑиханул.mp4.mp4
<129548.008> action ->  UpDownActions down
<129548.337> action ->  UpDownActions downUp
<129549.028> action ->  OkCancelActions ok
<129549.029> [InfoBarCueSheet] saveLastPosition - not saving position, its within end limit
<129549.029> [InfoBarCueSheet] removeLastPosition - nothing to remove
<129549.029> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129549.030> [SubsEngine] setSubsDelay - setting delay to 0ms
<129549.036> playing 5002:0:0:0:0:0:0:0:0:0:/media/hdd/movie/Bad Boys Blue - Pretty young girl.mkv
<129549.182> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129549.182> [SubsEngine] setSubsDelay - setting delay to 0ms
<129549.208> resolved to PLAY
<129553.786> [SubsSupport] Service Started
<129553.787> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129553.787> [SubsEngine] setSubsDelay - setting delay to 0ms
<129553.793> resolved to PLAY
<129553.895> new service started! trying to download cuts!
<129553.895> [InfobarCueSheetSupport] downloadCuesheet - serviceReference type : 5002
<129553.895> [CueSheetDAO] getCutList for /media/hdd/movie/Bad Boys Blue - Pretty young girl.mkv
<129555.580> action ->  UpDownActions down
<129555.806> action ->  UpDownActions downUp
<129559.966> action ->  UpDownActions up
<129560.198> action ->  UpDownActions upUp
<129560.459> action ->  OkCancelActions ok
<129571.599> action ->  UpDownActions down
<129571.825> action ->  UpDownActions downUp
<129572.417> action ->  OkCancelActions ok
<129572.419> [InfoBarCueSheet] saveLastPosition - saving position 0:00:18
<129572.419> [CueSheetDAO] setCutList for /media/hdd/movie/Bad Boys Blue - Pretty young girl.mkv
<129572.469> [CueSheetDAO] setCutList for /media/hdd/movie/Bad Boys Blue - Pretty young girl.mkv was succesfull
<129572.494> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129572.494> [SubsEngine] setSubsDelay - setting delay to 0ms
<129572.501> playing 5002:0:0:0:0:0:0:0:0:0:/media/hdd/movie/BoneyM -- Kalimba De Luna.avi
<129572.705> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129572.705> [SubsEngine] setSubsDelay - setting delay to 0ms
<129572.714> resolved to PLAY
<129573.082> [SubsSupport] Service Started
<129573.082> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129573.082> [SubsEngine] setSubsDelay - setting delay to 0ms
<129573.089> resolved to PLAY
<129573.105> resolved to PAUSE
<129573.106> [InfoBarCueSheet] removeLastPosition - 0:00:18
<129573.107> [CueSheetDAO] setCutList for /media/hdd/movie/BoneyM -- Kalimba De Luna.avi
<129573.153> [CueSheetDAO] setCutList for /media/hdd/movie/BoneyM -- Kalimba De Luna.avi was succesfull
<129573.162> [InfoBarCueSheet] saveLastPosition - cannot save position is None!
<129573.163> playing None
<129573.174> [SubsLoader][info] changing encoding group to: ['utf-8', 'utf-16', 'windows-1250', 'iso-8859-2', 'maclatin2', 'IBM852']
<129573.175> [SubsEngine] setSubsDelay - setting delay to 0ms
<129573.193> service not yet started...
<129573.291> service not yet started...
<129573.390> service not yet started...
<129573.491> service not yet started...
<129573.591> service not yet started...
<129573.690> service not yet started...
<129573.791> service not yet started...
<129573.890> service not yet started...
<129573.990> service not yet started...
<129574.091> service not yet started...
<129574.191> service not yet started...
<129574.288> Traceback (most recent call last):
<129574.288>   File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/subtitles.py", line 1071, in __updateSubs
<129574.295>     subsPath = self.getSubsFileFromSref()
<129574.295>   File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/subtitles.py", line 824, in getSubsFileFromSref
<129574.297>     if os.path.isdir(os.path.dirname(ref.getPath())):
<129574.297> AttributeError: 'NoneType' object has no attribute 'getPath'


Re: serviceapp - gstplayer and exteplayer3 #84 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 3 August 2016 - 06:30

Finally got around to giving this a go, and have successfully built a working atv image

from what I can gather it looks like your recipes should go in 'recipes-local',

but to be honest I haven't got a clue, so if you could help me out here it will be very much appreciated

many thanks,

 

St.O

Sorry for late answer,

Yes, you can put directory serviceapp which contains recipes to recipes-local, you can get some clues how to build it in first post of this topic.

 

@foxbob

Problem in subssupport, I will fix it.



Re: serviceapp - gstplayer and exteplayer3 #85 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 3 August 2016 - 07:37

@foxbob

Please try to run enigma2 with debug level 4:

ENIGMA_DEBUG_LVL=4 enigma2 2> /tmp/e2.log

Start MP2 and try to play BoneyM -- Kalimba De Luna.avi via exteplayer3, then post here e2.log, thanks.



Re: serviceapp - gstplayer and exteplayer3 #86 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 3 August 2016 - 16:24

Ok.Crash log

https://cloud.mail.r.../4xcm/wKktuukPX



Re: serviceapp - gstplayer and exteplayer3 #87 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 3 August 2016 - 18:53

Thanks, it looks like that exteplayer3 starts to play and immediately stops. What happens if you try this while enigma2 is stopped? What is the output?

exteplayer3 "/media/hdd/movie/BoneyM -- Kalimba De Luna.avi"


Re: serviceapp - gstplayer and exteplayer3 #88 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 3 August 2016 - 19:13

vusolo2 login: root
7[r[999;999H[6n8root@vusolo2:~# [6nexteplayer3 "/media/hdd/movie/BoneyM -- Kalimba De Luna.avi"
{"EPLAYER3_EXTENDED":{"version":27}}
file: [file:///media/hdd/movie/BoneyM -- Kalimba De Luna.avi]
{"PLAYBACK_OPEN":{"OutputName":"Output", "file":"file:///media/hdd/movie/BoneyM -- Kalimba De Luna.avi", "sts":0}}
{"OUTPUT_OPEN":{"sts":-1}}
{"PLAYBACK_PLAY":{"sts":0}}
{"v_c":{"id":0,"e":"V_MPEG4","n":"und","w":768,"h":576,"f":25000}}
{"a_l": [{"id":1,"e":"A_MP3","n":"und"}]}
{"a_c":{"id":1,"e":"A_MP3","n":"und"}}
{"s_l": []}
{"s_c":{"id":-1,"e":"","n":""}}
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
[output/writer/mipsel/mp3.c:writeData] file pointer < 0. ignoring ...
Segmentation fault


Re: serviceapp - gstplayer and exteplayer3 #89 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 3 August 2016 - 19:25

What says dmesg?

dmesg

It looks like there is some problem in opening audio device, can you create a sample of this file and send here link so we can check?



Re: serviceapp - gstplayer and exteplayer3 #90 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 3 August 2016 - 19:31

dmesg https://cloud.mail.r.../Kho8/66TjYKEin

 

BoneyM https://cloud.mail.r.../JNiF/fBHnaows3



Re: serviceapp - gstplayer and exteplayer3 #91 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 3 August 2016 - 19:55

Tested on et4x00 and works:

root@et4x00:~# exteplayer3 /media/net/DOMA/Test/BoneyM\ --\ Kalimba\ De\ Luna.avi
{"EPLAYER3_EXTENDED":{"version":28}}
file: [file:///media/net/DOMA/Test/BoneyM -- Kalimba De Luna.avi]
{"PLAYBACK_OPEN":{"OutputName":"Output", "file":"file:///media/net/DOMA/Test/BoneyM -- Kalimba De Luna.avi", "sts":0}}
{"OUTPUT_OPEN":{"sts":0}}
{"PLAYBACK_PLAY":{"sts":0}}
{"v_c":{"id":0,"e":"V_MPEG4","n":"und","w":768,"h":576,"f":25000,"p":-1}}
{"a_l": [{"id":1,"e":"A_MP3","n":"und"}]}
{"a_c":{"id":1,"e":"A_MP3","n":"und"}}
{"s_l": []}
{"s_c":{"id":-1,"e":"","n":""}}
{"v_c":{"id":0,"e":"V_MPEG4","n":"und","w":768,"h":576,"f":25000,"p":1}}
q
{"PLAYBACK_STOP":{"sts":0}}

I will test also on vusolose tomorrow, maybe you could try to build latest exteplayer3 version:

https://github.com/s...teplayer3_28.bb



Re: serviceapp - gstplayer and exteplayer3 #92 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 3 August 2016 - 19:57

Does it work with gstreamer?



Re: serviceapp - gstplayer and exteplayer3 #93 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 3 August 2016 - 19:59

Gstreamer it work.



Re: serviceapp - gstplayer and exteplayer3 #94 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 3 August 2016 - 20:14

Thank you very much for your help.I build exteplayer3_28 and not crash when there is a play.



Re: serviceapp - gstplayer and exteplayer3 #95 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 3 August 2016 - 20:17

Great :), thanks for feedback.



Re: serviceapp - gstplayer and exteplayer3 #96 taljaka

  • Member
  • 9 posts

0
Neutral

Posted 4 August 2016 - 06:16

@mx3L

streams via rtmp protocol can not be played on exteplayer3 , only gstplayer
do you have any idea whats wrong ? thanks in advance

Re: serviceapp - gstplayer and exteplayer3 #97 taljaka

  • Member
  • 9 posts

0
Neutral

Posted 4 August 2016 - 06:32

@mx3L
streams via rtmp protocol can not be played on exteplayer3 , only gstplayer
do you have any idea whats wrong ? thanks in advance



sorry , I forgot to say

is rtmp ever been supported in exteplayer 3
only audio is played back , video can not be played , screen remains black

Re: serviceapp - gstplayer and exteplayer3 #98 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 4 August 2016 - 06:37

They can be played, you just have to build ffmpeg with right options

 

ffmpeg_3.%.bbappend

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI =+ "file://ffmpeg-fix-hls.patch"

EXTRA_FFCONF = " \
    --pkg-config=pkg-config \
    --disable-ffplay \
    --disable-ffserver \
    ${@base_contains('TARGET_FPU', 'soft', ' --disable-mipsfpu', '', d)}"

PACKAGECONFIG[rtmp] = "--enable-librtmp,--disable-librtmp,rtmpdump"
PACKAGECONFIG = "avdevice avfilter avcodec avformat swresample swscale postproc \
                   bzlib theora openssl rtmp gpl \
                   ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xv', '', d)}"

It's in serviceapp_v3 recipes http://forums.openpl...ndpost&p=552167, so if you use this recipes it should play.



Re: serviceapp - gstplayer and exteplayer3 #99 taljaka

  • Member
  • 9 posts

0
Neutral

Posted 4 August 2016 - 06:43

thank you mx3L, I will test this evening , I have apparently overlooked

Re: serviceapp - gstplayer and exteplayer3 #100 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 4 August 2016 - 06:45

 

@mx3L
streams via rtmp protocol can not be played on exteplayer3 , only gstplayer
do you have any idea whats wrong ? thanks in advance



sorry , I forgot to say

is rtmp ever been supported in exteplayer 3
only audio is played back , video can not be played , screen remains black

 

Yes, rtmp streams are working. If audio is played it means there should be no problem with rtmp protocol, can you share a link?





8 user(s) are reading this topic

0 members, 8 guests, 0 anonymous users