search for: avformatcontext

Displaying 5 results from an estimated 5 matches for "avformatcontext".

2019 Jul 11
2
Need help with streaming to Icecast
...rce_ip 192.168.11.61 stream_start Thu, 11 Jul 2019 15:56:46 +0100 stream_start_iso8601 2019-07-11T15:56:46+0100 total_bytes_read 877800 total_bytes_sent 0 user_agent Lavf/58.20.100 *Code:* int ret; _pOutputFormatContext = ffmpeg.avformat_alloc_context(); fixed (AVFormatContext** ppOutputFormatContext = &_pOutputFormatContext) { ret = ffmpeg.avformat_alloc_output_context2(ppOutputFormatContext, null, "webm", configuration.Destination); if (ret < 0) { return false;...
2019 Jul 11
1
Need help with streaming to Icecast
...tually send the stream to Icecast? I can't find that in > your > code below? Do you use the ffmpeg icecast protocol? > > > > > *Code:* > > int ret; > > _pOutputFormatContext = ffmpeg.avformat_alloc_context(); > > fixed (AVFormatContext** ppOutputFormatContext = > > &_pOutputFormatContext) > > { > > ret = > > ffmpeg.avformat_alloc_output_context2(ppOutputFormatContext, null, > > "webm", > > configuration.Destination); > > if (ret &l...
2019 Jul 11
0
Need help with streaming to Icecast
...avf/58.20.100 > Hi, how do you actually send the stream to Icecast? I can't find that in your code below? Do you use the ffmpeg icecast protocol? > > *Code:* > int ret; > _pOutputFormatContext = ffmpeg.avformat_alloc_context(); > fixed (AVFormatContext** ppOutputFormatContext = > &_pOutputFormatContext) > { > ret = > ffmpeg.avformat_alloc_output_context2(ppOutputFormatContext, null, > "webm", > configuration.Destination); > if (ret < 0) > { >...
2003 Oct 02
2
GNOME 2 port is broken?
.../usr/local/include/ffmpeg/rtp.h:26: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:27: `AVCodecContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:27: `codec' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `AVFormatContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `s1' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `AVPacket' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `pkt' was not declared in this scope /usr/local/include/ffmpeg...
2004 Nov 20
0
ffmpeg2theora start and end time support
...odec.h" #include "vorbis/vorbisenc.h" #include "theorautils.h" static double rint(double x) { if (x < 0.0) return (double)(int)(x - 0.5); else return (double)(int)(x + 0.5); } theoraframes_info info; static int using_stdin = 0; typedef struct ff2theora{ AVFormatContext *context; int video_index; int audio_index; int deinterlace; int sample_rate; int channels; int disable_audio; float audio_quality; int output_width; int output_height; double fps; ImgReSampleContext *img_resample_ctx; /* for image resampling/resizing */ ReSampleContext *audio_resample_...