CasparCG / server

CasparCG Server is a Windows and Linux software used to play out professional graphics, audio and video to multiple outputs. It has been in 24/7 broadcast production since 2006. Ready-to-use downloads are available under the Releases tab https://casparcg.com.
GNU General Public License v3.0
901 stars 269 forks source link

SEEK LENGTH frame precision problem #1073

Open andreyim opened 6 years ago

andreyim commented 6 years ago

For example, SEEK 10 length 2 plays more than 2 frames. Here is the last server version where this command works precisely without problems. http://casparcg.com/builds/CasparCG%20Server/master/casparcg-server-3df6b07072c66a3ddfcd29de989c52534801cfea-windows.zip

andreyim commented 6 years ago

UPD: The Seek command makes audio out of sync.

ronag commented 6 years ago

@andreyim: is audio out of sync even with current master?

andreyim commented 6 years ago

@ronag I've tested the last version. This version has no audio desync, but with the "length < 25" the video is not playing. It only puts the last frame to still. I test everything at 1080i50 with MXF, XDCAM HD 35.

ronag commented 6 years ago

@andreyim can you give me the exact commands that don't work for you as expected (with the media) and I will take a look if/when I have time.

andreyim commented 6 years ago

@ronag Not working properly - PLAY 1-0 "TEST/EX50I" SEEK 916 LENGTH 24 Works properly - PLAY 1-0 "TEST/EX50I" SEEK 916 LENGTH 25

The same with the sample file Not working properly - PLAY 1-0 "TEST/CG1080I50" SEEK 184 LENGTH 24 Works properly - PLAY 1-0 "TEST/CG1080I50" SEEK 184 LENGTH 25

my sample media https://drive.google.com/file/d/1ubicVP_Fn7NaZbCAJbLRfZ4eXmM_ZOq5/view?usp=sharing

ronag commented 6 years ago

please also explain "not working properly"

andreyim commented 6 years ago

@ronag PLAY 1-0 "TEST/EX50I" SEEK 916 LENGTH 25 This command plays file correctly. All 25 frames are played. Everything is ok. But if the LENGTH is less than 25, the video file is not played, but paused at some frame.