Cut mp3 file at “header missing” error Unicorn Meta Zoo #1: Why another podcast? ...

How did Elite on the NES work?

Bright yellow or light yellow?

Is it OK if I do not take the receipt in Germany?

What is the numbering system used for the DSN dishes?

What happened to Viserion in Season 7?

France's Public Holidays' Puzzle

`FindRoot [ ]`::jsing: Encountered a singular Jacobian at a point...WHY

Co-worker works way more than he should

Is there a possibility to generate a list dynamically in Latex?

Like totally amazing interchangeable sister outfit accessory swapping or whatever

What is ls Largest Number Formed by only moving two sticks in 508?

Is there a verb for listening stealthily?

RIP Packet Format

How to translate "red flag" into Spanish?

What helicopter has the most rotor blades?

Is a self contained air-bullet cartridge feasible?

Does a Draconic Bloodline sorcerer's doubled proficiency bonus for Charisma checks against dragons apply to all dragon types or only the chosen one?

What do you call an IPA symbol that lacks a name (e.g. ɲ)?

What's parked in Mil Moscow helicopter plant?

Did war bonds have better investment alternatives during WWII?

Why is arima in R one time step off?

Stretch a Tikz tree

Suing a Police Officer Instead of the Police Department

How long can a nation maintain a technological edge over the rest of the world?



Cut mp3 file at “header missing” error



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraHow can I combine these two commands? stream mapping & subtitlesHow to use ffmpeg frei0r filter with mixer2 pluginsffmpeg for Mac “no such file or directory” (when file exists)FFmpeg multiple errors relative to pathHow to create a video file from images on hard disk using ffmpeg command line?How to stretch the WAV file to the same video length?Install FFmpeg with loudnorm filterffmpeg streaming to rtmp at 30fpsArtifact while streaming multicast with ffmpegffmpeg drawtext filter box jittery issue





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I have some malformed MP3 files. Specifically, they get through the desired audio fine, but after that FFplay reports:



[mp3float @ 0x7fd7cb82a600] Header missing
[mp3float @ 0x7fd7cb82a600] overread, skip -5 enddists: -2 -2


And, correspondingly, FFmpeg reports:



[mp3 @ 0x7fe0c180a400] Audio packet of size 749 (starting with 0F757F48...) is invalid, writing it anyway.


After that, in all players I've tried (FFplay, Audacity, iTunes, VLC), the last few seconds of the track repeat. All but FFplay also get confused about the duration of the track.



How can I fix these files?



In case it needs to be said: It doesn't matter to me whether the result uses FFmpeg or not, or if it involves multiple passes with or without different tools, so long as it's scriptable. I have quite a few of these. I'm on macOS 10.14.4. ffmpeg -version:



ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.1 (clang-1001.0.46.3)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.3 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100


Also, avconv 12.3 doesn't log any errors at all, but doesn't fix the problem either.










share|improve this question


















  • 1





    How were these files created? Can you provide a link to one?

    – llogan
    11 hours ago


















0















I have some malformed MP3 files. Specifically, they get through the desired audio fine, but after that FFplay reports:



[mp3float @ 0x7fd7cb82a600] Header missing
[mp3float @ 0x7fd7cb82a600] overread, skip -5 enddists: -2 -2


And, correspondingly, FFmpeg reports:



[mp3 @ 0x7fe0c180a400] Audio packet of size 749 (starting with 0F757F48...) is invalid, writing it anyway.


After that, in all players I've tried (FFplay, Audacity, iTunes, VLC), the last few seconds of the track repeat. All but FFplay also get confused about the duration of the track.



How can I fix these files?



In case it needs to be said: It doesn't matter to me whether the result uses FFmpeg or not, or if it involves multiple passes with or without different tools, so long as it's scriptable. I have quite a few of these. I'm on macOS 10.14.4. ffmpeg -version:



ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.1 (clang-1001.0.46.3)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.3 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100


Also, avconv 12.3 doesn't log any errors at all, but doesn't fix the problem either.










share|improve this question


















  • 1





    How were these files created? Can you provide a link to one?

    – llogan
    11 hours ago














0












0








0








I have some malformed MP3 files. Specifically, they get through the desired audio fine, but after that FFplay reports:



[mp3float @ 0x7fd7cb82a600] Header missing
[mp3float @ 0x7fd7cb82a600] overread, skip -5 enddists: -2 -2


And, correspondingly, FFmpeg reports:



[mp3 @ 0x7fe0c180a400] Audio packet of size 749 (starting with 0F757F48...) is invalid, writing it anyway.


After that, in all players I've tried (FFplay, Audacity, iTunes, VLC), the last few seconds of the track repeat. All but FFplay also get confused about the duration of the track.



How can I fix these files?



In case it needs to be said: It doesn't matter to me whether the result uses FFmpeg or not, or if it involves multiple passes with or without different tools, so long as it's scriptable. I have quite a few of these. I'm on macOS 10.14.4. ffmpeg -version:



ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.1 (clang-1001.0.46.3)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.3 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100


Also, avconv 12.3 doesn't log any errors at all, but doesn't fix the problem either.










share|improve this question














I have some malformed MP3 files. Specifically, they get through the desired audio fine, but after that FFplay reports:



[mp3float @ 0x7fd7cb82a600] Header missing
[mp3float @ 0x7fd7cb82a600] overread, skip -5 enddists: -2 -2


And, correspondingly, FFmpeg reports:



[mp3 @ 0x7fe0c180a400] Audio packet of size 749 (starting with 0F757F48...) is invalid, writing it anyway.


After that, in all players I've tried (FFplay, Audacity, iTunes, VLC), the last few seconds of the track repeat. All but FFplay also get confused about the duration of the track.



How can I fix these files?



In case it needs to be said: It doesn't matter to me whether the result uses FFmpeg or not, or if it involves multiple passes with or without different tools, so long as it's scriptable. I have quite a few of these. I'm on macOS 10.14.4. ffmpeg -version:



ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.1 (clang-1001.0.46.3)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.3 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100


Also, avconv 12.3 doesn't log any errors at all, but doesn't fix the problem either.







audio ffmpeg mp3






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 11 hours ago









VikoViko

214




214








  • 1





    How were these files created? Can you provide a link to one?

    – llogan
    11 hours ago














  • 1





    How were these files created? Can you provide a link to one?

    – llogan
    11 hours ago








1




1





How were these files created? Can you provide a link to one?

– llogan
11 hours ago





How were these files created? Can you provide a link to one?

– llogan
11 hours ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1428727%2fcut-mp3-file-at-header-missing-error%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1428727%2fcut-mp3-file-at-header-missing-error%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...