[FFmpeg-user] Play video and simultaneously record audio

Paul B Mahol onemda at gmail.com
Sun Jan 19 14:54:29 EET 2020


On 1/19/20, Michael Koch <astroelectronic at t-online.de> wrote:
> Hello Gyan,
>
>>> I did try the above example (with some changes) but it has another
>>> problem: FFplay can't be stopped when the video has ended, and it
>>> uses the full screen. Which means I can't see the console window and
>>> can't close it. FFmpeg can only be stopped by the task manager.
>>
>> Looks like your video resolution is equal to or greater than your
>> display. Add `-vf scale=iw/2:-1` to resize it.
>
> ok, this works fine and now I can see the console window and close it
> when the video has ended.
>
>> Add -autoexit to quit ffplay when it detects EOF.
>
> This didn't work in my test. The FFplay window remains open and shows
> the last frame, until I manually close the FFmpeg console window.
> Pressing "q" or "esc" to close the FFplay window does only work if the
> video is still running, but not if the video has already ended.
>
> I've written a summary into my book in chapter 3.16 (but chapter
> numbering may change in future):
> http://www.astro-electronic.de/FFmpeg_Book.pdf

Book contains obsolete info about v360 filter, please fix it.

>
> Thanks for your help,
> Michael
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list