Hi, guys
I`m writing an application that replace streaming video files(HLS,
MPEG-DASH) files with empty dummy videos.
Basically I need to
1) Open .ts file for example
2) Read all its properties(duration, frame rate)
3) Create output context with the same properties
4) Write empty frames wi
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
and c is your AvCodecContext.
Gabriel.
http://lives-video.com
https://www.openhub.net/accounts/salsaman
On Tue, Feb 13, 2018 at 11:14 AM, Yuriy Pryyma <mailto:priymayu...@gmail.com>> wrote:
I have set output format to dash in muxing.c(I have removed audi
I have some question regarding duration
1)Why we are adding "magic" 5000 to AVFormatContext duration in
av_dump_format function?
See here
https://github.com/FFmpeg/FFmpeg/blob/9b79c65ec06f2bbe4f44c615b9df70db23126250/libavformat/dump.c#L576
2) How to set container duration longer then stream
Good time of day
I'm writing program that creates long videos("mp4 container") that show
only one frame for all time.
The idea is to write only one AVPacket that will be played for all
time(seting pkt.pts, pkt.duration).
The problem is that video is very short after that(this does not work).
S