Questions tagged [mobile-ffmpeg]

49 questions
5
votes
0 answers

Hey every one am using ffmpeg-kit in react native I want help to understand some point. My 2nd question is that can we us remote url in ffmpeg command

Actually I am using ffmpeg-kit in react native project for multiple purpose like merge two in horizontal, trim, getting audio from video etc. so 1st I am creating local path then pass it to ffmpeg command now i want to get the actual Url of encode…
Ahmad Deploy
  • 81
  • 1
  • 5
5
votes
0 answers

Cannot merge VisualSampleEntry error while appending videos in MP4parser

I am creating four videos with ffmpeg and then i am appending them with MP4parser. Details of four videos that i am creating with ffmpeg. 1,2 video : created using one image [-loop, 1, -i, Count_1627453922.jpg, -s, 720x1280, -vf,…
5
votes
0 answers

FFmpeg drawtext issue when apply hindi language font file or other language font file

We are trying to use FFmpeg draw text to support Hindi fonts. but some characters are not rendering properly. Used Hindi Language Font file :-https://fonts.google.com/specimen/Khula Input string :- **जिन्दगी सिर्फ हकीक़त है हकीक़त समझो,** But output…
4
votes
1 answer

ffmpeg - 'No such file or directory' though the file exists

I am running following command to extract audio from videos and merge them into a single file: -y -hide_banner -i /storage/emulated/0/Videos/video_4.mp4 -i /storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20210430-WA0010.mp4 -i…
Yeamin Chowdhury
  • 502
  • 1
  • 9
  • 19
4
votes
1 answer

A specific MP4 file is not playable with avfoundation in iOS

I have an mp4 video file that I want to play it in iOS using avfoundation. Unfortunately, the file is not being played and unable to save into the default gallery(photos) even it has h264 video codec and aac audio codec. And it is only playable when…
Rabel Ahmed
  • 1,131
  • 13
  • 12
3
votes
1 answer

Reduce apk size when using ffmpeg

I am building an app that can trim a video into multiple segments , for that purpose i have used ffmpeg library This command does all the work ffmpeg -i testfile.mp4 -c copy -f segment -segment_time 1200 testfile_piece_%02d.mp4 But including this…
3
votes
0 answers

How to use new file which is created by me as an output file in FFmpeg code execution ? getting E/mobile-ffmpeg: outputFile.mp3 Permission denied

I try to trimming audio from one file to another output file but I am getting trouble accessing the output file in FFmpeg to writing its shows me permission denied. Metadata: title :…
Manish
  • 170
  • 9
2
votes
1 answer

FFMPEG Kit iOS Async Call Not Behaving Asynchronously

When I call the executeAsync method of FFmpegKit I expect asynchronous behaviour, but instead the code is ran but never waits for the FFmpegKit.executeAsync to run, therefore, the program output comes from print("FFmpeg process exited with state…
user19552241
2
votes
0 answers

Convert webm to mp4 using ffmpeg in node js

I'm trying to convert .webm to .mp4 on backend in node in a format that can be played on mobile safari. The reason for doing this is that we are using getUserMedia() & getDisplayMedia to record the user's camera/screen and webm doesn't play on…
2
votes
1 answer

FFMPEG Video not working on Social Media Platforms (Flutter-FFMPEG)

I am using Flutter-FFMPEG a Flutter library based on Mobile FFMPEG. I am creating a video from a list of .bmp images. The video works plays normally in devices media player on android or desktop. But when I tried to share that video on social media…
Raj Dhakad
  • 852
  • 2
  • 17
  • 39
2
votes
0 answers

How to extract frames from video with pipe and read it every 1 second?

I am trying to use pipe to extract frames from a video to get better-extracting performance. It took me 1s to extract a 1080x720 frame from the video. So, my idea is to use pipe protocol and while extracting with ffmpeg command, I have another…
Kingfisher Phuoc
  • 8,052
  • 9
  • 46
  • 86
2
votes
2 answers

Flutter ios MobileFFmpegConfig.h not found

After build ios app in flutter project error occurred 'mobileffmpeg/MobileFFmpegConfig.h' file not found even class exits in pods Error: Any suggestions?
Mhmd Backer Shehadi
  • 559
  • 1
  • 12
  • 30
2
votes
0 answers

GPUMp4Composer is Muting my video, when app is running on my phnone(android 10). But it is working fine in Emulator(android 9)

I am using GPUMp4Composer for adding two things: -Filter -Watermark Both the things are working correctly in the emulator (android 9). But the resulted video from GPUMp4Composer does not have any sound (muted) when I am using the app on my phone…
1
vote
0 answers

Building ffmpeg-kit for Android fails with arm-linux-androideabi-strip not found

I am trying to build ffmpeg-kit for Android with "android.sh". The build.log ends with: ^~~~~~~~~~~~~~~~~~~~~ In file included from :370: :13:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined] #define…
dnz
  • 23
  • 5
1
vote
0 answers

Flutter_ffmpeg: HOW to merge/mix/overlay multiple stickers with video?

I try to mix multiple URL of sticker with video . command= "-y -i ${video.path} -i ${sticker.url} -filter_complex \"[1:v]scale=100:100[ovrl];[0:v][ovrl]overlay=${sticker.offset!.dx}:${sticker.offset!.dy}\" -frames:v 900 -codec:a copy -codec:v…
A.N
  • 11
  • 1
1
2 3 4