2018-02-13 20:22 GMT+01:00 Perette Barella :
> I'm using libavdevices for output, and it consistently truncates the last
> second or so of output. When using other output libraries it doesn't get
> truncated, so it's definitely my avdevice code, not something upstream.
Can't you reproduce the sam
You may need something like:
/* Some formats want stream headers to be separate. */
if (oc->oformat->flags & AVFMT_GLOBALHEADER)
c->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
where oc is your AvFormatContext * and c is your AvCodecContext.
Gabriel.
http://lives-video.com
https://www.openh
I'm using libavdevices for output, and it consistently truncates the
last second or so of output. When using other output libraries it
doesn't get truncated, so it's definitely my avdevice code, not
something upstream.
I assume this means I should be doing something more to ensure things
are
I have set output format to dash in muxing.c(I have removed audio stream)
Here:
avformat_alloc_output_context2(&oc, NULL, "dash", filename);
Program generated "chunk-stream0-1.m4s" "init-stream0.m4s" "main.mpd"
Looks like everything is good, but video is black when playing using
MP4Client
I am using HiSilicon 3516A board, there is no V4L device but other approach
using /dev/venc ioctl calls and MPP API.
I am able to open the encoder, read raw H264 packets but no go, looks like
read_packet is called about 10 times slower than it should.
If i move the code to outside of ffmpeg and