Hi,
this is the piece of code responsable of open the stream :
const char *filename = "rtsp://hostname/live.sdp";
av_register_all();
avformat_network_init();
AVFormatContext *pFormatCtx = NULL;
// Open video file
if (avformat_open_input(&pFormatCtx, filename, NULL, NUL
> this is the piece of code responsable of open the stream :
>
> const char *filename = "rtsp://hostname/live.sdp";
>
> av_register_all();
> avformat_network_init();
>
> AVFormatContext *pFormatCtx = NULL;
>
> // Open video file
> if (avformat_open_input(&pFormatCtx, filenam
Thank you so much that's perfect :)
Il 17.06.2015 11:10, Taha Ansari ha scritto:
AVIOInterruptCB int_cb;
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
Hi,
I am using transcoding example provided with FFmpeg to apply a filter to a
h264 codec file.
I have set the preset before opening the codec as given below
if (dec_ctx->codec_id == AV_CODEC_ID_H264) {
av_opt_set(dec_ctx->priv_data, "preset", "slow", 0);
}
But still avcodec_open2 returns "
I am setting the AudioCodec to MP3, I am using the pre-built libraries
the code I have the causes the issue is from the code for the QtMEL
library. What I am posting here is the Audio Codec setup for the QtMel
object. I hope it helps.
BTW I am using H264 for the Video Codec. If I record vi
I changed the Audio codec to WMAV2, and left the rest of the AudioCodec
settings the same Now the program crashes at this line in the QtMel code:
int outSize = avcodec_encode_audio(m_audioStream->codec,
m_audioOutputBuffer, m_audioOutputBufferSize, (short *)samples.data());
In debug the error
Mohamed Moanis writes:
> The problem is that avcodec_encode_video2 produce
> delayed frames. I am expecting to give it a frame
> and take a frame back as a result
> So my question is basically, is there a way to to
> turn around the flushing and the delay.
The delay is unavoidable with the de