Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
BGRA to AVFrame(ffmpeg) and viceversa ? for IOS
8 février 2012, par Asta ni enohpiAm working Video Processing in IOS(iphone/ipod/ipad) Using Objective c. i am using AVFoundation Framework to Capture Video . i want to Encode/decode those video frame using ffmpeg-libx264. i have compiled ffmpeg-x264 lib for ios. i got kCVPixelFormatType_32BGRA from AVFoundation.
my problem is
1.How to convertkCVPixelFormatType_32BGRA
toAVFrame
for enode using avcodec_encode_video?2.How to convert AVFrame to kCVPixelFormatType_32BGRA @ decode side from avcodec_decode_video2?
Please help me to start above process or give path for working tutorial .Thanks in advance.
-
live-streaming media with
8 février 2012, par Thanh HoangMy live-streaming system streams media in following step:
- Server loads source (from a file, webcam,...)
- Server decodes this source by using ffmpeg to get audio and video stream in raw format
- Server encodes audio and video to aac and libx264 and then stores them with [AVPacket] (http://ffmpeg.org/doxygen/0.6/avpacket_8c.html)
- Then server transmits these packets to client
- Client receive these packets, then calculates pts and dts and then display them using libsdl. (following this [tutorial] (http://dranger.com/ffmpeg/tutorial01.html).
And now, I want to change in client. I want when client receive audio and video packets, It will stream them under http stream, rtp stream or somethings like those to a player such as windows media player, flash player.... Anyone can helps me? Thanks a lot. :)
-
xuggler could not find input codec id (avi, msvideo1)
8 février 2012, par mrzasaI convert video from different formats to flv using xuggle MediaTool. For most of cases it works fine, but when I try an
.avi
file encoded withmsvideo1
,indeo3
orcinepark
, xuggler throwsjava.lang.IllegalArgumentException: could not find input codec id
onreader.readPacket()
.I checked, that my ffmpeg supports msvideo decoding:
> ffmpeg -codecs (...) D V D msvideo1 Microsoft Video 1 D V D indeo3 Intel Indeo 3 D V D cinepak Cinepak
What is more, I'm able to convert files encoded with these codecs from the command line (usign ffmpeg).
What might be the reason for such behaviour?
-
Tutorial in FFMpeg or Sample Program
8 février 2012, par user1195018I want to make a sample audio or video player in ffmpeg
I found in google this link and i can't compile the sample because the compiler (gcc) said, some of functions or variables are deprecated/undefined/undeclared.
Any tutorial or sample code in ffmpeg? or Will you give me a sample code of audio/video player using ffmpeg?
Please.
-
32BGRA to AVFrame(ffmpeg) and viceversa ? for IOS
8 février 2012, par Asta ni enohpiAm working Video Processing in IOS(iphone/ipod/ipad) Using Objective c. i am using AVFoundation Framework to Capture Video . i want to Encode/decode those video frame using ffmpeg-libx264. i have compiled ffmpeg-x264 lib for ios. i got kCVPixelFormatType_32BGRA from AVFoundation.
my problem is
1.How to convertkCVPixelFormatType_32BGRA
toAVFrame
for enode using avcodec_encode_video?2.How to convert AVFrame to kCVPixelFormatType_32BGRA @ decode side from avcodec_decode_video2?
Please help me to start above process or give path for working tutorial .Thanks in advance.