Жесткий диск слишком медленный, чтобы воспроизвести огромный сырой AVI-файл
У меня есть огромный файл AVI. Видеопроигрыватель (VLC) останавливается каждые 10 секунд, потому что жесткий диск не читает достаточно быстро. (подробности здесь)
Я хочу иметь возможность воспроизвести это видео. Кто-нибудь знает обходной путь?
Возможно ли загрузить большую часть видео в ОЗУ? Есть ли способ сделать это в VLC? Или другой видеоплеер, который может это сделать?
edit: вот часть результатов работы vlc с параметром -vvv. Я захватил часть, когда воспроизведение остановилось. Выход охватывает две остановки.
[0x19159f8] pulse audio output debug: resuming after 68308432 us
[0x19159f8] pulse audio output debug: suspended
[0x19159f8] pulse audio output debug: started
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: changing sink 2: alsa_output.usb-0d8c_USB_PnP_Sound_Device-00-Device.iec958-stereo (CM108 Audio Controller Digital Stereo (IEC958))
[0x7fa92c001248] main vout display debug: auto hiding mouse cursor
[0x19159f8] main audio output debug: resampling stopped (drift: -786 us)
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 56 ms)
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 39 ms)
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 22 ms)
[0x7fa980c56038] main video output debug: picture might be displayed late (missing 6 ms)
[0x19159f8] pulse audio output debug: underflow
[0x7fa9400009b8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 361 ms)
[0x7fa9400009b8] main input error: ES_OUT_RESET_PCR called
[0x7fa938c0bfe8] main decoder warning: early picture skipped
[0x7fa938c0bfe8] rawvideo decoder warning: invalid frame size (128 < 3110400)
[0x7fa938da48b8] main decoder debug: End of audio preroll
[0x19159f8] pulse audio output debug: underflow
[0x7fa9400009b8] main input debug: Buffering 0%
[0x7fa938c0bfe8] main decoder debug: End of video preroll
[0x7fa938c0bfe8] main decoder debug: Received first picture
[0x7fa9400009b8] main input debug: Buffering 6%
[0x7fa9400009b8] main input debug: Buffering 13%
[0x7fa9400009b8] main input debug: Buffering 20%
[0x7fa9400009b8] main input debug: Buffering 27%
[0x7fa9400009b8] main input debug: Buffering 34%
[0x7fa9400009b8] main input debug: Buffering 41%
[0x7fa9400009b8] main input debug: Buffering 48%
[0x7fa9400009b8] main input debug: Buffering 55%
[0x7fa9400009b8] main input debug: Buffering 62%
[0x7fa9400009b8] main input debug: Buffering 69%
[0x7fa9400009b8] main input debug: Buffering 76%
[0x7fa9400009b8] main input debug: Buffering 82%
[0x7fa9400009b8] main input debug: Buffering 89%
[0x7fa9400009b8] main input debug: Buffering 96%
[0x7fa9400009b8] main input debug: Stream buffering done (375 ms in 471 ms)
[0x7fa9400009b8] main input debug: Decoder buffering done in 0 ms
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 49 ms)
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 33 ms)
[0x7fa980c56038] main video output debug: picture might be displayed late (missing 16 ms)
[0x7fa980c56038] main video output debug: picture might be displayed late (missing 3 ms)
[0x7fa9400009b8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 362 ms)
[0x7fa9400009b8] main input error: ES_OUT_RESET_PCR called
[0x7fa938c0bfe8] main decoder warning: early picture skipped
[0x7fa938c0bfe8] rawvideo decoder warning: invalid frame size (128 < 3110400)
[0x7fa938da48b8] main decoder debug: End of audio preroll
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x7fa9400009b8] main input debug: Buffering 0%
[0x7fa938c0bfe8] main decoder debug: End of video preroll
[0x7fa938c0bfe8] main decoder debug: Received first picture
[0x7fa9400009b8] main input debug: Buffering 6%
[0x7fa9400009b8] main input debug: Buffering 13%
[0x7fa9400009b8] main input debug: Buffering 20%
[0x7fa9400009b8] main input debug: Buffering 27%
[0x7fa9400009b8] main input debug: Buffering 34%
[0x7fa9400009b8] main input debug: Buffering 41%
[0x7fa9400009b8] main input debug: Buffering 48%
[0x7fa9400009b8] main input debug: Buffering 55%
[0x7fa9400009b8] main input debug: Buffering 62%
[0x7fa9400009b8] main input debug: Buffering 68%
[0x7fa9400009b8] main input debug: Buffering 75%
[0x7fa9400009b8] main input debug: Buffering 82%
[0x7fa9400009b8] main input debug: Buffering 89%
[0x7fa9400009b8] main input debug: Buffering 96%
[0x7fa9400009b8] main input debug: Stream buffering done (375 ms in 436 ms)
[0x7fa9400009b8] main input debug: Decoder buffering done in 0 ms
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] main audio output warning: playback way too early (-390096): playing silence
[0x19159f8] main audio output debug: inserting 17203 zeroes
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 21 ms)
[0x7fa980c56038] main video output debug: picture might be displayed late (missing 4 ms)
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 56 ms)
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 39 ms)
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 23 ms)
[0x7fa980c56038] main video output debug: picture might be displayed late (missing 6 ms)
[0x7fa9400009b8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 363 ms)
[0x7fa9400009b8] main input error: ES_OUT_RESET_PCR called
[0x7fa938c0bfe8] main decoder warning: early picture skipped
[0x7fa938c0bfe8] rawvideo decoder warning: invalid frame size (128 < 3110400)
[0x7fa938da48b8] main decoder debug: End of audio preroll
[0x19159f8] pulse audio output debug: underflow
[0x19159f8] pulse audio output debug: underflow
[0x7fa9400009b8] main input debug: Buffering 0%
[0x7fa938c0bfe8] main decoder debug: End of video preroll
[0x7fa938c0bfe8] main decoder debug: Received first picture
[0x7fa9400009b8] main input debug: Buffering 6%
[0x7fa9400009b8] main input debug: Buffering 13%
[0x7fa9400009b8] main input debug: Buffering 20%
[0x7fa9400009b8] main input debug: Buffering 27%
[0x7fa9400009b8] main input debug: Buffering 34%
[0x7fa9400009b8] main input debug: Buffering 41%
[0x7fa9400009b8] main input debug: Buffering 48%
[0x7fa9400009b8] main input debug: Buffering 55%
[0x7fa9400009b8] main input debug: Buffering 61%
[0x7fa9400009b8] main input debug: Buffering 68%
[0x7fa9400009b8] main input debug: Buffering 75%
[0x7fa9400009b8] main input debug: Buffering 82%
[0x7fa9400009b8] main input debug: Buffering 89%
[0x7fa9400009b8] main input debug: Buffering 96%
[0x7fa9400009b8] main input debug: Stream buffering done (375 ms in 486 ms)
[0x7fa9400009b8] main input debug: Decoder buffering done in 0 ms
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 56 ms)
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 39 ms)
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 23 ms)
[0x7fa980c56038] main video output debug: picture might be displayed late (missing 6 ms)
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 65 ms)
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 49 ms)
[0x7fa980c56038] main video output warning: picture is too late to be displayed (missing 32 ms)
[0x7fa980c56038] main video output debug: picture might be displayed late (missing 15 ms)
[0x7fa9400009b8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 364 ms)
[0x7fa9400009b8] main input error: ES_OUT_RESET_PCR called
[0x7fa938c0bfe8] rawvideo decoder warning: invalid frame size (128 < 3110400)
[0x19159f8] pulse audio output debug: underflow
[0x7fa938da48b8] main decoder debug: End of audio preroll
[0x7fa938c0bfe8] main decoder debug: End of video preroll
[0x7fa938c0bfe8] main decoder debug: Received first picture
[0x7fa9400009b8] main input debug: Buffering 0%
[0x19159f8] pulse audio output debug: underflow
[0x7fa9400009b8] main input debug: Buffering 6%
[0x7fa9400009b8] main input debug: Buffering 13%
[0x7fa9400009b8] main input debug: Buffering 20%
[0x7fa9400009b8] main input debug: Buffering 27%
[0x7fa9400009b8] main input debug: Buffering 34%
[0x7fa9400009b8] main input debug: Buffering 41%
[0x7fa9400009b8] main input debug: Buffering 48%
[0x7fa9400009b8] main input debug: Buffering 54%
[0x7fa9400009b8] main input debug: Buffering 61%
[0x7fa9400009b8] main input debug: Buffering 68%
[0x7fa9400009b8] main input debug: Buffering 75%
[0x7fa9400009b8] main input debug: Buffering 82%
[0x7fa9400009b8] main input debug: Buffering 89%
[0x7fa9400009b8] main input debug: Buffering 96%
[0x7fa9400009b8] main input debug: Stream buffering done (375 ms in 440 ms)
[0x7fa9400009b8] main input debug: Decoder buffering done in 0 ms
[0x19159f8] pulse audio output debug: changing sink 2: alsa_output.usb-0d8c_USB_PnP_Sound_Device-00-Device.iec958-stereo (CM108 Audio Controller Digital Stereo (IEC958))
[0x7fa92c001248] main vout display debug: auto hiding mouse cursor
[0x19159f8] pulse audio output debug: suspended
[0x19159f8] pulse audio output debug: changing sink 2: alsa_output.usb-0d8c_USB_PnP_Sound_Device-00-Device.iec958-stereo (CM108 Audio Controller Digital Stereo (IEC958))
1 ответ
К сожалению, я пока не могу комментировать. Можете ли вы запустить VLC с -vvv
опция:
vlc -vvv video.avi
и предоставить некоторые результаты, чтобы мы могли лучше понять, что там происходит. Благодарю.
Изменить: Вы также можете попытаться увеличить значение кэширования в настройках VLC. Идти к Media -> Open Multiple Files
затем перейдите на вкладку "Файл" и установите флажок Show more options
: