Skip to content

Php 8.1 File append not working #12

Open
@sodevrom

Description

Hello
I am trying to append multiple mp3 files (same encoding), but the files do not get appended.
Only the first file is saved in the final output.
Example:

$file_mp3= \falahati\PHPMP3\MpegAudio::fromFile("audio1.mp3");
$file_mp3->append(\falahati\PHPMP3\MpegAudio::fromFile("audio2.mp3"));
$file_mp3->saveFile("final_file.mp3");

No errors, only the first mp3 is added in the final file, and the final saved file size is equal to file 1.

Can you please help?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions