Changes between Version 1 and Version 2 of Ticket #4988, comment 1


Ignore:
Timestamp:
Aug 31, 2016, 7:04:49 PM (3 years ago)
Author:
oviano
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4988, comment 1

    v1 v2  
    2121After applying this patch, I can capture both video and audio, as per the log ffmpeg-discard-corrupt-buffer.log.
    2222
    23 However, as you can see in this log, there are still a bunch of warnings about Past Duration being too large. Note that these warnings don't always occur, but usually do in my case. My theory is that there is still a knock-on effect from the initial corrupted buffers and maybe the time it takes these to be resolved leaving the input and output timestamps to far apart. The capture seems ok though, and the warning can be hidden either by disabling warnings or changing the hardcoded "0.6" threshold value to something higher.
     23However, as you can see in this log, there are still a bunch of warnings about Past Duration being too large. Note that these warnings don't always occur, but usually do in my case. My theory is that there is still a knock-on effect from the initial corrupted buffers and maybe the time it takes these to be resolved leaving the input and output timestamps too far apart. The capture seems ok though, and the warning can be hidden either by disabling warnings or changing the hardcoded "0.6" threshold value to something higher.
    2424
    25 However, this is not really desirable so my second patch 0001-v4l2-added-discard-timestamps-option.patch is to add an option to simply discard the timestamps from the capture, and allow the encoder or whatever to calculate these from the framerate.
     25However, this is not really desirable so my second patch 0001-v4l2-added-discard-timestamps-option.patch iinstead adds a general option to v4l2 to discard the timestamps from the capture, and allow the encoder or whatever to calculate these from the framerate.
    2626
    2727As can be seen from the output of the log, the capture now behaves better with the only warnings now the original corrupted buffer ones.