mirror of
https://github.com/Rafiuth/Soggfy.git
synced 2026-04-26 07:35:54 +03:00
[GH-ISSUE #27] OGG data issue #26
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Soggfy#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @m1dst on GitHub (Apr 4, 2022).
Original GitHub issue: https://github.com/Rafiuth/Soggfy/issues/27
If I download an OGG file with no transcoding, the file seems to play everywhere however I have found a couple of apps that have trouble processing the files.
Simple example is ffmpeg.
.\ffmpeg -i source.ogg destination.ogg
The example above fails badly with the source file.
If I change the destination to an m4a file...
Whilst I am not trying to use these commands in real life, I just wanted a reproducible example because you wont have access to the tool I was trying to load the files in to. I was going to write a script just to transcode them and then I found ffmpeg failed too.
Hope that is enough information.
@Rafiuth commented on GitHub (Apr 5, 2022):
I've been able to transcode to M4A with this command:
ffmpeg -i source.ogg -disposition:v attached_pic -c:v copy output.m4a, but it won't copy metadata for some reason.I noticed that ffmpeg always shows this non-monotonous DTS warning, even for new oggs:
From the log above and a quick look at ffmpeg's source, I think there's a bug on the ogg demuxer (multiple packets are stored in one ogg page, and it seems that the demuxer assigns the same DTS to all of them).
I'd appreciate if you could convert some file to wav and back to ogg and test with your app to confirm this is a soggfy issue.
@m1dst commented on GitHub (Apr 5, 2022):
I confirm that if I convert a broken ogg to wav and then back to ogg, the file is readable by the tool.