New answers tagged

0

Here is a general bash script that takes in a path to a folder of images, and outputs a crossfade video with ffmpeg: https://gist.github.com/anguyen8/d0630b6aef6c1cd79b9a1341e88a573e


0

Here is a general bash script that takes in a path to a folder of images, and outputs a crossfade video with ffmpeg: https://gist.github.com/anguyen8/d0630b6aef6c1cd79b9a1341e88a573e


0

I was able to capture smooth h264 from a c920 using ffmpeg on Windows 10. I uninstalled the Logitech driver and used the built-in Windows driver and ffmpeg version ffmpeg-20160428-git-78baa45-win64-static. Then I ran (-t 300 captures for 5 minutes): ffmpeg.exe -f dshow -video_size 1920x1080 -framerate 30 -vcodec h264 -i video="HD Pro Webcam ...


0

This can be done, using a daisychained loop filter. ffmpeg -i input.mp4 \ -vf loop=90:1:0,setpts=N/FRAME_RATE/TB, \ loop=90:1:390,setpts=N/FRAME_RATE/TB, \ loop=90:1:780,setpts=N/FRAME_RATE/TB, \ loop=90:1:1169,setpts=N/FRAME_RATE/TB stuttered.mp4 The command above is for a 30 fps video. Each loop filter sets loop to 90 ...


1

There are to ways how you can fix it. 1. Using command line Open cmd.exe and go to VLC path (it is usually in C:\Program Files (x86)\VideoLAN\VLC). Now run following command: vlc --video-wallpaper --align=2 --qt-start-minimized http://iphone-streaming.ustream.tv/uhls/17074538/streams/live/iphone/playlist.m3u8 This will start your stream in wallpaper ...


1

Try this, (although you don't mention what's not working) ffmpeg -s 480x270 -framerate 30 -i left.yuv -s 480x270 -framerate 30 -i right.yuv \ -filter_complex "[0:v:0]pad=iw+10:ih:color=white[l]; \ [l][1:v:0]hstack[v]" -map "[v]" left-right.YUV


1

If you have a complex filter with more than one input and output, you need to explicitly specify which input and output streams are used by which filter. Also, to separate filterchains, you will have to use the semicolon (;) instead of a simple comma (,). Finally, you have to map the output of those filterchains to the output file using the -map option. ...


0

I have found a simpler solution than the ones put forward by @TeknoVenus for Firefox and Chrome. They didn't work for me when I tried them, which could just be that two years have made a difference in terms of how Vimeo lays out their website. My suggestion will work for any browser. Let your mouse hover over the video so that the sharing options appear in ...


0

You can change the default system audio output like this: In the menu bar, option-click the volume icon, and choose headphones. This should affect most applications, but it's possible some apps or web plugins will have their own setting.


0

Sorry to burst your bubble but I just started a transfer today of Mini-DV and I can confirm that magnetic digital tape degrades over time. The tape looked physically OK but the data on it had degraded after 9 years of storage, so now I get the classic blocks and bands halfway through the tape. The strange part is that the tape was rewound properly so the ...


1

I had to remove --audio-buffer-size=2048 from the command line shortcut which launches Chrome and restart it. I undoubtedly had to add that a long time ago in order to fix some other problem with Chrome and videos. It seems many people had this problem too. I saw many results for different operating systems. Here is one for Windows 10 (even though I have ...


0

Try a desktop teleprompter product like this: https://www.bodelin.com/proprompter/proprompter-desktop If its really that big of an issue for you.


1

This wiki is a place where you should look into. From FTP Hi-Def Content Using FOXY: On the HDR both Hi-Def. and Standard-Def (SD). files are encrypted on the internal Hard Disk drive... So yes, this file is encrypted. FYI .ts file stands for MPEG transport stream and as you assumed it contains encoded (and in your case also encrypted) video data. I ...


2

Method 1: open cmd and type: FOR %A IN ("C:\SourcePath\*.m4a") DO ffmpeg -i "%~A" -vn -c:a copy "C:\OutputPath\%~NA.aac" Method 2: open cmd and type: FOR %A IN ("C:\SourcePath\*.m4a") DO ffmpeg -i "%~A" -vn -acodec copy "C:\OutputPath\%~NA.aac" Both of them work.


2

Either run ffmpeg.exe -f concat -safe 0 -i "C:\Users\mtst\Desktop\Clips\keep\keep.txt" -c copy "C:\Users\mtst\Desktop\Clips\keep\keep.mp4 Or don't use absolute (full) paths in keep.txt


0

I found the right link in the other tab in google's network inspector, something like this: https://luX.media.vm.skype.com/vod/flvs-play?assetId=X&profile=flvs-normal, download it with wget, and video is stored as flv, which is a common format. With ffmpeg you can convert it into any other format.


0

The background image has to be cropped before being used in overlay ffmpeg -loop 1 -i hinh1.jpg -i 2.mp4 \ -filter_complex "[1]scale=iw/2.5:-1[ovrl]; \ [0]crop=in_w:in_h-360[bg]; \ [bg][ovrl]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:shortest=1[v],\ [1]pan=stereo|c0<c0+0*c1|c1<c0+0*c1,aeval=val(0)|-val(1)[a]" \ -map "[v]" -map ...


2

Use ffmpeg -loop 1 -i background.jpg \ -vf "movie=overlay.mp4,scale=128:96[inner];[in][inner]overlay=70:70:shortest=1[out]" \ -y output.mp4 The image needs to be looped, but that will create an unending stream, so the shortest argument in the overlay filter stops the filter when the movie ends. With the overlay's audio included ffmpeg ...


2

I have used Snagit previously, and it has an option to grab a full page screenshot of a page larger than your screen. I do not know off hand whether the video capture would support it. Do note, Snagit is paid software, but it has a very generous trial period (a month last I checked) with full functionality, so you can see if it suits your needs.


0

Try this: First, extract audio to raw container ffmpeg.exe -y -i a.mov -vn -acodec copy a.aac If you can use this in Pro Tools, you are done. Else, ffmpeg.exe -y -i a.aac -acodec pcm_s16le a.wav


-2

I don't know the fix for chrome but I've found that Google Canary tends to work for me when something's gone wrong in chrome. Here's a download: https://www.google.com/chrome/browser/canary.html


0

In my case, I liked this version, which only captures frames that are >5% different from previous frames: ffmpeg -i my_video.mp4 -vf select="gt(scene\,0.05)" -vsync 0 -an my_subfolder/my_slides-%05d.jpg I used this command to convert a video recording (of a basic text Powerpoint slideshow) into simple images of each slide. See ffmpeg documentation here.


0

One possible way to adjust the audio sync timing for playing videos locally on the windows system. Using media player classic. VLC also has options to change the AV sync timing. Picture from http://osxdaily.com/2010/06/03/fix-audio-syncing-problems-when-playing-videos/ which has an article for doing that for the OSX platform It is odd that the ...


1

I couldn't find any solution to this ffmpeg problem, and I recently found this article saying: As it seems, the stk1160 device sends these broken frames through to the v4l2 device and once they reach ffmpeg, it chokes and reports invalid frames. Although that is part of the “honest” quality of ffmpeg, I consider it a bug here as it exits the ...


0

I quit searching for solutions for using ffmpeg or vlc, and I am using mencoder now. This blog helped me to start using mencoder: http://easycap.blogspot.com/p/command-line-tv.html


0

Use ffmpeg -i input_vid.mp4 \ -vf "movie=watermark_3.png:loop=0.1,setpts=N/FRAME_RATE/TB,scale=144:31,format=rgba,fade=in:0:30:alpha=1[watermark]; \ [in][watermark]overlay=5:H-h-15:shortest=1,scale=180x320[out]" \ -c:v libx264 -pix_fmt yuv420p -preset ultrafast -c:a copy out.mp4 The fade has to be applied in the watermark chain to ...


0

Best application I know of for this is Mediainfo which is free, open-source and available on almost every platform imaginable. Gives you container format, codecs, encoding libraries and much, much more. https://mediaarea.net/en/MediaInfo


1

AVI doesn't work with PTS, so you'll have to reset timestamps: ffmpeg -i rtmp://192.168.16.82:1935 -f segment -strftime 1 -reset_timestamps 1 -segment_time 10 -segment_format avi E:\record\CAM1_%Y-%m-%d_%H-%M-%S.avi


0

When analyzing the file, I can see that the CPU usage comes from the driver ignis.sys, which is part of Bitdefender AV suite Line #, DPC/ISR, Process, Stack Tag, Stack, Count, TimeStamp, % Weight 50, , , , | | | | | | | | | | | | | | | | | | |- tcpip.sys!TcpTcbReceive, 37859, , 11,86 51, , , , | | ...


1

Addressing your core requirement, this single command should do it ffmpeg -ss 2 -t 8 -i original_vid.mp4 \ -filter_complex "[0:v]split[v]f]; \ [f]loop=150:1:30,trim=start_frame=30:end_frame=180[fr]; \ [v][fr]concat=n=2,scale=640x360,setsar=1[vid]; \ [0:a]apad[aud]" \ -map "[vid]" ...


0

here is my solution to this issue. ffmpeg -i video -i audio -filter_complex "aevalsrc=0:d=TIME[s1];[s1][1:a]concat=n=2:v=0:a=1[ac1];[0:a][ac1]amix=2[aout]" -map "[0:v]" -map "[aout]" -shortest OUTPUT


1

The simple answer is No, this isn't going to be possible. First off, in order to even input a stream into a laptop. The laptop needs to have a video input. Which is very very rare. I've read that it does exist on certain laptops, but it's very uncommon. I'm going to go ahead and assume you don't have this sort of input. But there is a work around. You're ...


1

You could do this using the color filter. ffmpeg -i 1.mp4 -i 2.mp4 -i 3.mp4 -filter_complex " [0:v]scale=640x480[one]; color=black:s=640x480:d=15[b0]; [1:v]scale=640x480[two]; color=black:s=640x480:d=10[b1]; [2:v]scale=640x480[three]; [0:v][b0][1:v][b1][2:v]concat=n=5:v=1:a=0[out]" -map '[out]' out.mp4 I assume that you want the entire clips 1,2 and 3 to ...


2

FFPlay does not support Hardware Acceleration. This two year old feature request does not appear to have gotten much attention. You can enable Hardware Acceleration for FFMPeg overall, but it does not appear to use it in ffplay.


1

The trim filter does not work with HH:MM:SS currently. Specify in seconds. This method re-encodes the video, so there is a reduction in quality. You can specify a CRF value e.g. -crf 20 to control quality. Lower values produce better quality but larger files. 18 to 28 is a decent range to try. As for the second method, try by specifying the cutpoints in the ...


1

It seems that by default several filters are missing because ffmpeg folks don't like the GPL license... So here is what I did step-by-step: (1) install dependencies sudo apt-get install yasm nasm \ build-essential automake autoconf \ libtool pkg-config libcurl4-openssl-dev \ intltool libxml2-dev libgtk2.0-dev \ ...


0

How about that : pv *.vob > big.vob


0

Answer update: I realized that something might be throttling my Internet on my laptop, and I diagnosed for it, ended up being something that actually makes sense. My anti-virus' firewall. The settings had changed to default for some reason, and the firewall scanned everything. So I changed it back to what I had set it before, and the issue doesn't happen at ...


1

Your GPU fans activate with heat, and adjust their speed accordingly as well. The threshold for determining speed or number of spinning fans may be set in your BIOS, or using special software such as MSI's AfterBurner (and many more as well). As long as your temperatures are within range (below 60c) you should not be concerned with the fans. At least ...


2

Since you are ultimately re-encoding the merged segments, just do it in one command, ffmpeg -ss 1.2 -t 2.0 -i clip1.mp4 -ss 0.2 -t 2.0 -i clip2.mp4 \ -filter_complex '[0:v] [0:a] [1:v] [1:a] concat=n=2:v=1:a=1 [v] [a]" \ -map [v] -map [a] -c:v libx264 merge.mp4


1

Merging videos without re-encoding is possible and described in the answers to this other question. Splitting a video without re-encoding may only be possible for lossless formats. Lossy codecs like h264 (usually) use a series of keyframes and then encode intermediate frames as diffs between current frame and the previous frame. (This is why you get that ...


1

I downgraded my drivers from 364.52 to 362.00 since I already knew that the 364 drivers were known troublemakers, even destroying peoples cards at 364.72... (regression or deliberate...) it's not surprising that earlier 364 versions would also have had problems. In other words, I'm fairly certain this was a driver bug. I'm testing now with 364.51 Update: ...


0

So, you have H.264 in AVI and looks like the H.264 bitstream filter isn't meant for that. Use this to generate the segments: # skip 30 seconds and re-mux a 60 seconds segment ffmpeg -ss 30 -t 60 -i D:\VideoCutting\Sample.avi -c copy -avoid_negative_ts make_zero -fflags +genpts D:\VideoCutting\Segment1.ts And then merge segments ffmpeg -i ...


3

Sorry to say that this isn't possible with the current segment muxer. The break_non_keyframes option is targeted at cases like HLS, where many players treat the segments as a continuous stream of packets, so reference data being split across multiple files isn't a problem. I'm curious what your actual use-case here is. Where do you need fixed-length ...


0

Perhaps you installed a video player (or video editing software) that tries to "sniff" the file (gather info about it, like length, artist etc.) at the same time or just before your Media Player application opens. If there is a bug in that program or it is not optimal, it might slow things dramatically. Try to remember what you have installed recently. ...


1

If you suspect it's the RAM, run Memtest86 for 12 hours, and see if it finds any errors. You can get it from here.


0

Try enclosing it in single quotes, trim=start='02:22:00':end='02:22:33' Update: Looks like this functionality has been broken since July 2013. Bug report filed.


0

Use a better upscaling algorithm, e.g. bicubic / lanczos / spline instead or bilinear. You don't even need to re-encode the video for that (neither should you, coz re-encoding always cost you quality), just get a player that is can provide you with those (either out-of-the-box or through some filter/renderer), the upscaling can be done "on-the-fly" during ...


0

You may check out 3dMark @ http://3dmark.com/ . Also check the visibility of the 2 UFOs (animated objects intended) here: http://www.testufo.com while varying the given options.



Top 50 recent answers are included