14:00
I'm using LibAV to decode video (H.264) using dxva2 or d3d11va hardware decoder.
I then copy the decoded video frame from the GPU memory to system memory by calling av_hwframe_transfer_data().
I noticed that when using the modern d3d11va hardware decoder, the CPU load is twice as much as when using the old dxva2 hardware decoder.
I checked with LibAV 6.1 and with the old version V4.4 - the same result.
08:18
I am trying to create a script that will convert my .360 videos into 360 MP4 format, but it does not seem to work properly. When I scroll through the video, it looks like I am in a black hole or like I am moving with "warp speed" :)
Can anyone help me with the parameters? The goal is to convert them using ffmpeg instead of the traditional export from GoPro Player.
Here is the Python script so far:
`import os
import subprocess
# Define the root directory to start from and the path to ffmpeg
root_path = r"C:\\Videos"
ffmpeg_path = (...)
03:23
I want the last 30 seconds to be recorded every time I click enter and sent to the cloud. for example, if I click at 00:10:30, I want a video that records from 00:10:00 to 00:10:30 and if I click in sequence at 00:10:32, I need another different video that in its content is recorded from 00:10:02 to 00:10:32.
I think I have a problem where I will always end up recovering from the same buffer in the last 30 seconds. Is there any approach so that whenever I click enter I retrieve a unique video? Is my current approach the best for the problem? Or should I use something else?
import (...)