Opened 8 years ago

Closed 8 years ago

#5494 closed defect (fixed)

AV Foundation recording broken

Reported by: LordHDL Owned by:
Priority: important Component: avdevice
Version: git-master Keywords: avfoundation osx codecpar regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary: Recording with AVFoundation does not work anymore.
How to reproduce: Attempt to record with -f avfoundation.

ffmpeg -f avfoundation -i "3:0" -c:v ffvhuff -c:a pcm_s32be ~/Desktop/avf.mkv

Full console output in the attachment.

Attachments (1)

Terminal Saved Output (12.3 KB ) - added by LordHDL 8 years ago.

Download all attachments as: .zip

Change History (9)

by LordHDL, 8 years ago

Attachment: Terminal Saved Output added

comment:1 by Carl Eugen Hoyos, 8 years ago

Keywords: osx regression added
Priority: normalimportant

Please use git bisect to find out which change broke avfoundation recording.

comment:2 by LordHDL, 8 years ago

This is the console output:

HDLs-MacBook-Pro:ffmpeg HDL$ git bisect start
HDLs-MacBook-Pro:ffmpeg HDL$ git bisect good 5a19506
HDLs-MacBook-Pro:ffmpeg HDL$ git bisect bad 66dd21d
Bisecting: 274 revisions left to test after this (roughly 8 steps)
[27558679a1e0738630254d5398c74eb5d7f45c8d] Merge commit '7480d001312d9ba706333ec970264ed9df3f82cb'

Is there a fast way of testing this other than manually checking out each revision?

comment:3 by LordHDL, 8 years ago

OK I went through the steps.

HDLs-MacBook-Pro:~ HDL$ cd ffmpeg
HDLs-MacBook-Pro:ffmpeg HDL$ git bisect good 60b7518
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[9200514ad8717c63f82101dc394f4378854325bf] lavf: replace AVStream.codec with AVStream.codecpar

in reply to:  3 comment:4 by Carl Eugen Hoyos, 8 years ago

Replying to LordHDL:

HDLs-MacBook-Pro:ffmpeg HDL$ git bisect good 60b7518
Bisecting: 0 revisions left to test after this (roughly 0 steps)

This means you have to do one more test to finish the bisect.

comment:5 by LordHDL, 8 years ago

First bad commit seems to be 6f69f7a. I verified the one before it, 60b7518, works properly.

comment:6 by Carl Eugen Hoyos, 8 years ago

Keywords: codecpar added
Status: newopen

comment:8 by Carl Eugen Hoyos, 8 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.