Skip to main content

Posts

Showing posts from August, 2024

agora live streaming flutter

https://docs.agora.io/en/agora-chat/restful-api/user-system-registration?platform=flutter https://docs.agora.io/en/agora-chat/restful-api/chatroom-management/manage-chatrooms?platform=flutter https://stackoverflow.com/questions/75666504/how-to-generate-an-app-token-for-agora-chat https://stackoverflow.com/questions/61595787/flutter-how-can-i-create-an-incoming-call-notification?rq=4 https://stackoverflow.com/questions/70031266/flutter-incoming-video-audio-call-notification-using-agora https://stackoverflow.com/questions/61460809/video-call-acceptance-screen-with-agora-flutter https://stackoverflow.com/questions/70031266/flutter-incoming-video-audio-call-notification-using-agora https://www.flutterant.com/flutter-video-calling-by-agora-sdk/ https://medium.com/flutter/executing-dart-in-the-background-with-flutter-plugins-and-geofencing-2b3e40a1a124 https://medium.com/@Ayush_b58/flutter-callkit-handle-actions-in-the-killed-state-e6f296c603e6 https://stackoverflow.com/questions/61460809/vi...

FFmpeg Commands

 remove audio from video using ffmpeg ChatGPT To remove the audio from a video using ffmpeg , you can use the following command: sh Copy code ffmpeg -i input_video.mp4 -an -vcodec copy output_video.mp4 Here's a breakdown of the command: ffmpeg : The command to run ffmpeg . -i input_video.mp4 : Specifies the input video file. -an : Removes the audio stream. -vcodec copy : Copies the video stream without re-encoding. output_video.mp4 : Specifies the output video file. Replace input_video.mp4 with the path to your input video file, and output_video.mp4 with the desired path for the output file. 4o I want audio and video individually ChatGPT To separate the audio and video into individual files using ffmpeg , you can use the following commands: Extract the video without audio: sh Copy code ffmpeg -i input_video.mp4 -an -vcodec copy output_video.mp4 Extract the audio: sh Copy code ffmpeg -i input_video.mp4 -vn -acodec copy output_audio.aac Here's a breakdown of the commands: Extra...

method channel JavaScript flutter

 method channel JavaScript  flutter   flutter plugin :  https://pub.dev/packages/webview_flutter Step 1 - HTML CODE  <! DOCTYPE html > < html > < head >   < title > Thanks for your order! </ title >   < link rel = "stylesheet" href = "css/style.css" >   < script src = "js/client.js" defer ></ script >   < meta name = "viewport" content = "width=device-width, initial-scale=1" > </ head > < body > </ body > < script type = 'text/javascript' > function postMessage (){   var data = {         message : "Response from web" ,         sender : "user123" ,         timestamp : new Date (). toISOString ()     };     var jsonData = JSON . stringify ( data );     setTimeout ( function () {         PayResponse . postMessage ( jsonData );   ...