News:

--

Main Menu

bug zero/current frame time

Started by scscorpin, May 20, 2024, 12:39:01 PM

Previous topic - Next topic

scscorpin

Just in case, I provided it in Russian, due to the fact that I don't speak English

на всякий случай привёл на русском языке, в связи с тем, что не владею английским языком


ошибка длительности нулевого кадра происходит при создании слайдшоу при помощи ffmpeg используя метод setpts для точной установки длительности кадра

то есть при fps 50 Я установил длительность 6 секунд для всех кадров

0 кадр обязан длится 6 секунд, но он длится 20 миллисекунд, а все остальные 6 секунд

так происходит в avidemux и в mpc(media player classic K-Lite Mega Codec), но на YouTube всё нормально воспроизводится

если Я в avidemux редактирую слайдшоу и нажимаю кнопу воспроизвести на произвольном кадре, то сразу переключается на следующий кадр, то есть не показывает текущий кадр на 6 секунд, а перескакивает на следующий кадр

если Я в avidemux редактирую слайдшоу и копирую из произвольной области два кадра из слайдшоу куда-нибудь в добавленное видео с таким же fps, то потом при воспроизведении показывается второй кадр из слайдшоу на 6 секунд, далее показывается кадр из видео на 6 секунд, далее воспроизводится видео
    а если после редактирования это сохранить методом copy, то на кадрах могут появится артефакты при воспроизведении в mpc


(google translate)
zero frame duration error occurs when creating a slideshow using ffmpeg using the setpts method to precisely set the frame duration

that is at fps 50 I set the duration to 6 seconds for all frames

Frame 0 is supposed to last 6 seconds, but it lasts 20 milliseconds, and all the rest are 6 seconds

this happens in avidemux and mpc (media player classic K-Lite Mega Codec), but on YouTube everything plays fine

if I edit a slideshow in avidemux and press the play button on an arbitrary frame, it immediately switches to the next frame, that is, it does not show the current frame for 6 seconds, but jumps to the next frame

if I edit a slideshow in avidemux and copy two frames from the slideshow from an arbitrary area somewhere into an added video with the same fps, then during playback the second frame from the slideshow is shown for 6 seconds, then a frame from the video is shown for 6 seconds, then played video
    and if after editing it is saved using the copy method, then artifacts may appear on the frames when played back in mpc

eumagga0x2a

Please provide a sample preferably via WeTransfer, Mega, Dropbox or Google Drive. Alternatively, please post the ffmpeg command line used to generate the sample.

Thank you.