Opened 3 years ago
Closed 2 years ago
#64022 closed defect (fixed)
ffmpeg @4.4.x videotoolbox invalid DTS
Reported by: | Alexivia (Alexandre Vieira) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | Alexivia (Alexandre Vieira), evanmiller (Evan Miller), Gcenx, ballapete (Peter "Pete" Dyballa) | |
Port: | ffmpeg |
Description
When attempting to use either h264_videotoolbox or hevc_videotoolbox on an M1 Pro MacBook with Monterey, ffmpeg 4.4.x fails with a message "DTS is invalid". If using the software counterparts (libxxxx) the encoding works.
This is inline with https://githubmemory.com/repo/tanersener/ffmpeg-kit/issues/178.
By manually installing an older version of the ffmpeg port, like in commit f7789e13, encoding works fine.
Change History (9)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | macos removed |
---|---|
Milestone: | MacPorts Future |
Summary: | ffmpeg 4.4.x videotoolbox invalid DTS → ffmpeg @4.4.x videotoolbox invalid DTS |
comment:2 Changed 3 years ago by ligaard (Kasper Ligaard)
Problem is solved in ffmpeg in https://trac.ffmpeg.org/ticket/9439 and the patch-set that solves it is https://github.com/FFmpeg/FFmpeg/commit/b786bc7433dfe082441a57c1ba9ae9ea47904b78.
comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)
Owner: | set to mascguy |
---|---|
Status: | new → assigned |
comment:4 Changed 3 years ago by Christopher Nielsen <mascguy@…>
comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)
Sorry for the delay, didn't notice this ticket when it was first opened.
Patch added to ffmpeg-devel
. Once we've confirmed that all is well across-the-board, I'll apply it to ffmpeg
as well.
comment:6 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | evanmiller Gcenx ballapete added |
---|
Evan/Dean/Peter, while I wouldn't expect this patch to cause any issues for PPC - at least in principle - it would be great to verify that, prior to adding this to ffmpeg
.
Are any of you folks presently utilizing ffmpeg-devel
on your PPC systems? If not, is there any interest in testing this latest change?
comment:7 Changed 3 years ago by evanmiller (Evan Miller)
My PPC machine is currently blocked on #64212
comment:8 Changed 3 years ago by Gcenx
I can’t really say as I don’t own a PPC Mac only Intel/Apple Silicon systems.
comment:9 Changed 2 years ago by Christopher Nielsen <mascguy@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
A better URL for that is its original source:
https://github.com/tanersener/ffmpeg-kit/issues/178