New answers tagged

4

I ran into this same stuttering after remuxing to mkv and then playing the video on a Roku. Solved the issue by first fixing the avi with the mpeg4_unpack_bframes filter, then remuxing that as mkv. See https://www.ffmpeg.org/ffmpeg-bitstream-filters.html#mpeg4_005funpack_005fbframes Posting here as this is the top Search result when searching "avi to ...


1

I've created a little site recently for generating the FFmpeg CLI command to create xfade + acrossfade command for several videos. Check it out maybe you find it useful. https://romander.github.io/ffmpeg-script-generator/ Add also you can check source code or contribute https://github.com/Romander/ffmpeg-script-generator


0

Use the setparams filter to mark the frames as interlaced. ffmpeg -i tf.avi -i bf.avi -filter_complex vstack,il=l=i:c=i,setparams=field_mode=tff -c:v ffv1 out_i.avi


0

I have found that using -map 0 will select all tracks, including subtitles if available. ffmpeg -i "!original!" -map 0 -c:v libx265 -preset medium -crf 28 -c:a copy "g:\Prepare\Convert\!file!"


0

Please higher your -minrate, -maxrate, -bufsize and study its codec. Download the Better container for video codec and audio codec separately. encode the codec in these containers but follow these steps: 1. Download the audio and video separately. you can do this by adding -vn and -an on the output command line. -vn means 'no video' while -an means 'no audio'...


1

Instead of srt try to use text: $ ffmpeg -i a.mkv -c:s text b.srt (source) For a list of all codecs use: ffmpeg -encoders You can check the documentation for more options.


0

To count "number of available streams using ffmpeg'": ffmpeg.exe -i %input% 2>&1 | find /c "Stream" Tested in Win 10 CMD


0

Your "mp" codec would be the reason why only one track may be in the output file; there's no "mp" codec (looks like a typo). If stream mapping is showing both audio tracks are present in the output file, then you should be able to select which track to play in the video player. By default, the best or first supported audio will play. If ...


0

With ffmpeg, you'll get a list of streams, showing any tracks that have been tagged with a language type like so: ffmpeg.exe -i %a% 2>&1 | find "Stream" Output (showing list of audio, video & subtitle tracks with any language tags): Stream #0:0[0x83e]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 ...


0

you can use Spatial Media Metadata Injector to fix the metadata https://github.com/google/spatial-media/releases/tag/v2.0


0

Solved with this filter: https://ffmpeg.org/ffmpeg-filters.html#v360 See section "flat" and the second example to convert any 360 footage to a flat view.


0

Remove the pipe character. ffmpeg -f v4l2 -standard PAL -i /dev/video0 -f alsa -thread_queue_size 512 -i hw:0,0 -preset superfast -crf 25 -r 25 -aspect 4:3 -acodec libmp3lame -b:v 6M -b:a 128k -ac 2 -ar 48000 /vids/vid1.avi -b:v 500k -b:a 128k -ac 2 -ar 48000 -y /opt/lampp/htdocs/preview.mp4 (mp3 is not standard in MP4 so let ffmpeg pick the default audio ...


1

The metadata from an input file in any ffmpeg operation is used to interpret and handle the media data in that file. That metadata is not naively copied over, wholesale or piecemeal*. FFmpeg will always generate new metadata based on the specific set of media data received when generating the output. Since the output of concat operation is one file, it will ...


0

This command line work for me: ffplay -f dshow -video_size 720x480 -framerate 29.97 -i video="Conexant Polaris Video Capture":audio="Conexant Polaris Video Capture" before testing any command line, identify the name of your capture card in the operating system with the line below: ffmpeg -list_devices true -f dshow -i dummy after that, ...


1

Are either DNxHD or DNxHR capable of outputing to 4:2:0? No. Running ffmpeg -h encoder=dnxhd will list encoder properties, including Supported pixel formats: yuv422p yuv422p10le yuv444p10le gbrp10le Can DNxHD transcode my source? If yes, how should I ammend the above ffmpeg parameters? The DNxHD encoder only supports a limited number of preset profiles. ...


0

Every time I concat, I quickly run it thru this awesome little freeware from Mean beforehand, avidemux, (MP4 Muxer->Move index to the beginning of the file->Save) and it fixes the majority of any concat issues I've run into. Not sure if it will fix your issue, but it can't hurt and somewhere down the line avidemux will come in handy and fix a concat ...


0

You can use the Windows command line (DOS or cmd) using copy /b 00001.mts+00001.mts K:\Merged.mts as explained in this step-by-step tutorial, where in your case 00001.mts is the identical file repeated over and over again: https://photography.tutsplus.com/tutorials/3-free-ways-to-join-spanned-avchd-video-files-into-continuous-clips-on-windows--cms-25830 ...


Top 50 recent answers are included