Repository navigation
fix(issues): G.711 audio - #114
Conversation
- G.711 audio (pcm_alaw/pcm_mulaw) from OpenIPC cameras made avformat_write_header fail with EINVAL, so Android recorded nothing. - Streams avformat_query_codec rejects are dropped with a warning.
- "-c copy" into mp4 failed on G.711 audio (pcm_alaw/pcm_mulaw), so desktop recorded nothing from such cameras. - Map only video + optional audio, copy video, encode audio to AAC.
PR Summary by QodoFix MP4 recording from cameras with G.711 audio
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
- If mp4 rejected the video but kept the audio, the recording was audio-only. - Fail before opening the output unless at least one video stream survives.
Summary
Fixes #112 Fixes #113
avformat_write_header fail with EINVAL, so Android recorded nothing.
recorded nothing from such cameras.
Related
Type
Checklist
TreatWarningsAsErrors=true).dotnet test); new Core logic has unit tests.AppreferencesCoreonly (Infrastructure / Video / Devices wired via DI in a head).Platforms tested
Screenshots / notes