13:19
I've 2 h264/aac stream TS files (say a.ts and b.ts) that have same duration and packet numbers. However PCR/PTS/DTS data of their audio/video stream packets are different. How do I copy PCR/PTS/DTS data from a.ts to b.ts using ffmpeg or other tools without actually overwriting the audio and video frames data? Ideally want to do this without re-encoding.
10:28
Okay... So Im trying to create a video making program thing and I'm basically finished but I wanted to change 1 key thing and don't know how to...
Here's the code:
import assemblyai as aai
import colorama
from colorama import *
import time
import os
aai.settings.api_key = "(cant share)"
print('')
print('')
print(Fore.GREEN + 'Process 3: Creating subtitles...')
print('')
time.sleep(1)
print(Fore.YELLOW + '>> Creating subtitles...')
transcript = aai. (...)
09:27
Right now i have:
1 - video (.mp4)
N - audio with its timestamp start and end (.wav)
I want to merge those audio to the video based on that time with still preserving the original video audio
So that the final illustration will looks like this:
audio ----aud1------aud2------aud3--------aud4---------audn------->
video+audio ------------------------------------------------------------>
the audio position will be based on the time, i already have this data
start=00:00:12.040,end=00:00:16.640 aud1
start=00:00:16.640,end=00:00:21.520 (...)
09:19
Is there any way to convert subtitles from "hdmv_pgs_subtitle" to "mov_text" (needed in MP4).
I try:
ffmpeg.exe i "%%F" c copy -scodec mov_text "test.mp4"
but I get:
Error while opening encoder for output stream #0:2 - maybe incorrect parameters
such as bit_rate, rate, width or height
Stream properties:
Duration: 00:01:48.14, start: 4199.920000, bitrate: 12394 kb/s
Program 1
Stream #0:0[0x1011], 169, 1/90000: Video: h264 (High), 1 reference frame (HDMV / 0x564D4448), yuv420p(top first, left), 1920x1080 (1920x1088) [SAR (...)
04:54
I have 601 sequential images, they change size and aspect ratio on frame 36 and 485, creating 3 distinct sizes of images in the set.
I want to create a timelapse and shave off the first 200 frames and only show the remaining 401, but if I do a trim filter on the input, the filter treats each of the 3 sections of different sized frames as separate 'streams' with their own reset PTS, all of which start at the exact same time. This means the final output of the below commmand is only 249 frames long instead of 401.
How can I fix this so I just get the final 401 (...)