namidaco / namida

A Beautiful and Feature-rich Music & Video Player with Youtube Support, Built in Flutter
Other
2.27k stars 137 forks source link

[ISSUE] Waveform is not displaying #390

Open fakeowl1 opened 1 week ago

fakeowl1 commented 1 week ago

OS: Lineage 21 Unofficial Android: 14

Screenshots

photo_2024-11-04_23-11-14

Logs

logs_3.8.5_240805177 (2).txt Another log file is empty idk why

Antiwh0re commented 1 week ago

I confirm. And it happens seemingly randomly - one song has the waveform, and then the next one from the same album in the same format doesn't have it. My OS is based on Android 11.

MSOB7YY commented 1 week ago

this most likely due to the format being unsupported by the waveform library, can u send a sample file?

fakeowl1 commented 6 days ago

@MSOB7YY https://drive.google.com/file/d/1pmBAv2VrZkiPPzH0QqGCGbXfrrjc88Yz/view?usp=drivesdk

MSOB7YY commented 6 days ago

@fakeowl1 what da.. Screenshot_20241106-153025_Namida

MSOB7YY commented 6 days ago

i forgot to ask are these playing from yt or they local? cuz if yt, it needs to be fully cached/downloaded first

fakeowl1 commented 6 days ago

@MSOB7YY I downloaded from YouTube

MSOB7YY commented 6 days ago

damn thats crazy

Antiwh0re commented 5 days ago

It's not just youtube. It happens to local files as well. And I've written above that it's not a certain format issue - app shows the wave for one song of certain format and then fails to show it for the next song of the same format.

Antiwh0re commented 4 days ago

There's a fresh example. I select a song from the queue (or whatever it's called) and it plays like this: Screenshot_20241108-103643_Namida The next one in the queue starts and plays in the same way: Screenshot_20241108-104102_Namida Then I go back to the artist's song list and select another one and then it finally shows the wave: Screenshot_20241108-111243_Namida

MSOB7YY commented 4 days ago

so "sentinel" and "tomorrow never ends" both still doesnt show waveform no matter what?

Antiwh0re commented 4 days ago

As stupid as it is, they don't. I've just launched the player again (it was truly closed) and despite a fresh start they're still not showing. Pro Victoria is showing, some other songs are showing too, but these don't (and some others don't). And these are all from the same album, thus encoded in the same way!

MSOB7YY commented 2 days ago

i dont think being in the same album gurantees same encoding, the underlying library for waveform is based on ffmpeg, if it extracted a format successfully once then it will always. i asked for a sample and it showed fine on my device so i suspect it might be smth with ur device/android version. anyways i will check again using android 14 emulator and see how it goes, if u can send these 3 tracks it would help more

Antiwh0re commented 12 hours ago

As me and the author have different Android versions (14 vs 11), version is not the reason. Flac files are big in size, so I'll send 2 tracks - one that shows wave and one that doesn't. I'll wrap them in archives and split in volumes and wrap volumes again, so that Shithub let them through. Let me know if you can't unwrap them. track1.zip track2-1.zip track2-2.zip