Copy link to clipboard
Copied
Hello,
I have designed a tool in C++ to process video using FFmpeg. The tool decodes the video using Nvidia GPU hardware acceleration, does some processing and encodes it back using Nvidia GPU hardware acceleration. The encoded video plays perfectly fine on VLC, windows media player & ubuntu video player. However, on Premiere Pro; the video jumps back and forth. To give an idea; frames go something like this (1, 2, 4, 3, 4, 5, 7, 6, 7, 8, 10, 9, 10, 11 ...).
Basically, frames are not missing. Instead there are additional frames in the sequence. It skips a frame first and then comes back to it. Can someone suggest what could be the source/solution of such a problem? The video plays perfectly fine on many other media players. Below is the metadata for the encoded video file:
File Name: output.mp4
File Size: 5.6 MiB
File Type: MP4
Mime Type: video/mp4
Media Data Size: 5891421
Media Data Offset: 44
Movie Header Version: 0
Time Scale: 1000
Duration: 0:14:00
Preferred Rate: 1
Preferred Volume: 100.00%
Next Track Id: 2
Track Header Version: 0
Track Id: 1
Track Duration: 0:14:00
Track Volume: 0.00%
Matrix Structure: 1 0 0 0 1 0 0 0 1
Image Width: 3840
Image Height: 2160
Media Header Version: 0
Time Scale: 10240
Media Language Code: und
Compressor Id: hev1
X Resolution: 72
Y Resolution: 72
Bit Depth: 24
Pixel Aspect Ratio: 1:1
Buffer Size: 0
Max Bitrate: 400000
Average Bitrate: 56108
Video Frame Rate: 1
Encoder: Lavf 59.6.100
Image Size: 3840x2160
Megapixels: 8.3
Avg Bitrate: 56.1 kbps
STREAMS
Index: 0
Codec Name: hevc
Codec Long Name: H.265 / HEVC (High Efficiency Video Coding)
Profile: Main
Codec Type: video
Codec Tag String: hev1
Has B Frames: 1
Sample Aspect Ratio: 1:1
Display Aspect Ratio: 16:9
Pix Fmt: yuv420p
Level: 150
Color Range: tv
Chroma Location: left
R Frame Rate: 1/1
Avg Frame Rate: 1/1
Time Base: 1/10240
Start Pts: 0
Start Time: 0
Duration Ts: 8601600
Duration: 840
Bit Rate: 56108
Nb Frames: 840
Extradata Size: 129
FORMAT
Nb Streams: 1
Nb Programs: 0
Format Name: mov,mp4,m4a,3gp,3g2,mj2
Format Long Name: QuickTime / MOV
Start Time: 0
Duration: 840
Size: 5896074
Bit Rate: 56153
Probe Score: 100
Major Brand: isom
Minor Version: 512
Compatible Brands: isomiso2mp41
Encoder: Lavf59.6.100
Copy link to clipboard
Copied
Same issue with mp4 files I recieved,.. Did you find any answer or solution
Copy link to clipboard
Copied
Make sure that Preferences > Audio Hardware > Default Input is set to "No Input"