Skip to main content

All Questions

Tagged with
-2 votes
1 answer
63 views

FFmpeg MP4 command not working as expected [closed]

I’ve tried to use FFmpeg to prepare a video for YouTube, based on the YouTube recommended upload encoding settings but can’t make it work. Does anyone know the exact encoding FFmpeg command based on ...
Michael's user avatar
  • 21
1 vote
1 answer
106 views

Ffmpeg image parameter for YouTube

Is there any image png command equivalent to parameter below? ffmpeg -loop 1 -framerate 2 -i input.png -i audio.m4a -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt ...
Michael's user avatar
  • 21
1 vote
0 answers
51 views

Ffmpeg webm YouTube settings command

Is there a .webm still image command in ffmpeg that is best compatible with YouTube I’m currently using: ffmpeg -loop 1 -framerate 2 -i input.png -i audio.m4a -c:v libx264 -preset medium -tune ...
Michael's user avatar
  • 21
1 vote
0 answers
290 views

Raspberry Pi with Bullseye: how to stream from camera to Youtube Live, and simultaneously save the stream to video files locally

I have raspberry pi 3b+ with Arducam camera and Debian Bullseye, and I would like to achieve the following: get video from libcamera-vid, 800x600, 15 fps get audio from default audio source stream ...
tputkonen's user avatar
  • 385
0 votes
0 answers
46 views

FFMPEG Webcam YouTube stream configuration

I was hoping someone could take a look at this code and offer suggestions. BACKGROUND: I'm using a Raspberry Pi 4 & Logitech 1080p/30fps webcam to stream directly to YouTube. ISSUE: No matter how ...
Andrew Victor's user avatar
1 vote
0 answers
114 views

Ffmpeg encoded video results in corrupted YouTube video

I'm creating videos for YouTube that combine a still image with an MP3 file. For some reason, some of the videos get corrupted (in the example below after 15 seconds) and result into a gray screen. ...
user1796440's user avatar
2 votes
2 answers
1k views

Create video from one picture and one audio file

I'm trying to create a video from one picture and one audio file. The video should be as long as the audio file, displaying the same picture the whole duration. This command does not work correctly. ...
Matej's user avatar
  • 23
0 votes
0 answers
739 views

Colors from PS5 - WebM files are washed out after uploading on YouTube, can ffmpeg fix it?

Can I repair or change the color command via "ffmepg" without re-encoding the file? There seems to be a communication problem between the created *.webm file from the PlayStation 5 and ...
Mannitu's user avatar
0 votes
1 answer
113 views

Need help fading overlay with image-ads in and out - infitely

Im trying overlay an image-ad every x-seconds, by fading the overlay in and out. It's a stream for our company in Southern Denmark. Should be said im 3 days old in FFMPEG. And that its running on ...
Frederik Krath Nielsen's user avatar
1 vote
0 answers
200 views

Trying to Restream youtube live using ffmpeg - Not working

<!DOCTYPE html> <html> <head> <title>YouTube Live Stream Restream</title> </head> <body> <h1>YouTube Live Stream Restream</h1> <form ...
Nikhil Verma's user avatar
0 votes
0 answers
526 views

How to properly reencode videos for YouTube shorts with FFMPEG

I have tried many encoding and everytime YouTube app is saying unable to preview video when I try to upload my video as YouTube shorts The app is able to see tiktok generated output file, however I ...
Furkan Gözükara's user avatar
1 vote
1 answer
1k views

ffmpeg 3D conversion - EAC stereo (Youtube) to Equirectangular stereo?

I've had success with converting monoscopic equiangular cube maps (EAC) videos, but I can't get the filters to work for stereoscopic. There's an example in the ffmpeg manual in the v360 filter ...
urbanspaceman's user avatar
0 votes
0 answers
426 views

Why is a video created by FFmpeg from static image is rejected by YouTube?

I am trying to input a image.jpg file and audio file. I need output as video of 1080p quality. Recently I tried the command given in ffmpeg doc Encode/YouTube and got the output. ffmpeg -loop 1 -...
user1743177's user avatar
2 votes
2 answers
3k views

How to make youtube-dl (yt-dlp) generate subtitles properly and not duplicate the text?

I'm using yt-dlp to download some videos, and I've told it to embed the subtitles. This seems to work, except it's generating subtitles in the most horrible way by duplicating the text. For example, ...
Component's user avatar
3 votes
1 answer
5k views

ffmpeg 360 Video - Convert EAC (Youtube) to Equirectangular

I have this top-bottom 360 Video, where the bottom is rotated 90 degrees clockwise, and I am looking for the ffmpeg command to produce a singular equirectangular output. I've been experimenting with ...
chantey's user avatar
  • 161
1 vote
0 answers
299 views

Cannot start livestream on youtube even though ffmpeg seems to work?

I am a novice on ffpmeg and trying to go for a livestream youtube radio via azuracast. I have created an instance on oracle cloud and installed azuracast there. I can listen to the songs I uploaded in ...
mlee_jordan's user avatar
0 votes
1 answer
907 views

ffmpeg stream new image every x seconds to youtube

I know how to stream a single image with sound to youtube via ffmpeg ffmpeg -f concat -safe 0 -i music.txt -loop 1 -i input.png -c:v libx264 -preset ultrafast -c:a copy -f flv rtmp://a.rtmp.youtube....
dougo22's user avatar
0 votes
1 answer
996 views

Downloading and merging mp3 in time-range from Youtube using youtube-dl and ffmpeg

Background I am trying to download best quality mp3 from Youtube videos in specified time range (first 30 seconds, 20-55 seconds etc), and then merge them to create one output file. Tools being used ...
Green goblin's user avatar
0 votes
0 answers
1k views

ffmpeg command, what is the "best" config to re-encode video Youtube?

Let's say we have a video generated with matplotlib.animation with the code below (while can't figure how to have the mp4 file with HD 1080p, but we can re-encode with Final cut pro HD 1080p) Writer =...
user95432's user avatar
  • 101
0 votes
1 answer
175 views

Youtube-dl acting up in Kubuntu 18.04 "can't download"

first thing I'd like to state that I didn't have any issues using youtube-dl in Windows 10. But not in Kubuntu 18.04, It doesn't work the command: $ sudo youtube-dl 'IllgR6kOieI' --external-downloader ...
mohsentux's user avatar
  • 115
1 vote
1 answer
842 views

FFMpeg switch between live stream and a text video when streaming to YouTube

I have been running a Youtube livestream for a while and I am developing a solution so that I can run the stream remotely through a browser. My plan is to have an ASP.net core web api project running ...
spectacularbob's user avatar
0 votes
1 answer
95 views

Join mp3 exported from audacity with image using FFMPEG but youtube cannot process it

Is there some cause to this incompatibility : how to fix this ? I can play it locally. I'm using an animated gif 1766 * 1080 FPS 4 I converted to mp4 ffmpeg.exe -i test.gif -movflags faststart -...
user75875's user avatar
  • 461
0 votes
0 answers
241 views

FFMPEG IP Camera streaming on Youtube

Here's the command I'm using: ffmpeg -fflags genpts+igndts+discardcorrupt+ignidx+nobuffer -rtsp_transport tcp -i rtsp://*************** -c:v copy -af aresample=async=1:min_hard_comp=0.100000:first_pts=...
d4rt's user avatar
  • 1
-2 votes
1 answer
3k views

Why is my YouTube video distorted on so many mobile devices?

A few hours after I uploaded an FFmpeg-encoded YouTube video, the few people that I had sent it to started reporting a strange issue: that the first 26 minutes of the audio sounded very distorted; ...
Hashim Aziz's user avatar
  • 13.1k
1 vote
0 answers
3k views

Black screen when taking a screenshot of video

This is a weird one I am struggling to find answers for. I have a Windows 10 laptop with OneDrive which allows for automatic saving of any screenshots I take. Well, I went to take a screenshot of a ...
Lupin III's user avatar
0 votes
0 answers
560 views

Multiple ffmpeg processes and multiple RTMP outputs

Debian user here. Desperately looking not even a solution but at least a hint about how to debug this situation. I need to run multiple ffmpeg processes simultaneously: ffmpeg -loglevel error -f ...
RockyG's user avatar
  • 1
1 vote
1 answer
805 views

Convert videos to 1080p without re-encoding

I have a large amount of 1280x1024 videos and I want to archive them on YouTube. The issue is that YouTube doesn't offer any height between 1080 and 720 and so the video gets scaled down to 900x720, ...
IS4's user avatar
  • 1,480
0 votes
1 answer
6k views

How to convert 4K .mkv to .mp4 for YouTube

I want to convert small clips of a 4K movie to .mp4 without losing quality so I can upload them to YouTube. Loading a whole movie into Premiere Pro and then cutting it at exact points is already a ...
Soda Party's user avatar
20 votes
3 answers
49k views

How to download chapters of a youtube video as separate video files?

A New YouTube Feature Youtube recently enabled the option to add chapters in YouTube videos. This is done by simply adding the chapter timestamps (start time) in the description of the video. ...
Lyric Roy's user avatar
  • 305
0 votes
1 answer
1k views

Ffmpeg stream at the same time to youtube and twitch

I would like to stream my webcam to youtube and twitch in the same command line because the bandwidth to my camera is very narrow. I can stream either youtube or twitch using this command. How can ...
zarg404's user avatar
  • 151

15 30 50 per page