Jump to content


Photo

Jumping over the cut-away places


  • Please log in to reply
14 replies to this topic

#1 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 18 July 2015 - 18:12

Or someone could show me the place where in enigma has realized jumping over the cut-away places when playing the file.
I see that christophecvr has added cuesheet support in servicemp3.
My C++ knowledge is very low, but as far i understand, in servicemp3 the cue data are loaded and stored, but I can not find where this data is used to skip the cut moments.

 



Re: Jumping over the cut-away places #2 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 18 July 2015 - 19:14

Hi, look in Screens.InfoBarGenerics.InfoBarCueSheetSupport



Re: Jumping over the cut-away places #3 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 19 July 2015 - 08:58

Thank you for your response.
Class InfoBarCueSheetSupport I found before then. Unfortunately, I can see that this class is used to create, remove the cutting position, and jumping to positions using a remote control.

When playing then jump is realized somewhere else. I add additional print in this class functions to check it.



Re: Jumping over the cut-away places #4 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 19 July 2015 - 09:48

No the jump is realized by the jumping to positions using a remote control always.

 

But the real jump off media depends on the media type which on it depends which servicexx is used.

 

For servicemp3(there we use gstreamer)  the jump will trigger a seek with flush event.

 

This seek flush wil set all the sinks to the play position off the cut. flush and send the new segment.

 

I did adapt the code with extra debug for me, then I could tell which seek is trigered, But at this time I can't compile (sourcefourge down) and enigma can't be build with bitbake -b xxx .

As long sourcefourge is down there cant be a succesfull recipes parsing (unless I start replacing by every recipe using sourcefourge the autorev to a fix rev)



Re: Jumping over the cut-away places #5 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 July 2015 - 09:57

I have never seen automatic jumping. Your box can do it? Do you have perhaps installed a special plugin?

Edit off topic: You can compile e2 with bitbake -b. So you can build e2 binary at the moment. But no complete image.

Edited by betacentauri, 19 July 2015 - 09:58.

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

Re: Jumping over the cut-away places #6 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 19 July 2015 - 10:25

I have never seen automatic jumping. Your box can do it? Do you have perhaps installed a special plugin?

Edit off topic: You can compile e2 with bitbake -b. So you can build e2 binary at the moment. But no complete image.

There is nothing automatic on it.

 

You need to use the < > buttons on remote control to jump between the cuts when media is playing.



Re: Jumping over the cut-away places #7 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 19 July 2015 - 18:08

I have never seen automatic jumping. Your box can do it? Do you have perhaps installed a special plugin?

 

I am using a standard enigma plugin CutListEditor to cut advertising in records from the receiver. As I understand (maybe I'm wrong), then jump over the cut position provide cuesheet.
Do you want to say that it is not working on your receiver?
But unfortunately I can not find where this jump is in the enigma code.



Re: Jumping over the cut-away places #8 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 July 2015 - 19:14

I currently only know the manual cut list where you can use 0 to mark a position and the automatic "recording start" and "recording end" marks. Then you can use < > keys to jump to the marks. I have never used cut list editor until now.

Do I understand you right, that when you use the editor the playback automatically jumps over marked advertisements? So without pressing any key?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Jumping over the cut-away places #9 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 20 July 2015 - 06:43

Yes you understand correctly. In CutListEditor I set where cutting starts and where ends, and playback automatically jumps over marked advertisements.



Re: Jumping over the cut-away places #10 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 July 2015 - 06:47

Maybe code for it is in InfoBarGenerics.py or InfoBar.py. But I didn't found it yesterday, when I searched for it.

 

You use normal built-in mediaplayer?


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

Re: Jumping over the cut-away places #11 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 20 July 2015 - 06:56

P.S.

I do not have mipsel receiver and the original openpli image, but I'll be very surprised if on the original image that not working.

 

This works with records that are recorded using servicedvb, when they are playing with a standard enigma media player.



Re: Jumping over the cut-away places #12 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 20 July 2015 - 08:19

As far I could see into the servicedvb they have nothing implemented for that.

 

Must be an add from plugin self by for example adding a cut with another type code.

 

Depending on this they trigger a jump.

 

The jump self just triggers here the example from service.mp3

action ->  DirectionActions moveUp
unknown action DirectionActions/moveUp! typo in keymap?
action: jumpPreviousMark
action ->  InfobarSeekActions jumpPreviousMark
<316274.382922> [eServiceMP3] seekTo(pts_t to)


Re: Jumping over the cut-away places #13 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 20 July 2015 - 13:46

Plugins himself not trigger a jump. He only added in/out marks: https://github.com/O...istEditor/ui.py
Log not have any information at that moment when the jump occurs, and therefore I can not understand from where it's comes.
Wherever I look in the Enigma code, there is always some debug to any action.



Re: Jumping over the cut-away places #14 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 20 July 2015 - 16:41

I think that I found what I was looking.
Jumping is in dvb.cpp in getNextSourceSpan what is called from filepush.
I do not know yet why there was nothing in the log when watching a short record, while watching a long record I saw in the log:

[eDVBChannel] skip
[eDVBChannel] result: 487316492, 2f54a99c (487316492 1281394088)


Re: Jumping over the cut-away places #15 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 21 July 2015 - 07:12

 

I do not know yet why there was nothing in the log when watching a short record, while watching a long record I saw in the log:

 

I do not really know what You mean whit that phrase, But I gues You meant that You did not have any log msg about the jump performed by the plugin which make auto jump over advertisement possible.

Then it's just no eDebug in the cpp is forseen for that or no log output is provided in the plugin about the event.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users