14:14
I created an AWS Lambda function in node.js 18 that is using a static, ver 7 build of FFmpeg located in a lambda layer. Unfortunately it's just the ffmpeg build and doesn't include ffprobe.
I have an mp4 audio file in one S3 bucket and a wav audio file in a second S3 bucket. I'm uploading the output file to a third S3 bucket.
Specs on the files (please let me know if any more info is needed)
Audio:
wav, 13kbps, aac (LC), 6:28 duration
Video:
mp4, 1280x720 resolution, 25 frame rate, h264 codec, 3:27 duration
Goal:
Create blank video to (...)
15:29
I have a program that retrieves images (png) and audio files from Azure Blob Storage to merge them into a video, which is then written to a temporary file and saved back to Blob Storage. I'm coding in **Python **and here is the function I use from MoviePy:
final_clip.write_videofile(temp_file_name, fps=24, codec='libx264', audio_codec='mp3')
I have containerized my code, and the **Docker **image works perfectly on my machine. However, once deployed on Azure, I encounter this problem with writing the video:
Failed: [Errno 32] Broken pipe MoviePy error: (...)
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 (...)