Comments (4)
nvmpi_enc.cpp:
415 v4l2_buf.timestamp.tv_usec = frame->timestamp;
to
415 v4l2_buf.timestamp.tv_usec = frame->timestamp % 1000000;
416 v4l2_buf.timestamp.tv_sec = frame->timestamp / 1000000;
88 ctx->timestamp[ctx->buf_index]=v4l2_buf->timestamp.tv_usec;
to
88 ctx->timestamp[ctx->buf_index] = (v4l2_buf->timestamp.tv_usec % 1000000) + (v4l2_buf->timestamp.tv_sec * 1000000UL);
from jetson-ffmpeg.
from jetson-ffmpeg.
I remember jetson nano nvenc does not support hardware timestamp, so I added V4L2_BUF_FLAG_TIMESTAMP_COPY flags
from jetson-ffmpeg.
I don't know about hardware timestamp. It is all about copying timestamp from input to output packet. tv_usec field cropped by system to fit in diapasone 0-999999... And tv_sec field at now not used at all.
from jetson-ffmpeg.
Related Issues (20)
- Assertion failed when decoding yuv420p to h264
- Unable to compile ffmpeg in new l4t 34.1 ubuntu 20.04 HOT 12
- Cannot find a proper format for codec βh264β (id 28), pixel format βnoneβ
- How to encode data from DMA buffer fd? HOT 1
- How to encode data from device with dma buffer fd?
- Error: Can't initialize nvrm channel Error: HOT 5
- open nvmpi decoder fails at Nvidia ORIN plateform HOT 3
- QUSTION: Nano Jetson CUDA support??? HOT 1
- It seem it's create_decoder format with YUV420 didn't work. HOT 1
- Jetpack 5.0.2 Segmentation Fault
- ffmpeg not h264-nvmpi HOT 1
- install successfully,but it seems that didn't use gpu
- L4T 5.1 missing return statement in encoder causing segmentation fault HOT 3
- use h264_nvmpi to decode a video, the export video is very strange HOT 3
- versions for ffmpeg 5.1 and 6.0 HOT 2
- potential concurrency issue in encoder HOT 2
- encode2 (old) FFmpeg API affecting encoder latency HOT 8
- NV12 pix_fmt for encoding
- Cannot found LIB_NVBUF? HOT 8
- avcodec_find_encoder_by_name (h264-nvmpi) function failed.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jetson-ffmpeg.