New answers tagged

0

I have the same one, its a great card. I can play witcher 3 at medium to high at 60 fps. I haven't done much rendering but it should be great or even over kill, I reccomend checking out a 1060, its slightly more cost efficient.


0

Finally, I found the solution. Just as I inferred, I need to convert YUY2 to YUV420 before the H264 encoding and streaming. So the command should be ffmpeg -f avfoundation -pix_fmt uyvy422 -video_size 1280x720 -framerate 30 -i "0" -pix_fmt yuv420p -vcodec libx264 -preset veryfast -f flv rtmp://localhost:1935/hls/test Thanks to this.


0

I ran into this today and found a workaround. When a video does not a play click the 'next' button (between play and volume) and the next video works. Let it play for 3-4 seconds then go back in the browser then the previous video that was not working earlier will also start working. I'm not on a corporate network and this happened on my home PC.


0

I see this is an old post but still, I have tried many things with this, the best and simplest solution for streaming from PiCamera in my opinion is: Loading the uvl4 camera module driver "sudo modprobe bcm2835-v4l2", MY Use Iceweasel or Firefox for WebRTC If it`s not working, try to restart your Pi.


0

If the loop count in the GIF is infinite, then use ffmpeg -ignore_loop 0 -i test.gif -i input.mp4 -filter_complex "overlay=(W-w)/2:(H-h)/2:shortest=1,format=yuv420p" -c:a copy output.mp4


1

Software such as Final Cut Pro which is downloaded from the Mac App Store is tied to the Apple ID you used when purchasing it. While it is possible to have apps installed on a single Mac from multiple Apple ID accounts, it means bouncing in and out of the accounts when doing updates and such. Apple wants you to use their Family Sharing feature if you need ...


1

No there is no expiration date. The software is yours permanently. To be more specific, that version is yours permanently, but that does not mean you are entitled to any future versions.


0

I'd go with ffmpeg. You'll find several examples on the stackexchange network. Like this one in order to crop the viewport : http://video.stackexchange.com/questions/4563/how-can-i-crop-a-video-with-ffmpeg Or this one to cut the video from -ss to -to : Using ffmpeg to cut up video


-1

I use a chromecast and cast my laptop or my droid screen, but this uses the camera on the device that casts not the TV one.


1

Things to check: Make sure IE saves cookies for Youtube, Google and Google Accounts Make sure your main Google Account is the one you use for YouTube Red by selecting it in the dropdown menu to choose the right account from a YouTube page.


1

I answer myself: I found a question related and I thought I could pipe ffmpeg to ffplay. It works partially (you can watch the merged video), but you can't seek (and it chokes the CPU). ffmpeg -i BACKGROUND -i OVERLAY -filter_complex [0][1]overlay=100:100 -f matroska - | ffplay - But I didn't even think that ffplay could be used and, though ffplay only ...


0

Short answer is yes. Yes you can. See http://stackoverflow.com/questions/11779490/how-to-add-a-new-audio-not-mixing-into-a-video-using-ffmpeg Specifically The section "To manually choose specific streams" Once you combine the video (mp4) files in the order and length you want, you then combine the video (mp4) and audio (mp3) files together and use the -...


0

As happens regularly to me, after spending hours trying to figure it out before asking for help, I find the solution myself just minutes after asking. It turns out avconv isn't the better replacement to ffmpeg that I thought it was when Linux Mint, IIRC, removed ffmpeg from the official repository in favor of avconv. Anyway, ffmpeg is back and I installed ...


-1

You would need to use a program that actually calculates the intermediate frames for you. It seems the one you are using does not do this.


1

The issue is is because your QuickTime file contains a trim within it which FFMPEG ignores unless you explicitly perform the trim on the input file via the -ss option. You can see your QuickTime file actually starts 0.021333 ms into the file by the "start: 0.021333" in this line: Duration: 00:00:02.44, start: 0.021333, bitrate: 761 kb/s In order to fix ...


0

To cut out first 5 and last 5 minutes, use ffmpeg -ss 300 -t 609 -i input -c copy -avoid_negative_ts make_zero output Depending on location of keyframes, the cutpoints won't be precise. If you skip the -c copy, it will transcode, which will be a precise cut.


2

The easiest way to view YouTube videos from oldest to newest is to actually sort the videos from oldest to newest in the drop-down menu at the upper-right corner of where your videos are appearing.


0

Take a look at the documentation: https://ffmpeg.org/ffmpeg.html The two arguments "-ss" and "-t" serve different purposes if you use it as in input or an output option. Wether of both it is is set if they stand before the "-i" or before the output file.


0

Yes, you can do that. This tip comes from an Apple engineer and it works on list view too. Here we go: create two directories and call them directory Pictures or Movies and put your pictures and movies on those directories. if you look at the view options of the Pictures directory you see two new options: dimensions and resolution. the Movies directory ...


1

You need to use the scale2ref filter. ffmpeg -i input1 -i input2 -filter_complex '[1][0]scale2ref[2nd][ref];[ref][2nd]vstack' -map [vid] -c:v libx264 -crf 23 -preset veryfast output Note that this only works well if the aspect ratios of both the videos are the same. If not, and you know the aspect ratio of the 2nd video, use [1][0]scale2ref=iw:iw*(H/W)[...


1

If you generate a fragmented MP4, you can view the video as it is being encoded. You can only seek upto the points which have already been encoded at the time of loading the file. So, if you want to seek further, reload it later. Basic syntax is ffmpeg -i input -<encoding parameters> -movflags +frag_keyframe+separate_moof+omit_tfhd_offset+empty_moov ...


1

Unless specified, FFmpeg defaults to a video bitrate of 200k for codec mpeg4. So, just override it with a higher value. ffmpeg -i in.mp4 -vf "setpts=0.5*PTS" -r 50 -c:v mpeg4 -b:v 1500k -af "atempo=2" out.mp4 You may want to skip the r option if the content doesn't have very fine motion. You'll achieve better quality at the same bitrate.


1

It is possible to find [1] that %%~n should give you the filename with no extension. Try if it works for %%A IN (*.mp4) DO ffmpeg -i "%%A" -vf "select=gte(n\,300)" -vframes 1 "%%~nA.png" Note: You can read more in many document on internet about the expansion rules, starting from that answer [1] and this old nt guide [2].


2

What you are looking for is parameter expansion, specifically, the substring removal. Try this: for file in *.mp4; do echo ffmpeg -i "$file" -vf "select=gte(n\,300)" -vframes 1 "${file%.mp4}.png"; done If you have a variable $file, you can use ${file%.mp4} to output the contents, with the last .mp4 stripped off. Here is an article with more information: ...


0

What you want is possible. You can use Audacity for this, which will run on Windows, Mac and Linux There is an option to change the pitch with out changing tempo (speed)


0

You must close VLC before running your newly merged file! Windows: An alternative method is to use:- copy /B filename1.avi + filename2.avi resultFile.avi


0

Here is my fifty cents for the case. Method 1: messing with libx264's arguments -c:v libx264 -x264opts keyint=GOPSIZE:min-keyint=GOPSIZE:scenecut=-1 Generate iframes only at the desired intervals. Example 1: ffmpeg -i test.mp4 -codec:v libx264 \ -r 23.976 \ -x264opts "keyint=48:min-keyint=48:no-scenecut" \ -c:a copy \ -y test_keyint_48.mp4 ...


1

You have to combine the two, like this String[] complexCommands = {"ffmpeg", "-y", "-i", "/sdcard/videokit/in.mp4", "-i", "/sdcard/videokit/tttt.mp4", "-strict", "experimental", "-filter_complex", "[0:v:0]pad=iw*2:ih[bg];[bg][1:v:1]overlay=w,scale=320x240;[0][1]amix=inputs=2:duration=first:dropout_transition=2", "-r", "30", "-b", "15496k", "-vcodec", "mpeg4"...


1

Your answer is in your question. VLC: Preferences, Audio, tick option "Normalize volume to:". And you get "per video file volume normalization on the fly during playback". It is dynamic normalization. So it calculates loudness of chunk, something like 10 seconds. And amplify it to marked in option value. Every decent videoplayer has this option. It is ...


2

No, you can't upgrade the GPU or CPU(with Integrated graphics) with this Laptop. Generally, thats impossible with Laptops. You are sadly limited to upgrading your RAM or HDD/SSD. Of course, you could get an External Graphics Card, which would require a dock plus a graphics card, though then the Laptop wont be portable anymore, and its not extremely fast, ...


0

In order to have high performance video streaming, there needs to be a set of multiple variant video streams. In other words, videos encoded at various bitrates and resolutions, which are all referenced from a playlist file (.m3u8) Video players that support adaptive-bitrate streams will then choose a stream that matches your network connection and are able ...


2

Most of the software that you'll need is open source. You'll need the following: Server (Linux): Nginx with RTMP module (Nginx and RTMP module will need to be compiled via source) FFmpeg (Will potentially need to be compiled from source) A website created with 4 embedded players on a page that can stream rtmp. (MediaElement, JW Player, Flow Player, ...


0

Try omitting the -r 30 parameter for the input framerate and use -framerate 30 for the output framerate instead. I had the same problem and that worked for me.


1

To do this in one command, use ffmpeg -i video.avi -i effect.avi -filter_complex "[0]split=20[v1][v2][v3]...[v20]; [v1]trim=0:1,setpts=PTS-STARTPTS[v1t]; [v2]trim=1:2,setpts=PTS-STARTPTS[v2t]; [v3]trim=2:3,setpts=PTS-STARTPTS[v3t]; ... [v20]trim=19:20,setpts=PTS-STARTPTS[v20t]; [v1t][1][v2t][1][v3t][1].....


1

FFmpeg by default doesn't transfer most user metadata over, but it does transfer fields like rotation tag. The command below instructs FFmpeg to transfer all metadata over but then overrides the rotation tag value. ffmpeg -i in.mp4 -c copy -map_metadata 0 -metadata:s:v:0 rotate=0 -an out.mp4


0

ffmpeg -i myVideo.avi -acodec copy -f segment -segment_time 1 -vcodec copy -reset_timestamps 1 -map 0 -an video%d.avi Taken from unix.stackexchange.com Will split a video into 20 segments, named video1.avi - video20.avi; Then we need to concernate the videos back together, with the videoEffect1.avi in between: ffmpeg -f concat -i <(for f in ./video*....


0

Disable HW acceleration in Firefox and Chrome/Chromium and Internet Explorer. Disabling the hardware acceleration was what fixed the problem with multiple graphics gards!!! Here is the link to more details how to disable HW acceleration in the browsers. http://askubuntu.com/questions/529753/videos-freeze-in-fullscreen-mode-in-chrome-and-firefox


0

I just figured out that in Chrome if you "open link in new tab" (right-click) it will just stream it instead of download. NOTE: I do have Windows 10 and VLC installed (with the plugins)


0

Suppose your input has 3 audio and subtitle tracks alongside a video track, then to mux the video, the 2nd audio track, and the 1st + 3rd subtitle track, you would use ffmpeg -i in.mkv -c copy -map 0:v -map 0:a:1 -map 0:s:0 -map 0:s:2 out.mkv FFmpeg, afaik, does not properly set default flags for streams, so your best bet is to mux your intended default ...


0

Images are treated as 25 fps unless specified, and the zoompan filter also has a private fps option that determines its output. So use, ffmpeg -loop 1 -framerate 24 -i myphoto.jpg -vf \"zoompan=z='min(zoom+0.0005,1.12)':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':d=240:s=hd1080:fps=24\" -c:v libx264 -pix_fmt yuv420p -t 10 -crf 10 myvideo.mp4 (Also, zoompan ...


1

Assuming you want to blackout the video and mute the audio where needed, your basic command template would be ffmpeg -i video.mp4 -f lavfi -i "color=black:s=1280x720:r=25" -filter_complex \ "[0:v][1]overlay=enable='between(t,25,35)'[a]; \ [a][1]overlay=enable='between(t,80,90)'[b]; \ [b][1]overlay=enable='between(t,94,115)'[c]; \ ... [n][1]overlay=...


1

The answer is that there is no proper solution to make your video look good. It went wrong during the shooting of the video. In the future, never film vertically and you should have no problems at all. There are three options: You can stretch the video (which looks bad) You crop the video, getting rid of part of the top and/or part of the bottom of the ...


0

If you do not re-encode, you might not be able to change the key frames etc of the video, resulting to the behavior you describe. You could try however something like ffmpeg -i stream.m3u8 -codec:v" "libx264" "-preset" "ultrafast" vid.mp4 Keep in mind that what you gain in speed you lose in quality, so "fast" might be better...



Top 50 recent answers are included