Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

video delay feature #3869

Open
Najar1991 opened this issue Dec 12, 2023 · 23 comments
Open

video delay feature #3869

Najar1991 opened this issue Dec 12, 2023 · 23 comments

Comments

@Najar1991
Copy link

can you add video delay feature "Synchronize live match streaming with audio commentary instead of relying on time, as this feature depends on RAM rather than external memory and is more efficient. This is a popular demand."
FB_IMG_1702177910322

@WanWizard
Copy link
Member

No idea what this is about.

The audio track should have a timing channel, which is used to synchronize audio and video. If that channel is not present, there is nothing to syncrhonize.

@littlesat
Copy link
Member

I have also no idea why you should delay audio this way? Please explain...

@Najar1991
Copy link
Author

No idea what this is about.

The audio track should have a timing channel, which is used to synchronize audio and video. If that channel is not present, there is nothing to syncrhonize.
thanks for reply
Please read this article and you will understand my point
Good morning, everyone! ❤️

Today, I will talk about the differences between Video Delay and Time Shift, and which one is better for you.

The idea emerged after converting the Arabic sports package to secure encryption before the 2014 World Cup.

At that time, Time Shift was introduced, and you needed an external memory to record the content you were watching, with a delay of a certain number of seconds.

The audio source was obtained from external programs, with the most famous being Mixlr with Radio Ashraf.

We continued with this setup until 2017 when the Echon device was introduced, which offered integrated audio and internal Video Delay.

Now, you don't need a storage flash drive or external audio software.

The first company to introduce audio and Video Delay on Sunplus devices was Senator, as they are always pioneers in anything new.

In October 2018, a major leap in this feature occurred in devices that were then called "BeoutQ receivers".

If you've been following this evolution, you'll know how much progress has been made over the years.

It started with just 2.5 seconds of Video Delay and gradually increased to 7, 10, 15, 20, 30, and finally 60 seconds.

In September 2022, the second leap in developing this feature occurred with the addition of Smart Video Delay, and as usual, Senator was the first to add this feature to gx and Sunplus devices.

After a short period, the development of Audio Delay was completed. Now, the audio can be delayed, not just the video.

Can you imagine that expensive Enigma devices still don't have Video Delay and are still working with external Time Shift? 😁

Now, let's get back to the main topic of this post, which is the difference between Time Shift and Video Delay.

The most important difference is that Video Delay relies on RAM for recording content. Since RAM is much faster than flash memory, the read and write operations are faster, resulting in a smoother and more accurate performance.

The second difference is that Video Delay allows you to predefine the number of seconds for the delay from the beginning, and it automatically reaches that delay. This has many advantages, such as automatically going back to the delay time if the channel's encryption is interrupted or if the signal weakens for a second. You won't need to readjust the time again.

The third difference is that Video Delay is easier to adjust the timing, whether it's delaying or advancing by half a second. And with the development of Smart Video Delay, it has become even easier.

On the other hand, Time Shift relies on an external flash drive, which makes it less smooth and accurate. It is affected by server quality. If the decryption is interrupted for a second and resumes, the Time Shift will reset, and you will need to readjust it from the beginning. The same applies if the signal is lost and then returns. You will need to do the same procedure.

With Video Delay, you can pause and play with the desired number of seconds, which allows for easier timing adjustments and smoother movement between seconds forward and backward. It provides greater accuracy.

However, the almost sole advantage of Time Shift is that you are not limited by the RAM size of your device since it is not dependent on it. You can increase the delay time even if your device has only half a gigabyte of RAM. It also benefits you if your device has 1 gigabyte of RAM when it comes to Polsat channels and feeds.

Naturally, Video Delay is better than Time Shift because it represents an improvement in the feature, making the user experience easier and better for watching.

Thank you very much, and enjoy watching!

@Najar1991
Copy link
Author

I have also no idea why you should delay audio this way? Please explain...

I explained it above please take alok

@littlesat
Copy link
Member

littlesat commented Dec 12, 2023 via email

@Najar1991
Copy link
Author

Where is this about. Is this about sat tv? Is this about iptv?…. Is this sat tv with a stream for an audio? When there is no sync data between video and audio you can only estimate the sync… but you can never get real sync…Verstuurd vanaf mijn iPhoneOp 12 dec. 2023 om 23:30 heeft Najar1991 @.> het volgende geschreven: I have also no idea why you should delay audio this way? Please explain... I explained it above please take alok —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>

When I watching afootball match on pay channel like polsatsport on hotbird The commentary is in English, and I want to watch in Arabic, so I use a plugin that provides me with the Arabic language, but the sound source is delayed from the broadcast, so I have to time shift to delay the broadcast by a few seconds to match the sound, but the process is not smooth because of the time shift, and that is why I asked for the video delay feature because it is better and there is it. Many devices added

@WanWizard
Copy link
Member

Isn't it then the task of the plugin to deal with that?

@Najar1991
Copy link
Author

Isn't it then the task of the plugin to deal with that?

No the system requires modification because the video delay depends on the ram,the plugin uses the ordinary timeshift which is completely wrong and doesn't work coorrectly,

@WanWizard
Copy link
Member

I have no idea where you get the relation between memory and audio sync from. You'll have to provide more details, because I don't understand what you're on about.

I understand you have video from one source, audio from another, and you want those synced perfectly. This is only possible if the audio has timestamp sync data. If that isn't there, the only thing that can be applied is a general delay.

@Najar1991
Copy link
Author

I have no idea where you get the relation between memory and audio sync from. You'll have to provide more details, because I don't understand what you're on about.

I understand you have video from one source, audio from another, and you want those synced perfectly. This is only possible if the audio has timestamp sync data. If that isn't there, the only thing that can be applied is a general delay.

If you know the difference between video delay and timeshift you will understand what I mean I want video delay feature to use it to delay Video afew seconds on any channel instead of time shift

@Najar1991
Copy link
Author

I have no idea where you get the relation between memory and audio sync from. You'll have to provide more details, because I don't understand what you're on about.

I understand you have video from one source, audio from another, and you want those synced perfectly. This is only possible if the audio has timestamp sync data. If that isn't there, the only thing that can be applied

I have no idea where you get the relation between memory and audio sync from. You'll have to provide more details, because I don't understand what you're on about.
I understand you have video from one source, audio from another, and you want those synced perfectly. This is only possible if the audio has timestamp sync data. If that isn't there, the only thing that can be applied is a general delay.
take alok at this link
https://youtu.be/OFOPJCI8H1E?si=2Tnq3CBEXEfmkKm9

@WanWizard
Copy link
Member

WanWizard commented Dec 13, 2023

Oh, you want to delay the video, not the audio.

I don't see how that could be done. Unlike media players, an STB processes video in hardware, which is why timeshift (recording + delayed playback) is used as a workaround if a delay is needed.

@Najar1991
Copy link
Author

I know, but this method is a failure and is very old because it relies on external memory. There are devices like the one you saw that rely on video delay, but using RAM memory, and this method is better than timeshift, because when a disturbance occurs in the signal or code, a shift occurs, but the video delay feature remains constant.

@WanWizard
Copy link
Member

I don't see an in-memory timeshift happen any time soon.

@littlesat
Copy link
Member

When you want to delay a stream for minutes and it is the video you neer to delay you need a lot of RAM and in addition over relative short times it also will get out of syncS actually this will never work properly as there is simply non timing reference to lock the tv stream with that audio stream... you only can approach it in practice for a relatively short time and you can adjust it again and again and again.

@Najar1991
Copy link
Author

When you want to delay a stream for minutes and it is the video you neer to delay you need a lot of RAM and in addition over relative short times it also will get out of syncS actually this will never work properly as there is simply non timing reference to lock the tv stream with that audio stream... you only can approach it in practice for a relatively short time and you can adjust it again and again and again.

Can you take alok at this video
this device have gx6605h which is very weak comparing the. enigma2 processor
https://youtu.be/OFOPJCI8H1E?si=ENRfE9kBtI8pty ng
and here is another device called icon iron pro with hi silicon processor android 7
https://youtu.be/Rg68gyBo77M?si=orUd42YMKCQZuJvp

@Najar1991
Copy link
Author

When you want to delay a stream for minutes and it is the video you neer to delay you need a lot of RAM and in addition over relative short times it also will get out of syncS actually this will never work properly as there is simply non timing reference to lock the tv stream with that audio stream... you only can approach it in practice for a relatively short time and you can adjust it again and again and again.

We need only seconds not minutes at maximum 30 second, can be done????

@littlesat
Copy link
Member

30 sec is already a lot of ram or timeshift with help of hdd (or other media required) and then the result is that a lot of resyncs are required especially when it is longer and longer.... good idea but somehow it never can work from the technical standpoint

@Najar1991
Copy link
Author

30 sec is already a lot of ram or timeshift with help of hdd (or other media required) and then the result is that a lot of resyncs are required especially when it is longer and longer.... good idea but somehow it never can work from the technical standpoint

There are very weak devices that work on them with full efficiency, such as examples of devices that come with a GX processor and 1GB of RAM. I have uploaded a video on YouTube to perform this feature. If it is not possible to perform this feature, I request that the time shift be installed so that it does not get displaced even if there is an interruption for one second.

@WanWizard
Copy link
Member

WanWizard commented Jul 19, 2024

Every OpenPLi image has built-in timeshift as standard, all you need to do is define which storage is to be used for the timeshift recording, and enable it.

@Najar1991
Copy link
Author

Every OpenPLi image has built-in timeshift as standard, all you need to do is define which storage is to be used for the timeshift recording, and enable it.

I know that already, If you are watching a match on an encrypted channel and want to hear the commentary in a different language, using Plugin will provide you with this commentary, but the audio commentary will be a few seconds behind the broadcast. In this case, use timeshift to keep up with the broadcast, but when the channel code is interrupted for a moment, a shift to timeshift occurs and I have to adjust it from new Here is the difference between time shift and video delay. Time shift causes migration, but video delay remains fixed and does not move.

@WanWizard
Copy link
Member

You're still barking up the wrong tree.

Both the video and the audio track have timing information. What the plugin should do, is timeshift both the video and if needed the separate audio, take the video track, use its timing to delay it, get the seperate audio track, mux the two and send that to the STBs demuxer for playback. This is not functionality that should be in Enigma.

@WanWizard
Copy link
Member

There has been a similar discussion on our forum: https://forums.openpli.org/topic/89786-ander-geluid-onder-viaplay. in Dutch, so you might have to use Google Translate, It discusses several options for exactly your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants