Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Android, Share library dependency
2 février 2012, par NadavRub- I am Implementing an application that is using LibAv/ffmpeg on Android
- I am using JNI to interact with the Native code
- my 'Shared Lib' is using libswscale.so, libavutil.so, libavformat.so, libavdevice.so, libavcore.so and libavcodec.so.
- All the 'Shared Libs' are verified to be packed to the same directory on the APK file
- I am debugging on the device ( no emulator )
- Runtime.loadLibrary($MY_LIB_NAME) trigger an UnsatisfiedLinkError exception
- Directly running 'System.loadLibrary("swscale")' also cause an UnsatisfiedLinkError exception
My guess is that libav*.so is dependent on additional libs that should be added to the APK, however, I am not sure how to detect these. Is there any tool to detect dependent Shared libraries? ( Window ddepends equivalent ) ?
Any help will be appreciated.
~Nadav
-
split the video in several part using ffmpeg
2 février 2012, par HimikoI want to write a small program with help of ffmpeg. I want to process a video by cut the video into several parts, left part, right part...etc. How can I do it using ffmpeg? By the way, are there any documentation explain the API of the ffmpeg?
-
Centos Video Optimizer
2 février 2012, par Arjun NerasI have a lot of MP4 files on my server. And my aim is to get them to stream on android mobiles.
The resolution of the videos are at 480×272 and this is not a problem because I tested it and most androids are able to stream it. But the problem is the size of the video. The streaming is slow and it buffers a lot because of its size.
I need a converter that can decrease the size to around 50-60MB. With only a little decrease in quality. If possible, the output file should overwrite the input file.
Can you think of any way I can do this work in minimum time? My server is CENTOS and I have FFMPEG, MP4Box installed.
-
How to hack ffmpeg to consider I-Frames as key frames ?
2 février 2012, par justanothercoderI'm trying to get ffmpeg to seek h264 interlaced videos, and i found that i can seek to any frame if i just force it.
I already hacked the decoder to consider I - Frames as keyframes, and it works nicely with the videos i need it to work with. And there will NEVER be any videos encoded with different encoders.
However, i'd like the seek to find me an I - Frame and not just any frame.
What i'd need to do is to hack The AVIndexEntry creation so that it marks any frame that is an I-Frame to be a key frame. Or alternatively, hack the search thing to return I - Frames.
The code does get a tad dfficult to follow at this point.
Can someone please point me at the correct place in ffmpeg code which handles this?
-
Facebook video upload [closed]
2 février 2012, par Ahmet KapıkıranI can't add subtitle to an avi file with mencoder. The length of avi videos are about 100 minutes. I split the videos to 19 minutes parts with ffmpeg and x264 codec and then I upload the video to user's facebook account with my facebook application. So, facebook starts to encode the video but after a period of time the video suddenly is removed by facebook. What is the problem. Is there a time period limit to send video to facebook profile or is my problem about codecs?