#8993: vaapi_encode.c example makes the invalid stream
-------------------------------------+-------------------------------------
             Reporter:  Wohlstand    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  minor        |                Component:
                                     |  documentation
              Version:  git-master   |               Resolution:
             Keywords:  vaapi        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Wohlstand):

 Okay, I did the investigation (I spent a week), and I found the true
 reason: to fix the problem, it's need to always add the pts counter and
 iterate it by self:

 ```
 static int64_t pts_counter = 0;
 ...

 frame->pts = pts_counter++;
 ...
 ```
 So, it's need to fix the example until close this issue.

 Another my mistake that I had to unite two packets, sometimes given by the
 encoder from the one frame, and sent it into RTSP server (that worked at
 the separated application and had to receive video through the FIFO pipe).
 I must to send every packet independently.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8993#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to