Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Install ffmpeg in MAMP
19 juin 2017, par David LiuI'm trying to use this: https://www.youphptube.com/ to create a video sharing website.
I'm developing locally using MAMP on macOS Sierra and have installed both ffmpeg and exiftool on the system, but how do I make it work from within the server? Under "Advanced Configuration" what do I put in "Path to FFMPEG" and "Path to exiftool"? What is the folder this path is relative to? I guess this is why the videos I try to upload never start encoding. In "Leave blank for native ffmpeg" what does "native ffmpeg" mean?
I already tried putting the absolute paths but it doesn't work either. I'm getting this error log:
[19-Jun-2017 13:59:13 America/Panama] {"status":"error", "msg":["sh: ffprobe: command not found"] ,"return_val":127, "where":"getDuration", "cmd":"ffprobe -i /Applications/MAMP/tmp/php/phpq2j0pt -sexagesimal -show_entries format=duration -v quiet -of csv='p=0'"} [19-Jun-2017 13:59:13 America/Panama] Duration founded: EE:EE:EE [19-Jun-2017 18:59:14 UTC] rm -f /Applications/MAMP/htdocs/platea-3/videos/video2_59481f01ed6179.69459230.jpg && ffmpeg -ss 5 -i /Applications/MAMP/htdocs/platea-3/videos/original_video2_59481f01ed6179.69459230 -qscale:v 2 -vframes 1 -y /Applications/MAMP/htdocs/platea-3/videos/video2_59481f01ed6179.69459230.jpg Array ( [0] => sh: ffmpeg: command not found )
So basically I think the server doesn't find neither ffmpeg nor ffprobe.
I would appreciate it if someone could take the time to install it as well and take a look. Thanks!
-
Precompiled FFmpeg for android versus building FFmpeg using android NDK
19 juin 2017, par App DeveloperI am building an android app which does some video processing.
I am currently using precompiled FFmpeg from https://github.com/writingminds/ffmpeg-android. The other option is to download FFmpeg source code and compile it using Android NDK. The reason I am contemplating option 2 is to enhance performance. My questions are
Is there a difference between the two options mentioned above?
If yes, what would be the difference. Would it be enhanced performance (or) the result would simply be the same (or) are there some other benefits or drawbacks?
When they state precompiled FFmpeg, does it mean it was compiled using Android NDK for a specific architecture?
Please let me know.
Thank you in advance!!!
-
How to convert videos into bursted frames by FFMPEG as resizing the frames by the shortest side ?
19 juin 2017, par ErogolI have a set of videos that are need to be converted into frames. I also like to resize these bursted frames on the fly by the shortest size. By now, I use FFMPEG for busting and MOGRIFY for resizing. However, it happens to be so slow.
-
UWP ffmpeng record UDP video stream to mp4
19 juin 2017, par TigerWoodHow can i use ffmpeg to record UDP video stream like udp://1.1.1.1:1111 to mp4 file in UWP application. Because ffmepg function:av_interleaved_write_frame,avformat_write_header can't used in UWP (the function use fopen which UWP didn't support), thanks!
-
Insert frame in video at specific position with ffmpeg
19 juin 2017, par user2712414I’m trying to hold a specific frame of my video for a number of seconds and then resume the video again with ffmpeg. For example let’s say that I have a video “movie.mp4” and I want to hold the frame at second 10 for 20 seconds. So I want ffmpeg to create a video that looks like: 10 first seconds of movie.mp4 -> 20 seconds of the frame -> the rest of movie.mp4
In resume, I want to insert a frame in the video. My video has audio, that’s one of the things that’s giving me a headache. Any idea on how to do it? Thank you!