-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiplexencoder.cpp updateStreamPts() Invalid pts for both streams #281
Comments
ffprobe version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2007-2019 the FFmpeg developers |
Console output: Input #0, video4linux2,v4l2, from '/dev/video0': |
Tried to build the av module from source and tested the devicerecorder sample using ubuntu 18.04 and ffmpeg 3.4.6
The audio recording seems to be fine but there is no video due to the next pts being calculated as Invalid all the time in the updateStreamPts ()
Due to this the data is not passed to the video encoder
Similar issue has been raised previously
#241
Where its been suggested to remove the realtime pts calculation as the av_read_frame() sets up the pts.
I have tried to comment out that line in the mediacapture.cpp but still I am getting the invalid pts and there is no video recording.
if (_realtime) {
// ipacket.pts = time::hrtime() - startTime;
}
Any ideas why is this occurring, the only difference I can see is that I am using a newer version of ffmpeg 3.4.6 compared to 3.0 as in #241
The text was updated successfully, but these errors were encountered: