Тёмный
Dev Stef
Dev Stef
Dev Stef
Подписаться
Hello, this is Stef.

I work for an Image and Video processing company.
In my free time I would like to share some of the world of video development, video decoding and some curiosities on how this amazing world goes!
FFmpeg 6.1 Is Out! Let's See What's New...
16:36
6 месяцев назад
Комментарии
@J2897Tutorials
@J2897Tutorials 4 дня назад
ffprobe -hide_banner -i filename.avi
@jagag7716
@jagag7716 12 дней назад
I have 22 minutes and 21 second video. For every 8 seconds I need to remove next 30 seconds and then after 8 seconds again I need to remove the next 30 seconds.How to do this in ffmpeg
@jagag7716
@jagag7716 12 дней назад
I have 22 minutes and 21 second video. For every 8 seconds I need to remove next 30 seconds and then after 8 seconds again I need to remove the next 30 seconds.How to do this in ffmpeg
@gedtoon6451
@gedtoon6451 17 дней назад
Nice video. This project lends itself to the use of the Python 'struct' module. with open('example.bmp', 'rb') as bmp_file: # Read the BMP header bmp_header = bmp_file.read(54) # BMP header is 54 bytes # Unpack the data from the header bmp_type = struct.unpack('<2s', bmp_header[0:2])[0] bmp_size = struct.unpack('<I', bmp_header[2:6])[0] bmp_reserved1 = struct.unpack('<H', bmp_header[6:8])[0] bmp_reserved2 = struct.unpack('<H', bmp_header[8:10])[0] bmp_offset = struct.unpack('<I', bmp_header[10:14])[0] bmp_dib_header_size = struct.unpack('<I', bmp_header[14:18])[0] bmp_width = struct.unpack('<I', bmp_header[18:22])[0] bmp_height = struct.unpack('<I', bmp_header[22:26])[0] bmp_colour_planes = struct.unpack('<H', bmp_header[26:28])[0] bmp_bits_per_pixel = struct.unpack('<H', bmp_header[28:30])[0]
@juancarlosbalbuenaponce880
@juancarlosbalbuenaponce880 19 дней назад
Hello, thank you for your excellent video. I would like to know if I can set the time code for advace? For example, begin the timer at 09:30:40.50? Thank you
@ninguhosaptot
@ninguhosaptot 21 день назад
Thanks Stefan for this excellent review of the new version!
@devstefit
@devstefit 21 день назад
Thanks for watching! Glad you enjoyed it.
@qxxrd
@qxxrd 21 день назад
Wow great job. You should make a GIF decoder next!
@devstefit
@devstefit 21 день назад
Hi! Thanks for watching! It is on the list, among other formats of images/audio, and video content. Cheers!
@SakuraHougetsu28
@SakuraHougetsu28 22 дня назад
Great explanation, i learnt how to add multiple fitlers, please keep up the good content.
@devstefit
@devstefit 21 день назад
Thank you very much! I made something about the complex filters, available here ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Yc16I6i9xDU.htmlfeature=shared
@gt-simdriver6716
@gt-simdriver6716 27 дней назад
Your notes file is missing the -f flv
@devstefit
@devstefit 25 дней назад
Thanks for pointing it out! Corrected already
@buiquangtuyen9616
@buiquangtuyen9616 Месяц назад
i setup in ubuntu, but when in run ffmpeg command with streaming to youtube via rtmp, then i check pid using of ubuntu. it show alot of pids are using. not like in mac, it only use one pid. can you explain for it ?
@devstefit
@devstefit 25 дней назад
It may depend on the way it is compiled. I did not go so deep in the implementation. Is the Linux implementation eating more resources than the Mac one?
@toanho2850
@toanho2850 Месяц назад
how about -filter_complex_script
@devstefit
@devstefit 25 дней назад
Oh, this is a nice one! I did not mean to publish anything about it yet. But thanks for the suggestion!
@Praveenstein
@Praveenstein Месяц назад
how to stream from webcam? or any usb cam?
@devstefit
@devstefit 25 дней назад
Sure, I made a series of videos dealing with the topic of streaming using different protocols. The playlist is available here ru-vid.com/group/PLOQsURf6CFX2mrC10kiddTEPaftVDAzm2&si=xkO4BPpq6HXzD4RK
@shwetashukla1154
@shwetashukla1154 Месяц назад
can you help me with one task, I have a video, now I want to add a vertical line which moves horizontally as the audio/video plays. How can I do this?
@devstefit
@devstefit 21 день назад
This task can be solved using a time-variable annotation. I covered something in this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2X4yqynOaTU.htmlfeature=shared but I guess it needs to be topped up with other concepts. Cheers!
@SakuraHougetsu28
@SakuraHougetsu28 Месяц назад
Great tutorial Sr
@devstefit
@devstefit Месяц назад
Thank you very much! And thank you very much for watching!
@DavidTPOTTheGreatGuy
@DavidTPOTTheGreatGuy Месяц назад
I have all of those
@wiphuleelasitorn5885
@wiphuleelasitorn5885 Месяц назад
Thanks!
@SooryaSankar-gy3gs
@SooryaSankar-gy3gs 2 месяца назад
why mouse is blinking
@devstefit
@devstefit 25 дней назад
I see sometimes there is this problem. The protocol and the driver is not amazing, but it works for what we need to do.
@Susandwyer
@Susandwyer 2 месяца назад
Awesome. I would really love to see a video like this which deals with more than 2 videos. And where audio also a factor. After seeing your video here, I became confident to try for myself. For which I thank you immensely. And I successfully cross fade video with audio. But when more than 2 video required to join with fade, it became so much more complex. Too much for me to figure out. Thank you once more for this.
@devstefit
@devstefit 2 месяца назад
Thank you very much! I'm glad this video was useful. Cheers!
@DatBoi_TheGudBIAS
@DatBoi_TheGudBIAS 2 месяца назад
i tried to build it with mingw-w64 gcc compiler, and the configuration worked fine. this is my config: CC=gcc ../FFmpeg-master/configure --prefix=../build --shlibdir=../build/shared --enable-gpl --enable-nonfree --enable-shared --disable-programs --target-os=mingw32 --arch=x86_64 when i did the make -j 6, it gave an error about missing or non existing file. it seems dat my make doesnt support absolute paths, and it is trying to use the current path and then using the path provided in the include of the make generated by configure, leading to missing files. i tried to replace it by the relative path and it worked, but then the FFmpeg makefile failed due to the same reason. the error is this: Makefile:1: /c/Users/username/Downloads/FFmpeg-master/Makefile: No such file or directory make: *** No rule to make target '/c/Users/username/Downloads/FFmpeg-master/Makefile'. Stop. any idea why my make is not taking the paths as absolute, and consequently messing up the compilation? NOTE: im using the mingw make, v 4.4.1
@Rafael-es5dp
@Rafael-es5dp 2 месяца назад
Is there a way or work around with the delay? Im trying to stream with obs to nginx rtmp hls😅
@devstefit
@devstefit 25 дней назад
Can't help with this... there can be a world around a delay! The most probable reason may be the video decoding and encoding along with the streaming, filling the resources and causing the delay.
@AciDDreaM450
@AciDDreaM450 2 месяца назад
Bravissimo Stefano, l'accento italiano si sente tanto ma devo dire che sei uno dei + bravi Italiani che ho sentito in merito ad "Accento" (te lo dico da italiano all estero eh ... :)). 'Scolta ho una domanda ... ma per entrare un po + sul tecnico dove mi consigli di guardare? Intendo sulle varie opzioni di ffmpeg, mux / demux / encoding etc etc. Online non trovo tanto materiale in merito (tanta teoria, ma parzialemtne declinabile poi sui vari softwares). Ciao grande, bravo, Luca.
@devstefit
@devstefit 2 месяца назад
Buongiorno Luca, grazie mille per il feedback! Ebbene sì, bisogna lavorare ancora un po' sull'inglese per essere un po' più neutro. Mi fa piacere che il video sia piaciuto. Per andare più nel dettaglio su queste cose ci sono le guide di FFmpeg ma anche un paio di testi. Uno che posso consigliare è FFmpeg - From Zero to Hero by Nick Ferrando. Più informazioni sul sito relativo ffmpegfromzerotohero.com/ In futuro ho in programma di trattare qualcosa di più profondo e tecnico comunque, tempo permettendo. Stay tuned!
@TheUltimateGeminiHasSurvived
@TheUltimateGeminiHasSurvived 2 месяца назад
I’m watching this video now. Do you have a playlist for beginners? Programmers who are getting into this technology now? We don’t understand what words like: bitrate, encoding, decoding, compiling, processing, format, codec, etc mean.
@devstefit
@devstefit 2 месяца назад
Hi! Sure, I made a playlist I would suggest if you want to use FFmpeg from scratch ru-vid.com/group/PLOQsURf6CFX1A_Cpxc-0rydtyO5gD6DrY&si=p5Atm7vPUjCQMulI Thanks for watching!
@leonlee9518
@leonlee9518 2 месяца назад
Thanks , you are the best ffmpeg teacher
@devstefit
@devstefit 2 месяца назад
Thank you very much for your kind words! And thanks for watching!
@tazzit24
@tazzit24 2 месяца назад
Hi. Thank you for this video. On Windows 11, the path to the font should be "fontfile='C\:/Windows/Fonts/Arial.ttf" if the script is executed from another drive location. Otherwise it will not find the path. I had no success with the Calibri font because my current build of ffmpeg does not support monocromatic (1bpp) fonts. For my use case I needed to add two different text boxes, so I used the -vf option (-vf "drawtext=xxx,drawtext=yyy") where xxx and yyy are variables containing the display instructions. In your demo, I think you forgot to type a ":" before the "x" axis. It will work without but I think it is better to use the attributes separator in a consistent way. Your video helped me a lot. Grazie. Giancarlo.
@vishalgawali1863
@vishalgawali1863 2 месяца назад
Hi Stef, your ffmpeg playlist is amazing . You have explain every concept of ffmpeg in deep and Simple manner which helps a lot for me. I am trying to build ffmpeg.dll , with the help of your video I am able to generate ffmpeg.exe to generate ffmpeg.dll I have given - -enable-shared in configuration but still I am getting ffmpeg.exe, for libavcodec, libavdevice getting dll but not for ffmpeg , am I missing any configuration? Can you please help me to generate ffmpeg.dll.
@EmilioAyala
@EmilioAyala 2 месяца назад
is there any way to eliminate the tiny audio gap between merge points? I merged 10 videos and there is a tiny skip in between merged videos
@devstefit
@devstefit 2 месяца назад
I think this may be given by a small time shift between video and audio. Sometimes, video and audio don't start and don't end at the same time. Another reason may be audio frame stuffing: if the audio frame is of a certain length and the audio ends a bit before, there might be this gap. This requires further analysis, and maybe changing the concatenation method. Which method did you use?
@jfro_
@jfro_ 2 месяца назад
how to capture audio not from microphone but the feed that comes out to speaker, therefore audio no noise included but pure audio from desktop or browser media playing, by the way no issues with video capture, just the audio giving trouble. tak
@o2bu
@o2bu 2 месяца назад
thanks!
@devstefit
@devstefit 2 месяца назад
You're welcome! Thanks for watching!
@GooseDaPlaymaker
@GooseDaPlaymaker 2 месяца назад
Hey. I’m not sure if FFMPEG is what I’m looking for, but let me tell you about what I’m looking for. I want to stream my PS3 console to my devices (iPhone, Steam Deck, etc). Is there some sort of FPGA solution for this, or is FFMPEG possibly an answer? I’m not an engineer and I’m probably in the wrong arena, but…any insight is extremely helpful.
@lands1459
@lands1459 3 месяца назад
is there another solution to this? nginx installs and runs, but i can't stream to it. OBS says the stream url is invalid. tried nmap on my server and the rtmp is open and alive
@devstefit
@devstefit 25 дней назад
The system is meant to transmit streams from the server to the client. You set everything correctly, maybe you are using it on the other way around.
@lands1459
@lands1459 25 дней назад
@@devstefit not sure what you mean but i got it to work. i stream to the rtmp server with obs and i can watch the stream on as many clients as i'd like
@devstefit
@devstefit 25 дней назад
@@lands1459 Sorry, I misunderstood your question. I understood you wanted to use the server to receive streams. I am glad you solved! And thanks for your feedback!
@sid-max1996
@sid-max1996 3 месяца назад
It is amazing
@ali_youtube_user_7351
@ali_youtube_user_7351 3 месяца назад
Thanks. Can I set an audio file metadata to another audio file ?
@alexandrinoneto6606
@alexandrinoneto6606 3 месяца назад
Hi Stef, thanks for the video. I have a very interesting project involving ffmpeg here at the company, when can we talk about it? Best Regards
@bildkistl
@bildkistl 3 месяца назад
Thanks will try
@dritonismaili5635
@dritonismaili5635 3 месяца назад
In a very short short period of time I learned a lot from your videos. But one thing I noticed, my CPU is overworked.
@devstefit
@devstefit 3 месяца назад
Thank you very much! I think your CPU doesn't thank me so much for the stress anyway... Soon there will be GPU stressing!
@CiaCon
@CiaCon 3 месяца назад
Does ffmpeg support filtering out high pitched noise?
@devstefit
@devstefit 3 месяца назад
Thanks for watching! Sure, it is possible. Depends on what you have to do: superuser.com/questions/733061/reduce-background-noise-and-optimize-the-speech-from-an-audio-clip-using-ffmpeg
@CiaCon
@CiaCon 3 месяца назад
​@@devstefityou might want to look into using it 😅
@vfwh
@vfwh 3 месяца назад
This video is irony squared.
@shea-c4
@shea-c4 3 месяца назад
I cannot thank you enough. Have tried to do this at least 3 times, 12+ hours per attempt, and FINALLY thanks to you it worked! I got it cross compiling in msys2 for arch x86_64 but was never able to use the msvc toolchain! THANK YOU 🤯🤯🤯
@devstefit
@devstefit 3 месяца назад
Glad you made it working! Thanks for watching!
@Xulufone
@Xulufone 4 месяца назад
big buck bunny - the most converted video file 😂
@devstefit
@devstefit 4 месяца назад
True story! 🤣
@VidTekHDRGrading
@VidTekHDRGrading 4 месяца назад
Thanks man.
@devstefit
@devstefit 4 месяца назад
Most welcome pal! Thanks for watching!
@noblessus
@noblessus 4 месяца назад
This is pure gold, I have been wanting to code for FFMPEG but didn't know how to start. Thank you for this video!
@devstefit
@devstefit 4 месяца назад
You're most welcome! Let's hope it can be easier after a short while
@noblessus
@noblessus 4 месяца назад
thank you so much from making this video! I've always wanted to learn this
@devstefit
@devstefit 4 месяца назад
I'm glad you liked it. Keep on, I know the struggles you can face
@laislima_dev
@laislima_dev 4 месяца назад
OMG its awesome see how video works! Keep going on!
@devstefit
@devstefit 4 месяца назад
Thank you very much!
@fylip22b
@fylip22b 4 месяца назад
Bonjour et merci pour ces explications. Malgré que je ne suis pas développeur, j'ai réussi à suivre les différentes étapes. À bientôt. Philippe P
@user-mg3qw6fv5t
@user-mg3qw6fv5t 4 месяца назад
👍
@someguythatyoutubes
@someguythatyoutubes 4 месяца назад
Thank you so much for this! Have been struggling with this for hours until I came across this video
@raulmejiaj
@raulmejiaj 4 месяца назад
Hello Stef, very helpful your video and the use of nginx, another interesting topic is the use of hls and dash but allocate the output hls or dash files in a server using Webdav, I've seen that this can be done with nginx or with apache, it would be great if you could do a video about it. Greetings from a fan from Mexico, keep it up with your cool content I've learned so much 👍👍👍
@devstefit
@devstefit 4 месяца назад
Hi! Thanks for your kind words and for your suggestion! I think this will be on my list of next videos 👍🏻
@trashanken
@trashanken 4 месяца назад
Great video Stef! Greetings from Sweden
@SanthoshKumar-mr5ss
@SanthoshKumar-mr5ss 4 месяца назад
Can we able to record the streamed footage in the nginx server?
@theritikchoure
@theritikchoure Месяц назад
yes
@devstefit
@devstefit 25 дней назад
Sure, you can capture the stream to a file if you would like. Even better than recording!
@faustasazuolasbagdonas123
@faustasazuolasbagdonas123 4 месяца назад
Thanks, this was helpful. I suggest to make a video on how to build ffplay because that is not straightforward on Windows with MSVC.
@devstefit
@devstefit 4 месяца назад
Hi! Thanks for watching! I think you won't be disappointed at the end of the tutorial series I am creating. Check it out!