Mkv to mp4 выдает ошибку

У меня ошибка при конвертации файла, как исправить?

У меня ошибка при конвертации файла, не могу понять что хочет эта программа

Converting video from mkv to mp4, Destination: ./media/aaa2.mp4
ERROR: frame=    2 fps=0.0 q=0.0 size=       0kB time=00:00:00.02 bitrate=  16.5        
frame=    5 fps=3.9 q=0.0 size=       0kB time=00:00:00.11 bitrate=   3.3kbits/s        
frame=    8 fps=4.2 q=0.0 size=       0kB time=00:00:00.23 bitrate=   1.7kbits/s        
frame=   10 fps=3.0 q=0.0 size=       0kB time=00:00:00.27 bitrate=   1.4kbits/s        
frame=   13 fps=3.2 q=0.0 size=       0kB time=00:00:00.37 bitrate=   1.0kbits/s        
frame=   15 fps=3.2 q=0.0 size=       0kB time=00:00:00.46 bitrate=   0.8kbits/s        
frame=   18 fps=3.3 q=0.0 size=       0kB time=00:00:00.55 bitrate=   0.7kbits/s        
frame=   20 fps=3.3 q=0.0 size=       0kB time=00:00:00.62 bitrate=   0.6kbits/s        
frame=   22 fps=3.3 q=0.0 size=       0kB time=00:00:00.69 bitrate=   0.6kbits/s        
frame=   24 fps=3.4 q=0.0 size=       0kB time=00:00:00.76 bitrate=   0.5kbits/s        
frame=   27 fps=3.5 q=0.0 size=       0kB time=00:00:00.85 bitrate=   0.4kbits/s        
frame=   30 fps=3.6 q=0.0 size=       0kB time=00:00:00.95 bitrate=   0.4kbits/s        
frame=   33 fps=3.7 q=0.0 size=       0kB time=00:00:01.04 bitrate=   0.4kbits/s        
frame=   35 fps=3.7 q=0.0 size=       0kB time=00:00:01.11 bitrate=   0.3kbits/s


  • Вопрос задан

  • 991 просмотр

Пригласить эксперта

1) Дайте команду, которую запускаете ?
2) «ERROR: frame= 2» Ошибка на втором кадре ? А что если попробовать другой файл того же формата сконвертировать, получится ? Если да, то дело в исходном файле.
3) Вот здесь могу ошибаться: у ffmpeg есть опция -v debug для вывода более подробной информации. Запустите команду с ней, возможно определите причину ошибки


  • Показать ещё
    Загружается…

21 сент. 2023, в 15:38

5000 руб./за проект

21 сент. 2023, в 15:31

1200 руб./за проект

21 сент. 2023, в 15:31

25000 руб./за проект

Минуточку внимания

Hi, I tried to convert a MKV file to MP4 and got error, I tried all the steps before posting here.
Only matroska worked, but that’s not what I need here. I require MP4 — AAC

Tried with another file same problem

Error: Command failed with exit code 1: C:\Users\Kitsune\AppData\Local\Temp\1xMTtfMQLboD7r4ebGikn7zfvcn\resources\node_modules\ffmpeg-ffprobe-static\ffmpeg.exe -hide_banner -i C:\Users\Kitsune\Downloads\Squid.Game.S01.KOREAN.WEBRip.x264-NoTag\Squid.Game.S01E01.KOREAN.WEBRip.x264-NoTag-00.00.00.900-00.59.42.250.mkv -c copy -map 0:0 -map 0:1 -map 0:2 -map_metadata 0 -movflags +faststart -ignore_unknown -f mp4 -y C:\Users\Kitsune\Downloads\Squid.Game.S01E01.KOREAN.WEBRip.x264-NoTag-00.00.00.900-00.59.42.250-00.00.00.000-00.59.42.289.mp4
Input #0, matroska,webm, from ‘C:\Users\Kitsune\Downloads\Squid.Game.S01.KOREAN.WEBRip.x264-NoTag\Squid.Game.S01E01.KOREAN.WEBRip.x264-NoTag-00.00.00.900-00.59.42.250.mkv’:
Metadata:
creation_time : 2021-09-30T20:36:10.000000Z
ENCODER : Lavf58.45.100
Duration: 00:59:42.29, start: 0.083000, bitrate: 1314 kb/s
Stream #0:0(kor): Video: h264 (High), yuv420p(progressive), 720×360 [SAR 1:1 DAR 2:1], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
BPS-eng : 1054308
DURATION-eng : 00:59:42.162000000
NUMBER_OF_FRAMES-eng: 85886
NUMBER_OF_BYTES-eng: 472088119
_STATISTICS_WRITING_APP-eng: mkvmerge v52.0.0 (‘Secret For The Mad’) 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-09-30 20:36:10
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 00:59:42.244000000
Stream #0:1(kor): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
Metadata:
BPS-eng : 256000
DURATION-eng : 00:59:42.250000000
NUMBER_OF_FRAMES-eng: 167918
NUMBER_OF_BYTES-eng: 114632022
_STATISTICS_WRITING_APP-eng: mkvmerge v52.0.0 (‘Secret For The Mad’) 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-09-30 20:36:10
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 00:59:42.290000000
Stream #0:2(fre): Subtitle: subrip (default)
Metadata:
BPS-eng : 47
DURATION-eng : 00:58:06.311000000
NUMBER_OF_FRAMES-eng: 640
NUMBER_OF_BYTES-eng: 20758
_STATISTICS_WRITING_APP-eng: mkvmerge v52.0.0 (‘Secret For The Mad’) 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-09-30 20:36:10
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 00:58:12.398000000
[mp4 @ 0000020aba630540] Could not find tag for codec subrip in stream #2, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Last message repeated 1 times
at makeError (C:\Users\Kitsune\AppData\Local\Temp\1xMTtfMQLboD7r4ebGikn7zfvcn\resources\app.asar\node_modules\execa\lib\error.js:59:11)
at handlePromise (C:\Users\Kitsune\AppData\Local\Temp\1xMTtfMQLboD7r4ebGikn7zfvcn\resources\app.asar\node_modules\execa\index.js:114:26)
at async O (file:///C:/Users/Kitsune/AppData/Local/Temp/1xMTtfMQLboD7r4ebGikn7zfvcn/resources/app.asar/build/static/js/main.220201e5.chunk.js:1:65013)
at async file:///C:/Users/Kitsune/AppData/Local/Temp/1xMTtfMQLboD7r4ebGikn7zfvcn/resources/app.asar/build/static/js/main.220201e5.chunk.js:1:65219
at async file:///C:/Users/Kitsune/AppData/Local/Temp/1xMTtfMQLboD7r4ebGikn7zfvcn/resources/app.asar/build/static/js/main.220201e5.chunk.js:1:192095
at async file:///C:/Users/Kitsune/AppData/Local/Temp/1xMTtfMQLboD7r4ebGikn7zfvcn/resources/app.asar/build/static/js/main.220201e5.chunk.js:1:194036

{
«err»: {
«killed»: false,
«failed»: true,
«timedOut»: false,
«isCanceled»: false,
«exitCode»: 1
},
«state»: {
«filePath»: «C:\Users\Kitsune\Downloads\Squid.Game.S01.KOREAN.WEBRip.x264-NoTag\Squid.Game.S01E01.KOREAN.WEBRip.x264-NoTag-00.00.00.900-00.59.42.250.mkv»,
«fileFormat»: «mp4»,
«externalStreamFiles»: [],
«mainStreams»: [
{
«index»: 0,
«codec_name»: «h264»,
«codec_long_name»: «H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10»,
«profile»: «High»,
«codec_type»: «video»,
«codec_time_base»: «1001/48000»,
«codec_tag_string»: «[0][0][0][0]»,
«codec_tag»: «0x0000»,
«width»: 720,
«height»: 360,
«coded_width»: 720,
«coded_height»: 368,
«closed_captions»: 0,
«has_b_frames»: 2,
«sample_aspect_ratio»: «1:1»,
«display_aspect_ratio»: «2:1»,
«pix_fmt»: «yuv420p»,
«level»: 31,
«chroma_location»: «left»,
«field_order»: «progressive»,
«refs»: 1,
«is_avc»: «true»,
«nal_length_size»: «4»,
«r_frame_rate»: «24000/1001»,
«avg_frame_rate»: «24000/1001»,
«time_base»: «1/1000»,
«start_pts»: 83,
«start_time»: «0.083000»,
«bits_per_raw_sample»: «8»,
«disposition»: {
«default»: 1,
«dub»: 0,
«original»: 0,
«comment»: 0,
«lyrics»: 0,
«karaoke»: 0,
«forced»: 0,
«hearing_impaired»: 0,
«visual_impaired»: 0,
«clean_effects»: 0,
«attached_pic»: 0,
«timed_thumbnails»: 0
},
«tags»: {
«language»: «kor»,
«BPS-eng»: «1054308»,
«DURATION-eng»: «00:59:42.162000000»,
«NUMBER_OF_FRAMES-eng»: «85886»,
«NUMBER_OF_BYTES-eng»: «472088119»,
«_STATISTICS_WRITING_APP-eng»: «mkvmerge v52.0.0 (‘Secret For The Mad’) 64-bit»,
«_STATISTICS_WRITING_DATE_UTC-eng»: «2021-09-30 20:36:10»,
«_STATISTICS_TAGS-eng»: «BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES»,
«DURATION»: «00:59:42.244000000»
}
},
{
«index»: 1,
«codec_name»: «aac»,
«codec_long_name»: «AAC (Advanced Audio Coding)»,
«profile»: «LC»,
«codec_type»: «audio»,
«codec_time_base»: «1/48000»,
«codec_tag_string»: «[0][0][0][0]»,
«codec_tag»: «0x0000»,
«sample_fmt»: «fltp»,
«sample_rate»: «48000»,
«channels»: 2,
«channel_layout»: «stereo»,
«bits_per_sample»: 0,
«r_frame_rate»: «0/0»,
«avg_frame_rate»: «0/0»,
«time_base»: «1/1000»,
«start_pts»: 211,
«start_time»: «0.211000»,
«disposition»: {
«default»: 1,
«dub»: 0,
«original»: 0,
«comment»: 0,
«lyrics»: 0,
«karaoke»: 0,
«forced»: 0,
«hearing_impaired»: 0,
«visual_impaired»: 0,
«clean_effects»: 0,
«attached_pic»: 0,
«timed_thumbnails»: 0
},
«tags»: {
«language»: «kor»,
«BPS-eng»: «256000»,
«DURATION-eng»: «00:59:42.250000000»,
«NUMBER_OF_FRAMES-eng»: «167918»,
«NUMBER_OF_BYTES-eng»: «114632022»,
«_STATISTICS_WRITING_APP-eng»: «mkvmerge v52.0.0 (‘Secret For The Mad’) 64-bit»,
«_STATISTICS_WRITING_DATE_UTC-eng»: «2021-09-30 20:36:10»,
«_STATISTICS_TAGS-eng»: «BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES»,
«DURATION»: «00:59:42.290000000»
}
},
{
«index»: 2,
«codec_name»: «subrip»,
«codec_long_name»: «SubRip subtitle»,
«codec_type»: «subtitle»,
«codec_time_base»: «0/1»,
«codec_tag_string»: «[0][0][0][0]»,
«codec_tag»: «0x0000»,
«r_frame_rate»: «0/0»,
«avg_frame_rate»: «0/0»,
«time_base»: «1/1000»,
«start_pts»: 83,
«start_time»: «0.083000»,
«duration_ts»: 3582290,
«duration»: «3582.290000»,
«disposition»: {
«default»: 1,
«dub»: 0,
«original»: 0,
«comment»: 0,
«lyrics»: 0,
«karaoke»: 0,
«forced»: 0,
«hearing_impaired»: 0,
«visual_impaired»: 0,
«clean_effects»: 0,
«attached_pic»: 0,
«timed_thumbnails»: 0
},
«tags»: {
«language»: «fre»,
«BPS-eng»: «47»,
«DURATION-eng»: «00:58:06.311000000»,
«NUMBER_OF_FRAMES-eng»: «640»,
«NUMBER_OF_BYTES-eng»: «20758»,
«_STATISTICS_WRITING_APP-eng»: «mkvmerge v52.0.0 (‘Secret For The Mad’) 64-bit»,
«_STATISTICS_WRITING_DATE_UTC-eng»: «2021-09-30 20:36:10»,
«_STATISTICS_TAGS-eng»: «BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES»,
«DURATION»: «00:58:12.398000000»
}
}
],
«copyStreamIdsByFile»: {
«C:\Users\Kitsune\Downloads\Squid.Game.S01.KOREAN.WEBRip.x264-NoTag\Squid.Game.S01E01.KOREAN.WEBRip.x264-NoTag-00.00.00.900-00.59.42.250.mkv»: {
«0»: true,
«1»: true,
«2»: true
}
},
«cutSegments»: [
{}
],
«fileFormatData»: {
«filename»: «C:\Users\Kitsune\Downloads\Squid.Game.S01.KOREAN.WEBRip.x264-NoTag\Squid.Game.S01E01.KOREAN.WEBRip.x264-NoTag-00.00.00.900-00.59.42.250.mkv»,
«nb_streams»: 3,
«nb_programs»: 0,
«format_name»: «matroska,webm»,
«format_long_name»: «Matroska / WebM»,
«start_time»: «0.083000»,
«duration»: «3582.290000»,
«size»: «588584377»,
«bit_rate»: «1314431»,
«probe_score»: 100,
«tags»: {
«creation_time»: «2021-09-30T20:36:10.000000Z»,
«ENCODER»: «Lavf58.45.100»
}
},
«rotation»: 360,
«shortestFlag»: false
},
«platform»: «win32»,
«version»: «3.39.0»
}

Step 1 – Solve Mkv Converter Error

Is Mkv Converter Error appearing? Would you like to safely and quickly eliminate mkv to mp4 which additionally can lead to a blue screen of death?

When you manually edit your Windows Registry trying to take away the invalid can handbrake convert mkv to mp4 keys you’re taking a authentic chance. Unless you’ve got been adequately trained and experienced you’re in danger of disabling your computer system from working at all. You could bring about irreversible injury to your whole operating system. As very little as just 1 misplaced comma can preserve your Pc from even booting every one of the way by!

Troubleshooting handbrake error codes Windows XP, Vista, 7, 8 & 10

Simply because this chance is so higher, we hugely suggest that you make use of a trusted registry cleaner plan like CCleaner (Microsoft Gold Partner Licensed). This system will scan and then fix any Mkv Converter Error complications.

Registry cleaners automate the entire procedure of finding invalid registry entries and missing file references (including the Mkv error) likewise as any broken hyperlinks inside of your registry.

Issue with convert mkv to mp4 handbrake without losing quality

Backups are made immediately prior to each and every scan providing you with the choice of undoing any changes with just one click. This protects you against doable damaging your pc. Another advantage to these registry cleaners is that repaired registry errors will strengthen the speed and performance of one’s procedure drastically.

  • http://divx.force.com/apex/Show_DivxB2C_Article?id=kA1400000004NEc&language=en_US&url=What-to-do-when-you-get-ERROR-messages-with-DivX-Converter
  • https://forums.divx.com/divx/topics/no_convert_my_files
  • https://forums.divx.com/divx/topics/divx-wont-play-some-mkv-files
  • http://forum.avs4you.com/posts.aspx?t=4226&lng=ENG

Cautionary Note: Yet again, for those who are not an state-of-the-art consumer it’s very encouraged that you simply refrain from editing your Windows Registry manually. If you make even the smallest error within the Registry Editor it can result in you some serious issues that may even call for a brand new set up of Windows. Not all difficulties attributable to incorrect Registry Editor use are solvable.

Fixed: mp4tools

Symptoms of Mkv Converter Error
“Mkv Converter Error” appears and crashes the energetic method window.
Your Personal computer routinely crashes with Mkv Converter Error when running the exact same system.
“Mkv Converter Error” is shown.
Windows operates sluggishly and responds little by little to mouse or keyboard input.
Your computer periodically “freezes” for the number of seconds in a time.

Will cause of Mkv Converter Error

Corrupt obtain or incomplete set up of Windows Operating System software program.

Corruption in Windows registry from a new Windows Operating System-related application adjust (install or uninstall).

Virus or malware infection which has corrupted Windows method documents or Windows Operating System-related application data files.

Another method maliciously or mistakenly deleted Windows Operating System-related files.

Mistakes this sort of as “Mkv Converter Error” can be brought about by several different elements, so it really is important that you troubleshoot every of the achievable brings about to forestall it from recurring.

Simply click the beginning button.
Variety “command” inside the lookup box… Will not hit ENTER nonetheless!
Although keeping CTRL-Shift in your keyboard, hit ENTER.
You’re going to be prompted that has a authorization dialog box.
Click on Of course.
A black box will open having a blinking cursor.
Variety “regedit” and hit ENTER.
Within the Registry Editor, choose the can handbrake convert mkv to mp4 connected key (eg. Windows Operating System) you wish to back again up.
Within the File menu, choose Export.
Inside the Preserve In list, pick out the folder in which you wish to save the Windows Operating System backup key.
Inside the File Title box, sort a reputation for the backup file, these types of as “Windows Operating System Backup”.
From the Export Vary box, ensure that “Selected branch” is selected.
Click on Help you save.
The file is then saved by using a .reg file extension.
You now use a backup within your handbrake error codes related registry entry.

Solution to your handbrake no valid source found problem

There are actually some manual registry editing measures that can not be talked about in this article due to the high chance involved for your laptop or computer method. If you want to understand more then check out the links below.

Additional Measures:

One. Conduct a Thorough Malware Scan

There’s a probability the Converter Error Mkv error is relevant to some variety of walware infection. These infections are malicious and ready to corrupt or damage and possibly even delete your ActiveX Control Error files. Also, it’s attainable that your Mkv Converter Error is actually connected to some element of that malicious plan itself.

2. Clean convert mkv to mp4 mac Disk Cleanup

The a lot more you employ your computer the extra it accumulates junk files. This comes from surfing, downloading packages, and any sort of usual computer system use. When you don’t clean the junk out occasionally and keep your program clean, it could turn into clogged and respond slowly. That is when you can encounter an Converter error because of possible conflicts or from overloading your hard drive.

Once you clean up these types of files using Disk Cleanup it could not just remedy Mkv Converter Error, but could also create a dramatic change in the computer’s efficiency.

Tip: While ‘Disk Cleanup’ is definitely an excellent built-in tool, it even now will not completely clean up mkv to discovered on your PC. There are numerous programs like Chrome, Firefox, Microsoft Office and more, that cannot be cleaned with ‘Disk Cleanup’.

Since the Disk Cleanup on Windows has its shortcomings it is extremely encouraged that you use a specialized sort of challenging drive cleanup and privacy safety application like CCleaner. This system can clean up your full pc. If you run this plan after each day (it could be set up to run instantly) you are able to be assured that your Pc is generally clean, often operating speedy, and always absolutely free of any Mkv error associated with your temporary files.

How Disk Cleanup can help best mkv to mp4 converter

1. Click your ‘Start’ Button.
2. Style ‘Command’ into your search box. (no ‘enter’ yet)
3. When holding down in your ‘CTRL-SHIFT’ important go ahead and hit ‘Enter’.
4. You will see a ‘permission dialogue’ box.
5. Click ‘Yes’
6. You will see a black box open up plus a blinking cursor.
7. Variety in ‘cleanmgr’. Hit ‘Enter’.
8. Now Disk Cleanup will start calculating the amount of occupied disk space you will be able to reclaim.
9. Now a ‘Disk Cleanup dialogue box’ seems. There will be a series of checkboxes for you personally to pick. Generally it will likely be the ‘Temporary Files’ that consider up the vast majority of your disk area.
10. Verify the boxes that you want cleaned. Click ‘OK’.

How to repair vidcoder

3. System Restore can also be a worthwhile device if you ever get stuck and just desire to get back to a time when your computer system was working ideal. It will work without affecting your pics, paperwork, or other crucial information. You can discover this option with your User interface.

mkv to

Manufacturer

Device

Operating System


Mkv Converter Error


4 out of
5

based on
25 ratings.

 

The open-source MKV is always aksed to be converted into MP4 due to the compatibility issue, so that it can be accepted by more modern devices and media players. VLC comes as a powerful media player which could also works as a video converter. So here we will explain how to free convert MKV to MP4 using VLC in detail.

Part 1: How to Use VLC to Convert MKV to MP4 for Free

Step 1: Go to VideoLAN homepage and free download VLC converter. 
Step 2: Click the Media tab -> Convert/Save to launch the Open Media window. 
Step 3: Click Add button on the File tab to locate the MKV to be converted on your computer. Or drag and drop the MKV file into the convert list. Then press Convert/Save button.
Step 4: Choose output format. If you need to freely convert MKV to MP4 in VLC, just select the profile H.264+MP3 (MP4). 
Step 5: So on setting adjustment. Tap Setting icon next to it to select MP4/MOV at Encapsulation tab. Click both Video and Keep original video track on Video Codec tab. Select Audio and Keep original audio track on Audio codec tab. Then click Save button. 
Step 6: Press Browse to select the output folder where you want to save the MP4 file. 
Step 7: Click Start to beginning the conversion from MKV to MP4 in VLC.

Even though VLC has claimed that it has the ability to convert MKV to MP4, we still meet some issues during the actual operation. For example, the output MP4 file contains only the audio track while the video is mission with a black screen left or there is no audio after the conversion from MKV to MP4 using VLC’s Convert/Stream function. What’s more, the VLC converter crashes but no error messages show up during MKV transcoding or it closes immediately or right when it’s finished but the resulting file is unplayable in VLC with a message «Ooops: VLC media player just crashed.» So to solve the issues above, I highly recommended you to download a VLC alternative, Pavtube Video Converter Ultimate for PC | Mac. Scroll down to see how the alternative works – converting MKV to MP4 without any obstacles.

Part 2. Best VLC Alternative to Convert MKV to MP4 without Issues

There are tons of VLC alternatives in the market, so you don’t need to try them one by one, just trust me, why I share this program with you? Reasons have listed here. It is the best free MKV to MP4 converter for Mac and Windows,  featuring the ability to convert among HD and SD videos, e.g. MKV to MP4, MOV to WMV, YouTube to MP3, H.265 to H.264, MTS to MP4, MP4 to MP3, AVI to MP4, etc, so that you can play any video on iPhone, iPad, Apple TV, Samsung smartphone, Xbox One X, etc while keeping original quality and delivering a super fast converting process. 

Step by Step to Convert MKV to MP4 with VLC Alternative

Step 1. Click Add Video button on the main interface to load MKV video to be converted. It also support batch converting MKV videos to MP4.

load mkv

Step 2. Go to video formats up-down bar, from its main menu, navigate cursor to «HD Video» or «Common Video», select MP4, HD MP4 from its submenu as you like.

mp4 as output formats

Step 3. Adjust video parameters optionally. Go to «Video Profile» window by clicking Settings. Here you can do some change to video/audio codec, bit rate, frame rate, channels, according to your own needs.

h.264 settings

Step 4. Tap Browse to save the output MP4 video and click Convert to start converting MKV to MP4 with the VLC alterative. Wait for a while, click Open to locate the generated file.

Share

I am trying to use fluent-ffmpeg to stream a video from disk, this video is a MKV file. I am trying to transcode this video to MP4 on my NodeJS server and stream it to the client. However, I keep getting the error code 1: Conversion failed! when I try to transcode the MKV file to MP4. Does anyone know why I am getting this error?

My code works when I try to transcode a MP4 file to MKV (matroska), but it does not work the other way around.

Here is the code I am using:

app.get('/video123', function (req, res) {
  var path = 'assets/sample2.mkv';
  ffmpeg(path)
    .format('mp4')
    .on('end', function () {
      console.log('file has been converted successfully');
    })
    .on('progress', function (progress) {
      console.log('Processing: ' + progress.frames + 'frames done');
    })
    .on('error', function (err) {
      console.log('an error happened: ' + err.message);
    })
    .pipe(res, { end: true });
});

Понравилась статья? Поделить с друзьями:
  • Modx revo админка 500 ошибка
  • Mkke ошибка при запуске
  • Modx ошибка 500 при установке
  • Modx ошибка 500 при редактировании ресурса
  • Mk10 ошибка при запуске приложения 0xc0000142