20:07
Extract Audio without reencoding
My ffmpeg command looks like this:
ffmpeg -hide_banner -y -i test.mp4 -map 0 -c:a copy test1.mp3
It should:
Extract Audio Tracks(Currently only one!) from a given Video File
Write the data(very fast). No reencoding. <- This is the broken part
Here is the ffmpeg output:
[mp3 ⓐ 0000026cac583cc0] Invalid audio stream. Exactly one MP3 audio stream is required.
[out#0/mp3 ⓐ 0000026cad12ae80] Could not write header (incorrect codec parameters ?): Invalid argument
Invalid argument
I tried(nothing is (...)
09:15
I've been trying to get multiple outputs with different duration of segments from a playlist url using ffmpeg. Example: 120 seconds of a live stream. One output must download 8 times 15 seconds segments. Other output must download 4 times 30 seconds segments. Both outputs will have the same content, but with different durations. It works fine when I use a single output, but with 2 outputs, it's not limited to 120 seconds. Instead it just keeps downloading.
Note: I know I could get a single output and divide it into segments later, but I need this approach.
ffmpeg -t 120 (...)
10:38
I downloaded a video from YouTube Shorts for testing. The original video has the following metadata for the video stream:
[STREAM]
index=0
codec_name=av1
codec_long_name=Alliance for Open Media AV1
profile=Main
codec_type=video
codec_tag_string=av01
codec_tag=0x31307661
width=608
height=1080
coded_width=608
coded_height=1080
closed_captions=0
film_grain=0
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuv420p
level=4
color_range=tv
color_space=bt709
color_transfer=bt709
color_pr