python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Can't get the right formula to set frame pts for a stream using libav
I'm trying to save a stream of frames as mp4.
Source framerate is not fixed and it stay in the range [15,30]
Encoder params:
...
eCodec.time_base = AVRational(1,3000);
eCodec.framerate = AVRational(30...
user1365836
Votes: 0
Answers: 0
I am trying to record chunks of video from a camera stream using ffmpeg, but clips are recorded in h264 bitstream instead of annexb(avc1) bitstream
I am using the following command
ffmpeg -framerate 30 -video_size 1280x720 -input_format h264 -i /dev/video2 -c copy -strftime 1 -hls_flags second_level_segment_index -hls_init_time 3 -flags -global_h...
Mohammad Umar
Votes: 0
Answers: 0
avcodec: not able to decode hevc
I am having trouble decoding a HEVC encoded video with avcodec.
Modifying one line of the source allows for decoding mpeg1 which is not what I need.
Thanks
#include <stdio.h>
#include <stdlib...
Mišo Barišić
Votes: 0
Answers: 2
Where is codec_tag coming from in libavcodec's AVCodecContext?
In libavcodec 3.3.9, the structure AVCodecContext contains several fields, two of them being codec_tag and codec_id. I know codec_id's value comes from an enum and it is used to identify the codec.
I ...
Tomás Álvarez
Votes: 0
Answers: 0