polarby / render

A package to render any native static and moving flutter widgets to exportable formats
https://pub.dev/packages/render
MIT License
50 stars 28 forks source link

Native audio recording #5

Open polarby opened 1 year ago

polarby commented 1 year ago

Currently there is not support to capture device audio within flutter. In order to render widgets that do not have a set audio file (eg. live streams), but rather can only be captured by recording the device audio input.

Please provide packages or approaches to target this issue.

JosonJiang commented 12 months ago

这个问题必须要解决, 不然录制视频就没有意义了;我现在是用 图片流 uint8list 用 image.memory 加载的; 现在想用这个录制下 发现没有声音.

It is very import, I use a image.memory load the stream ,now i want record the video,so I found it in here https://stackoverflow.com/questions/52274511/render-flutter-animation-directly-to-video

https://www.saoniuhuo.com/question/detail-2441456.html

polarby commented 12 months ago

對啊,你找到的答案是我的。我們還不知道怎麼解決上面的問題,就是若果你知道請幫助我們。

JosonJiang commented 12 months ago

對啊,你找到的答案是我的。我們還不知道怎麼解決上面的問題,就是若果你知道請幫助我們。

我不是很确定可不可以实现,就是通过按帧分离音频出来,对应于当时的图片帧,然后再通过 ffmpeg命令合成还原出来; i am not sure that is right, if we can divide the audio by the time of the image frame, then we can compose it