Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
How can I fix ffmpeg error ?
7 avril 2016, par ZuicheI run ffmpeg command to convert flv to mp4.
ffmpeg -i test.flv -vcodec libx264 output.mp4
When I run on centos 5.1_x86, it occurs a error following this:
picture size invalid (0x0) Cannot allocate temp picture, check pix fmt
How can I fix this error?
Thanks in advance.
-
How to use ffmpeg command in objective C
7 avril 2016, par AnoopI've done with FFmpeg. Build Successfully and added in project. First time I was able to convert the file. But When I try again , program gets crash . So Some one suggest me , How to proper clean Up FFmpeg before sending next command. Or are there other way to send ffmpeg command.
char **argv = (char **)malloc(sizeof(argc)); argv[0]="ffmpeg"; argv[1] = "-i"; argv[2] = "-b:a"; argv[3] = "192k"; argv[2] =(char *)[inputFilePath UTF8String]; argv[3] = (char *)[outputFilePath UTF8String]; int result = main_method(argc, argv); NSLog(@"result %d",result);
-
FFmpeg : Add alpha channel to a video using a PNG mask
7 avril 2016, par Rodrigo PoloI saw that FFmpeg can merge/blend two videos with alpha channel and can encode video with alpha channel using the
qtrle
codec, but, It is possible to apply a PNG file mask, either a black and white or a PNG with an alpha channel to a video in order to have a video with the alpha channel of the PNG applied?Here is the concept in images
PNG file with alpha channel, the "mask":
Or even a black and white image as a mask for alpha channel:
Any help would be appreciated, thank you!
-
Couldn't find platform family in Info.plist for dylib
7 avril 2016, par user2331687I have developed a App (Mac OS) and I want release it to Mac App Store, and my App use the FFMPEG library, so there are many .dylib (as you can see, for example, libSDL-1.2.0.dylib), when I upload my App, and I got this error, I have googled several days, but I don't know how to add the "platform family" to a .dylib, since the dylib is build from command line. Can anyone help me to solve this problem, thanks very much!
-
RTSP ip camera streaming to Android using ffmpeg
7 avril 2016, par ShanuI am working on an app which would stream and capture an image from an IP camera using an RTSP url. I am not able to create an app using FFMpeg. I have tried Vitamio library but it does not have a capture function. Anyone know how to create a rtsp player using ffmpeg in android.? what would be the ffserver.config file changes i have to make.? how to play the video.?