Page 1 of 1
Choppy audio on MP4 videos recently
Posted: 08 Nov 2021 14:18
by d4005b
I've recently started getting choppy audio from MP4 files that are only 480p, are on my Desktop (Drive C), and a fairly low resolution. The normal reasons for poor performance don't apply (playing over network, high bitrate/resolution, huge file size, poor CPU availability). When I drop a video into my video editor (Techsmith Camtasia) and play it from there, or if I play it with Windows Media Player it's just fine. It's only when playing via VLC that it's a problem.
I've tried increasing the file cache to 10,000ms. I've tried downgrading from my current version 3.0.16 down to 3.0.14 and nothing helps. It's really confusing. I've only ever had this particular effect when trying to watch a file located on a network drive and files were being written to the drive at the time. I'm being tempted to switch to using Windows Media Player and obviously I don't want to do that.
Re: Choppy audio on MP4 videos recently
Posted: 08 Nov 2021 16:39
by Lotesdelere
Please open Tools -> Messages (set Verbosity to 2)
before you start the playback, and then paste the
full resulting log here or on Pastebin.com if it's too long.
Also upload a short sample of your
original problematic file to Zippyshare.com or to WeTransfer.com and then post the link to the file here.
https://www.zippyshare.com
https://wetransfer.com
If needed cut it with DGsplit and read here about how to do it:
https://forum.videolan.org/viewtopic.ph ... 35#p193335
200 MB max should be enough.
Re: Choppy audio on MP4 videos recently
Posted: 08 Nov 2021 19:04
by d4005b
I guess the file is badly encoded and has some issues. I did the transcoding from mkv to mp4 on a machine I don't normally use - it might have some bad settings, or perhaps just the sources were bad to start with. Here's the log:
main debug: EsOutFrameNext consummed 0 ms
main debug: Stream buffering done (10500 ms in 26032 ms)
main debug: toggling pause
main debug: toggling pause
mmdevice debug: state changed: 1
main warning: picture is too late to be displayed (missing 2641 ms)
main warning: picture is too late to be displayed (missing 2599 ms)
main warning: picture is too late to be displayed (missing 2516 ms)
main warning: picture is too late to be displayed (missing 2526 ms)
main warning: picture is too late to be displayed (missing 2489 ms)
main warning: picture is too late to be displayed (missing 2453 ms)
main warning: picture is too late to be displayed (missing 2420 ms)
avcodec warning: More than 11 late frames, dropping frame
avcodec warning: More than 11 late frames, dropping frame
------------there was another 20 of these ------------------------
avcodec warning: More than 11 late frames, dropping frame
avcodec warning: More than 11 late frames, dropping frame
main debug: toggling resume
main debug: auto hiding mouse cursor
main debug: toggling resume
mmdevice debug: state changed: 0
Windows Media Player and my video editor have no issues playing the file though. Maybe there are some VLC settings I need that help it not get so affected by these errors. I tried editing just the first 10 seconds of the video using FFMPEG to use as a sample, but that involved further transcoding and it removed the problem. I'd rather not upload the file (as it's a TV show I downloaded and ideally wouldn't want to be the one uploading it to a server).
Re: Choppy audio on MP4 videos recently
Posted: 09 Nov 2021 11:27
by Lotesdelere
Read my post again, carefully. And strictly apply all of what I asked, FULL log AND a sample file.