Coder Social home page Coder Social logo

Horrible cracking sound. about mpv HOT 7 CLOSED

laichiaheng avatar laichiaheng commented on May 29, 2024
Horrible cracking sound.

from mpv.

Comments (7)

CounterPillow avatar CounterPillow commented on May 29, 2024 7

Thanks for sharing your porn with us

from mpv.

kasper93 avatar kasper93 commented on May 29, 2024 2

The file in OP seems broken. Lots of [ffmpeg/audio] aac: ChannelElement 1.0 missing warnings. The difference is how this brokenness is handled.

--ad=libfdk_aac plays this file as mono without issues. But it is likely broken file and if we don't have more samples that expose similar issues, I don't think it is worth putting effort fixing this "random" video, you can watch without audio.

SFW sample with similar audio issues, plays fine in VLC. https://0x0.st/XoHe.mkv

This is completely different issue. mkv != mp4, aac != ac3. Please don't hijack issues, it only derails discussion and pulls attention away from the original problem. I've reported it on ffmpeg trac https://trac.ffmpeg.org/ticket/10968

from mpv.

llyyr avatar llyyr commented on May 29, 2024

Firefox has the same audio artifacts, this is most likely a FFmpeg issue. Also you could've shared just the audio track.

edit: ffplay plays it correctly

from mpv.

laichiaheng avatar laichiaheng commented on May 29, 2024

Firefox has the same audio artifacts, this is most likely a FFmpeg issue. Also you could've shared just the audio track.

edit: ffplay plays it correctly

It didn't happen on Firefox when I posted this issue, but it happens now, weird.

from mpv.

po5 avatar po5 commented on May 29, 2024

SFW sample with similar audio issues, plays fine in VLC. https://0x0.st/XoHe.mkv

from mpv.

richardpl avatar richardpl commented on May 29, 2024

If you extract codec copy copy into .ac3 file that SFW sample above it also plays fine with ffplay. Something is very broken with lavf/mpv mkv demuxer or file is invalid and needs parser to properly split packets from bitstream.

from mpv.

na-na-hi avatar na-na-hi commented on May 29, 2024

The file in OP seems broken. Lots of [ffmpeg/audio] aac: ChannelElement 1.0 missing warnings. The difference is how this brokenness is handled.

mpv-x86_64-20220227-git-b1fb4b7 plays this as a mono audio, while mpv-x86_64-20230226-git-16f0cd5 plays this as a "stereo" audio but with only the left channel active, and also has this artifact. Similar pattern is observed for MPC-HC with LAVFilters where earlier versions detect this file as a mono, but stereo for later versions, also with the same artifact.

So somewhere between 20220227 and 20230226 a change in FFmpeg caused this.

This artifact also doesn't happen 100% of the time, seems purely random.

SFW sample with similar audio issues, plays fine in VLC. https://0x0.st/XoHe.mkv

Interesting. None of my tested mpv binaries as early as from 2017 work with this file so this must have been broken for so long. Audio also plays fine in MPC-HC.

from mpv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.