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.
Posting here as this is the top Search result when searching "avi to ...
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.
Add also you can check source code or contribute
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'...
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.
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) ( / 0x001B), yuv420p(top first), 1920x1080 [SAR 1: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 ...
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, ...
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. ...
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 ...
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: