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
105 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
804 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
0 votes
2 answers
1k views

ffmpeg does not stram audio from rtsp to youtube

I use my Raspberry 3 to stream my rtsp camera to youtube. But I don't have audio in the youtube stream... ffmpeg -thread_queue_size 512 -re -f lavfi -i anullsrc -rtsp_transport udp \ -...
zarg404's user avatar
  • 151
2 votes
1 answer
392 views

Pip with ffmpeg to youtube

I would like to have a picture in picture in top left with two rtsp livestreams without sound. 192.168.1.31 can do 12fps 192.168.1.13 can do 30fps Now I have this : ffmpeg -f lavfi -i anullsrc -...
zarg404's user avatar
  • 151
4 votes
0 answers
7k views

Error splitting the input into NAL units, corrupt video?

I am trying to play this video I downloaded it via youtube-dl. $ youtube-dl --verbose -c -f 22 SYahi3XFEa4 [debug] System config: [] [debug] User config: [u'-f', u'bestvideo[height<=720]+bestaudio/...
shirish's user avatar
  • 479
2 votes
1 answer
574 views

Trying to stream to youtube: "default: No such process"

I'm trying to set up a YouTube stream using ffmpeg, but get this error "default: No such process". I run this command: ffmpeg -f x11grab -s 1824x984 -framerate 15 -i :0.0 -f pulse -ac 2 -i default -c:...
Ivan's user avatar
  • 123
1 vote
0 answers
2k views

Trying to stream RTSP to Youtube via VLC

Kinda of a noob at ffmpeg but familiar enough with VLC. Trying to convert and stream RTSP to youtube live and having no luck. What am I missing? I know a lot of input in the empty fields and ...
Tater FTL's user avatar
0 votes
0 answers
464 views

How to batch download still frames from youtube videos?

I am working on a project that requires running analyses on around 20k videos hosted on youtube.com. For my analyses, I need 3-5 screenshots of each video, at different points in the video. I know ...
user1029296's user avatar
0 votes
1 answer
2k views

Why YouTube still uses H264 "Main" profile for 360p/480p videos?

YouTube uses a number of codecs such as H264, VP9, H263, VP8 etc. I am only looking at the most widely used H264 for now and I've seen across several videos that for 720p and above, YouTube uses 'H264 ...
mumer91's user avatar
  • 21
1 vote
1 answer
2k views

youtube livestream down after 2 hour using ffmpeg

stuck here I don't know how I can make this livestream last for 24/7 please tell me what I'm doing wrong here. the script I'm using #! /bin/bash # # Diffusion youtube avec ffmpeg # Configurer ...
Sergio santa's user avatar
1 vote
0 answers
306 views

Unable to extract audio with ffmpeg for youtube

I'm struggling to get youtube to accept an audio of a conference we have recorded. Youtube seems to ignore the audio of the recordings, which I can hear with VLC or Video (the Gnome player). So my ...
asdf's user avatar
  • 143
0 votes
1 answer
865 views

streaming from HTTP source like google drive, wistia

sorry I'm not familiar with FFMPEG but I tried to do a live stream to youtube from HTTP source with minimum resources,can anyone tell me what's wrong with my code. I tested google drive as well but I ...
Sergio santa's user avatar
3 votes
1 answer
5k views

How to use ffmpeg to add 3D metadata to a SBS Full Frame video without reencoding?

Ok so, I've been searching around for how to do this, but I've had no luck. I have an SBS Full Frame 3D MP4 that is 648x720p per eye (1296x720p "raw" resolution). I want to use ffmpeg to add metadata ...
dan9er's user avatar
  • 211
1 vote
1 answer
5k views

ffmpeg settings for high quality youtube videos

I am trying to record short video of my desktop and upload it to youtube. The problem is that every time when I upload it to youtube or even dropbox (as video), the quality is much worse. My ffmpeg ...
pb.'s user avatar
  • 157
4 votes
2 answers
3k views

ffmpeg - Merge mp4 video with wav audio

I want to get the best audio for a youtube video upload. I found out that mov can retain the audio intact. I've tried doing so, but I get an AAC audio instead. Here's the command I use: ffmpeg -i ...
panosl's user avatar
  • 191
3 votes
2 answers
14k views

Convert YouTube HDR (vp9.2) video to HEVC HDR with ffmpeg

My question is simple: how do I convert HDR vp9.2 videos downloaded from YouTube into HEVC (better if 10 bits) HDR videos? Yesterday I tried this command, which is the only one I could find in Google:...
Michele Dall'Agata's user avatar
5 votes
2 answers
11k views

Why youtube-dl is converting my downloaded video to a different format

I am downloading a video but youtube-dl is converting it to something else using ffmeg. This doesn't usually happens, what should I do ? Here is the log, Edit If I try to download same video on a ...
user2262511's user avatar
1 vote
0 answers
6k views

Unable to parse option value "-1" as pixel format when transcoding mp4 to mp4 using ffmpeg

I was trying to debug an issue where my mp4 file fail to upload to youtube (with "Upload failed: Can't process file" error). The video plays normally in vlc player and is able to be loaded in Vegas ...
punpun_G's user avatar
1 vote
1 answer
1k views

Encoding Video into Streamable File Format for YouTube

I'm converting an mp3 + image into a video for YouTube. I successfully got the video, but always get this message: Your videos will process faster if you encode into a streamable file format. I ...
devbanana's user avatar
  • 125
2 votes
0 answers
2k views

Convert 360 Spherical to Equirectangular projection using FFMPEG

I have video ouput from a LGE 360 camera in 360 spherical format. I want to upload to youtube. Before I do so however this must be converted into equirectangular projection. Is there a way to do this ...
Bachalo's user avatar
  • 2,697
0 votes
1 answer
1k views

Extend video stream with an static image

I have some video that have different streams (audio/video) lenght. All, have audio greater than video. With this situation, I can't upoad theses videos to Youtube. If I cut the video, to the ...
lcssanches's user avatar
1 vote
1 answer
556 views

Youtube don't like some videos

Well. I have a lot of videos in my server and I'm trying to upload to Youtube. All videos were recorded using openeya, which uses ffmpeg to record. My problem is, some videos are uploaded and other ...
lcssanches's user avatar

15 30 50 per page