CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 05:54:38 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/opencv/opencv.git
etag: W/"2fddd8f0a9c36ea127583c9dbd2e797b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=QaJiHA1Plp5zHrrSZ6Mj5XdXQOZ9Mi6S6%2Brep6ysZi8Otro91PQZ6fv5%2BINA4vin37ib8lV%2FX8wZJuf0KBjXB4eIa8f%2FgF8%2FVx6Dx0t3lP%2B9MYTmdYRi77IgFzNoR3zWnn6XrtM83N%2B0jR33xTylix6NGDhZWr5badSv%2Fc6mbBvYQ%2Fg9zl5zZx0iw%2FVGVQXXHek6nQeA7tWKIaZ2w085mUfLnakPA%2FpaRiym88g9%2BfZfDZvTwviF26T1hK8uxbsxmLUXfzlzA0FocEfrYUn6bg%3D%3D--GaJXMm%2BFqp4rzun3--ptDfcZWr0G%2BLAIQBjBPNIQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.397592977.1753682078; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 05:54:38 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 05:54:38 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A450:1AFF47:14B34BD:1B442C4:6887109E
Merge pull request #25874 from cudawarped:videoio_ffmpeg_fix_encapsul… · opencv/opencv@c9b5781 · GitHub
Copy file name to clipboardExpand all lines: modules/videoio/include/opencv2/videoio.hpp
Copy file name to clipboardExpand all lines: modules/videoio/src/cap_ffmpeg_impl.hpp
Copy file name to clipboardExpand all lines: modules/videoio/test/test_ffmpeg.cpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit c9b5781
authored
Merge pull request #25874 from cudawarped:videoio_ffmpeg_fix_encapsulate_ts
videoio: fix cv::VideoWriter with FFmpeg encapsulation timestamps #25874
Fix #25873 by modifying `cv::VideoWriter` to use provided presentation indices (pts).
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake1 parent 89dd4ee commit c9b5781Copy full SHA for c9b5781
File tree
Expand file treeCollapse file tree
3 files changed
+88
-32
lines changedFilter options
- modules/videoio
- include/opencv2
- src
- test
Expand file treeCollapse file tree
3 files changed
+88
-32
lines changedmodules/videoio/include/opencv2/videoio.hpp
Copy file name to clipboardExpand all lines: modules/videoio/include/opencv2/videoio.hpp+6-2Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
211 | 211 |
| |
212 | 212 |
| |
213 | 213 |
| |
| 214 | + | |
| 215 | + | |
214 | 216 |
| |
215 | 217 |
| |
216 | 218 |
| |
| |||
230 | 232 |
| |
231 | 233 |
| |
232 | 234 |
| |
233 |
| - | |
234 |
| - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
235 | 239 |
| |
236 | 240 |
| |
237 | 241 |
| |
|
modules/videoio/src/cap_ffmpeg_impl.hpp
Copy file name to clipboardExpand all lines: modules/videoio/src/cap_ffmpeg_impl.hpp+38-4Lines changed: 38 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
560 | 560 |
| |
561 | 561 |
| |
562 | 562 |
| |
| 563 | + | |
| 564 | + | |
563 | 565 |
| |
564 | 566 |
| |
565 | 567 |
| |
| |||
615 | 617 |
| |
616 | 618 |
| |
617 | 619 |
| |
| 620 | + | |
| 621 | + | |
618 | 622 |
| |
619 | 623 |
| |
620 | 624 |
| |
| |||
1581 | 1585 |
| |
1582 | 1586 |
| |
1583 | 1587 |
| |
1584 |
| - | |
| 1588 | + | |
| 1589 | + | |
1585 | 1590 |
| |
| 1591 | + | |
| 1592 | + | |
1586 | 1593 |
| |
1587 | 1594 |
| |
1588 | 1595 |
| |
| 1596 | + | |
1589 | 1597 |
| |
1590 | 1598 |
| |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
1591 | 1608 |
| |
1592 | 1609 |
| |
1593 | 1610 |
| |
| |||
1855 | 1872 |
| |
1856 | 1873 |
| |
1857 | 1874 |
| |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
1858 | 1880 |
| |
1859 | 1881 |
| |
1860 | 1882 |
| |
| |||
2107 | 2129 |
| |
2108 | 2130 |
| |
2109 | 2131 |
| |
| 2132 | + | |
| 2133 | + | |
2110 | 2134 |
| |
2111 | 2135 |
| |
2112 | 2136 |
| |
| |||
2175 | 2199 |
| |
2176 | 2200 |
| |
2177 | 2201 |
| |
| 2202 | + | |
| 2203 | + | |
2178 | 2204 |
| |
2179 | 2205 |
| |
2180 | 2206 |
| |
| |||
2343 | 2369 |
| |
2344 | 2370 |
| |
2345 | 2371 |
| |
2346 |
| - | |
| 2372 | + | |
2347 | 2373 |
| |
2348 | 2374 |
| |
2349 | 2375 |
| |
| |||
2354 | 2380 |
| |
2355 | 2381 |
| |
2356 | 2382 |
| |
2357 |
| - | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
2358 | 2386 |
| |
2359 | 2387 |
| |
2360 | 2388 |
| |
| |||
2449 | 2477 |
| |
2450 | 2478 |
| |
2451 | 2479 |
| |
2452 |
| - | |
| 2480 | + | |
2453 | 2481 |
| |
2454 | 2482 |
| |
2455 | 2483 |
| |
| |||
2651 | 2679 |
| |
2652 | 2680 |
| |
2653 | 2681 |
| |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
2654 | 2688 |
| |
2655 | 2689 |
| |
2656 | 2690 |
| |
|
modules/videoio/test/test_ffmpeg.cpp
Copy file name to clipboardExpand all lines: modules/videoio/test/test_ffmpeg.cpp+44-26Lines changed: 44 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
293 | 293 |
| |
294 | 294 |
| |
295 | 295 |
| |
296 |
| - | |
| 296 | + | |
297 | 297 |
| |
298 | 298 |
| |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
299 | 303 |
| |
300 | 304 |
| |
301 | 305 |
| |
| |||
307 | 311 |
| |
308 | 312 |
| |
309 | 313 |
| |
| 314 | + | |
| 315 | + | |
310 | 316 |
| |
311 | 317 |
| |
312 | 318 |
| |
| |||
320 | 326 |
| |
321 | 327 |
| |
322 | 328 |
| |
323 |
| - | |
324 | 329 |
| |
325 | 330 |
| |
326 | 331 |
| |
327 | 332 |
| |
328 | 333 |
| |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
329 | 339 |
| |
330 | 340 |
| |
331 | 341 |
| |
| |||
336 | 346 |
| |
337 | 347 |
| |
338 | 348 |
| |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
339 | 354 |
| |
340 | 355 |
| |
341 | 356 |
| |
| |||
362 | 377 |
| |
363 | 378 |
| |
364 | 379 |
| |
365 |
| - | |
366 | 380 |
| |
367 | 381 |
| |
368 | 382 |
| |
369 | 383 |
| |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
370 | 389 |
| |
371 | 390 |
| |
372 | 391 |
| |
| |||
375 | 394 |
| |
376 | 395 |
| |
377 | 396 |
| |
378 |
| - | |
379 |
| - | |
380 |
| - | |
381 |
| - | |
382 |
| - | |
383 |
| - | |
384 |
| - | |
385 |
| - | |
386 |
| - | |
387 |
| - | |
388 |
| - | |
389 |
| - | |
390 |
| - | |
391 |
| - | |
392 |
| - | |
393 |
| - | |
394 |
| - | |
395 |
| - | |
396 |
| - | |
397 |
| - | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
398 | 417 |
| |
399 |
| - | |
400 |
| - | |
401 |
| - | |
| 418 | + | |
| 419 | + | |
402 | 420 |
| |
403 | 421 |
| |
404 | 422 |
| |
|
You can’t perform that action at this time.
0 commit comments