Bug 470263 - Invalid Media File *.m4a
Summary: Invalid Media File *.m4a
Status: RESOLVED UPSTREAM
Alias: None
Product: kasts
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.04.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: bart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-25 15:15 UTC by Kevin
Modified: 2025-02-10 17:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
screen shot of error (15.56 KB, image/png)
2023-05-25 15:15 UTC, Kevin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin 2023-05-25 15:15:41 UTC
Created attachment 159256 [details]
screen shot of error

SUMMARY
***
kasts throws error when attempting to play a *.m4a file
the specific podcast is https://tchakatime.com/wp-content/uploads/2023/03/CIAB_S3_E1.m4a

***


STEPS TO REPRODUCE
1. subscribe to podcast at https://tchakatime.com/feed/podcast/
2. play any episode

OBSERVED RESULT
I receive error code #8 - Invalid Media
Opening the podcast URL in the browser (Firefox) and with VLC does successfully play the file
EXPECTED RESULT
the media should play

SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 5.19.0-42-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-1065G7 CPU @ 1.30GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Plus Graphics
Manufacturer: HP
Product Name: HP Laptop 15-dy1xxx

ADDITIONAL INFORMATION
Comment 1 bart 2023-06-18 14:40:22 UTC
Git commit 1781230ad8ba7b271487380a931678ee3a1925fa by Bart De Vries.
Committed on 18/06/2023 at 14:39.
Pushed by bdevries into branch 'release/23.04'.

Fix mMedia nullptr dereference in VLC backend metadata call

M  +4    -4    src/kmediasession/mediabackends/vlcmediabackend.cpp

https://invent.kde.org/multimedia/kasts/-/commit/1781230ad8ba7b271487380a931678ee3a1925fa
Comment 2 bart 2023-06-18 14:40:38 UTC
Git commit 319c579ba0cb5df396e701ed478ef13de94bcecd by Bart De Vries.
Committed on 18/06/2023 at 14:35.
Pushed by bdevries into branch 'master'.

Fix mMedia nullptr dereference in VLC backend metadata call

M  +4    -4    src/kmediasession/mediabackends/vlcmediabackend.cpp

https://invent.kde.org/multimedia/kasts/-/commit/319c579ba0cb5df396e701ed478ef13de94bcecd
Comment 3 bart 2023-08-29 11:25:55 UTC
It works if the episode is downloaded locally first.

I don't know why the libvlc backend doesn't want to stream it from the URL but has no problem playing the exact same file locally.
This seems to be a libvlc problem.

The gstreamer and qt-multimedia backends have no problem opening the URL.
Comment 4 bart 2025-02-10 17:44:02 UTC
Closing this since it's a backend audio library issue.  There's nothing that can be done to fix this in Kasts itself, so there's not much use tracking it here.
You could report this issue upstream with libVLC if you want.