<p>I am using a screen capture component in delphi that I will use in my program, by enabling the recording option with the command ffmpegLGPL.exe -re -i% PIPE% -c: v h264 -threads 8 -profile: v baseline - loopfilter 0 -b: v 10M -an -f mp4% FILENAME% video streams with dark screen and audio only<a href="https://i.sstatic.net/npG70.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/npG70.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2021-09-25T03:58:25.813Z
Share full log. Your command has `-an` so how do you get audio?
Gyan
CC BY-SA 4.0
2021-09-25T07:06:58.653Z
ffmpegLGPL.exe -re -i %PIPE% -c:v h264 -threads 8 -profile:v baseline -loopfilter 0 -b:v 10M -an -f mp4 %FILENAME%
user10264787
CC BY-SA 4.0
2021-09-25T07:07:37.503Z
yes , the audio comes out, but the video doesn't
user10264787
CC BY-SA 4.0
2021-09-25T09:25:50.203Z
Add -report to your ffmpeg command and run. Share report.
Gyan
CC BY-SA 4.0
2021-09-25T10:16:59.247Z
https://drive.google.com/file/d/1NEdoQuD5JIr6enwci7l0SI91-CgAMDl7/view?usp=sharing
user10264787
<ffmpeg><video><codec>
ffmpeg video command still with black screen
user10264787
# ffmpeg video command still with black screen

(Asked by: username_0 on 2021-09-24)

I am using a screen capture component in delphi that I will use in my program, by enabling the recording option with the command ffmpegLGPL.exe -re -i% PIPE% -c: v h264 -threads 8 -profile: v baseline - loopfilter 0 -b: v 10M -an -f mp4% FILENAME% video streams with dark screen and audio only[![enter image description here](https://i.sstatic.net/npG70.png)](https://i.sstatic.net/npG70.png)

**Tags:** ffmpeg, video, codec

> **Comments:**
> **username_1**: Share full log. Your command has `-an` so how do you get audio?  
> **username_0**: ffmpegLGPL.exe -re -i %PIPE% -c:v h264 -threads 8 -profile:v baseline -loopfilter 0 -b:v 10M -an -f mp4 %FILENAME%  
> **username_0**: yes , the audio comes out, but the video doesn't  
> **username_1**: Add -report to your ffmpeg command and run. Share report.  
> **username_0**: https://drive.google.com/file/d/1NEdoQuD5JIr6enwci7l0SI91-CgAMDl7/view?usp=sharing  

---

## 0 answers

