Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Playing m3u8 on Android Froyo using FFmpeg
8 février 2012, par user1184526I need to create an http live streaming client in Android froyo without being dependent on 3rd party applications (e.g Vitamio). I am able to configure and build Bambuser's release of FFmpeg using Android ndk r7. My problem is I don't know how to use it.
I found sample codes here in stackoverflow and other forums where people are able to play .avi/.mp3 files from a url using av_open_input_file(). My question is, is it the same for m3u8 files? Or, do i need to use other functions to be able to work around them? I don't know how to begin.
Note: I am an android developer. My C programming is a little bit weak.
-
Video encoding libraries for Windows
8 février 2012, par Johnffmpeg is a widely used cross-platform library. But it doesn't support Visual C++, meaning you have to jump through hoops.
And considering they say the following, it's clear they don't give $0.02 about MSVC users and that makes me uncomfortable for a serious project.. how can one of the most widely used cross-platform libraries not support the most common toolset on the most common OS?
There have been efforts to make FFmpeg compatible with MSVC++ in the past. However, they have all been rejected as too intrusive, especially since MinGW does the job adequately. None of the core developers work with MSVC++ and thus this item is low priority. Should you find the silver bullet that solves this problem, feel free to shoot it at us.
We strongly recommend you to move over from MSVC++ to MinGW tools.
It seems unlikely all the Windows developers are doing all this messing about, so are there more Windows-friendly libraries around?
-
ffmpeg returning nonsense [closed]
7 février 2012, par MarioI use this command
ffmpeg -i X.mpg -b 533k –vcodec h263 -ac 1 -ab 48k -acodec aac -strict experimental -s 352x288 X.3gp
from cmd to convert file X from mpg to 3gp. I even used this yesterday and it worked. Today I decided to improve the command:
ffmpeg –i X.mpg -b 1000k –r 25 –vcodec h263 -ac 1 -ab 15750 –ar 8000 -acodec libopencore_amrnb -s 352x288 X.3gp
Now ffmpeg is completely screwed up, it returns garbage like
[NULL @ 02EFF020] Unable to find a suitable output format for 'ÔÇôvcodec' ÔÇôvcodec: Invalid argument
or
[NULL @ 02CBEA80] Unable to find a suitable output format for 'ÔÇôi' ÔÇôi: Invalid argument
even if I use the first command, which it worked and now, on the same file, in the same directory, with a new fresh ffmpeg executable from the same archive I extracted it before, it doesn't convert anymore. If I type a nonexistent file as input, ffmpeg gives
[NULL @ 02CBEA80] Unable to find a suitable output format for 'ÔÇôr' ÔÇôr: Invalid argument
I really don't know what to do. Looks like something really basic has been changed...
-
ffmpeg metadata
7 février 2012, par integra753I am encoding MPEG4/H264 to an mp4 file using libavformat (i.e. C libraries) I would like to add some metadata to the MP4 file such as date/time. Can someone give me some indication of how this can be done?
Thanks.
-
FFSERVER streaming to any network
7 février 2012, par user1191644Is there some way to stream a media file using ffserver to any network from a local network as my ffserver is configured on subnet machine.
Right now I have it working only machines on the LAN (connected to my network) can view the file using http://localhost:8090/stream.mjpg , but I want people from the outside or any network also to be able to access it if they provide my machine address. Can anybody provide me some ideas on this.
Thanks!