pts Questions
3
How to calculate correct PTS value for frame before encoding in FFmpeg C API?
For encoding I'm using function avcodec_encode_video2 and then writing it by av_interleaved_write_frame.
I found som...
1
Solved
I have a series of videos that I'm converting from .mov to .ts and then create an HLS playlist for. I'm able to figure out the ending pts for both the audio and video streams of any given video and...
1
Solved
I have an mov file that I need to get the ending pts for both the audio and video streams. I'm able to do this by doing the following (manually):
ffprobe -show_packets file.mov
Which gives me an ...
1
Solved
I've seen a number of questions regarding video PTS values not starting at zero, or asking how to make them start at zero. I'm aware that using ffmpeg I can do something like ffmpeg -i <video>...
Wiredraw asked 28/6, 2018 at 14:14
2
Solved
I am running qemu with
-serial pty
option, and qemu gave this message
char device redirected to /dev/pts/1
however, it doesn't generate new window, I can do cat on pts1 from different wi...
Lezley asked 25/11, 2013 at 10:43
2
Solved
I have a terminal that uses STDIN 3 (/proc/xxxx/fd/0 -> /dev/pts/3)
So if (in another terminal) I do:
echo 'do_something_command' > /dev/pts/3
The command is shown in my first (pts/3) ter...
0
I am working on a small library for creating a pair of connected pts. I use an epoll fd, in which I register the master fd for two pseudo-terminals for EPOLLIN events. When my example client progra...
1
Solved
I'd like to write a program that emulates a device on a serial port. I'm trying to use pseudoterminals to accomplish this. I want one distinct process to control the master. This process acts as th...
Lithographer asked 4/5, 2014 at 17:46
1
Solved
I had fps issues when transcoding from avi to mp4(x264). Eventually the problem was in PTS and DTS values, so lines 12-15 where added before av_interleaved_write_frame function:
1. AVFormatContext...
Bayonne asked 27/11, 2012 at 23:46
1
Synchronization has always fascinated me, or to be precise: why a .ts can be viewed in sync by media players, while the demuxed audio+video reassembled is out of sync.
So I'm trying to understand ...
Cowardly asked 18/1, 2011 at 20:12
1
Solved
Could someone briefly explain what the acronym PTS means in reference to video encoding?
Fann asked 5/5, 2010 at 15:23
2
A friend to me made a flash game for my website. The game makes a request to /game/p00ints.php with the points in $_POST['points'].
But, a hacker can easy find out how to get more points I guess, ...
3
I'm working with an mpeg stream that uses a IBBP... GOP sequence. The (DTS,PTS) values returned for the first 4 AVPackets are as follows: I=(0,3) B=(1,1) B=(2,2) P=(3,6)
The PTS on the I frame loo...
1
© 2022 - 2024 — McMap. All rights reserved.