-
Notifications
You must be signed in to change notification settings - Fork 141
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
[BUG] Firefox ends song after a couple of seconds #327
Comments
Firefox is not supported at this time for this exact reason. I have not been able to solve it yet |
After some more testing, it seems like the issue is from using the .mp4 file type. I tried with .webm files and was able to play through entire videos without problem. |
I am getting a similar issue where the base install onto an RPi4 is crashing songs back to the splash screen a few seconds into the song. I'm having trouble finding log information but will keep checking. There were no configuration changes made to the install. |
As it turns out this has to do with the ffmpeg encoding. This flag: |
I've been messing around with converting the MP4 to HLS streaming and it seems to be working on firefox/safari on my local build. I've been wanting to add a feature for myself where you can fast forward and it led me into a rabbit hole. Seems like webplayers don't really like MP4 streaming, I got better results using FFMPEG to convert the MP4 to a HLS stream and then using that to play the video. It does create extra files though and transcodes on the fly so it might not work well with lower powered machines |
That 'on-the-fly' aspect would probably clobber (or at least limit) pitch-transpose capability too. |
Mp4 streaming in Safari and Firefox work fine with the new -b (full
buffering flag) in this branch
#447
This option fully transcodes the song to disk before playing. If running on
a modern computer the time to transcode is negligible.
This should solve streaming and transpose bad quality issues though there
will be some extra time up front on old pi versions.
…-v
On Thu, Dec 26, 2024 at 4:39 PM Hartebee5t ***@***.***> wrote:
That 'on-the-fly' aspect would probably clobber (or at least limit)
pitch-transpose capability too.
—
Reply to this email directly, view it on GitHub
<#327 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7KXNXJQ56M34LVG6DAQBL2HSOSJAVCNFSM6AAAAABUGVVTTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTGE4TOMBXGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I went into app.py and made the following changes:
#from selenium.webdriver.chrome.options import Options
#from selenium.webdriver.chrome.service import Service
from selenium.webdriver.firefox.options import Options
from selenium.webdriver.firefox.service import Service
#options.add_experimental_option("excludeSwitches", ['enable-automation'])
#driver = webdriver.Chrome(service=service, options=options)
driver = webdriver.Firefox(service=service, options=options)
Then I ran the program (on Windows) and started a video, which worked fine at first, except every video I try plays for only 2 seconds before ending. From looking at the network inspector it seems "end_song" gets called for some reason.
The text was updated successfully, but these errors were encountered: