xat / castnow

commandline chromecast player
MIT License
3.81k stars 243 forks source link

Playback is stuttering #260

Open Reasel opened 3 years ago

Reasel commented 3 years ago

I am on windows 10 and I am unsure how to get the debug to work so I do not have that, but obviously would be willing if I could get it to work.

I have tried .mkv and .mp4 playback. I have to include --myip and --address for the device as that is the only way I have gotten things to connect. I opened the TCP ports and UDP ports as instructed in the wiki. But the playback is still pretty stuttery. My router is in the same room as the chromecast so I cannot imagine it has poor signal strength. It can cast youtube and others just fine using the youtube app.

Is there anything I am missing?

Reasel commented 3 years ago

I should add the mp3 and opus playback is 100% fine. Just seems to be video that contains the stutters.

Reasel commented 3 years ago

I was able to get the debug to work.

PS C:\Git> castnow "C:\Users\Tanner's Rig\Desktop\Scipts\SmartHome\WTFAce.mp4"                               
  castnow volume step: 0.05 +0ms                                                                             
  castnow launching... +1ms                                                                                  
  castnow:stdin [                                                                                            
  castnow:stdin   {                                                                                          
  castnow:stdin     path: "C:\\Users\\Tanner's Rig\\Desktop\\Scipts\\SmartHome\\WTFAce.mp4"                  
  castnow:stdin   }                                                                                          
  castnow:stdin ] +1ms                                                                                       
  castnow:localfile started webserver on address 192.168.1.7 using port 4100 +7ms                            
  castnow player status: loading plugins +0ms                                                                
  castnow player status: scanning +1ms                                                                       
  castnow player status: connecting +1ms                                                                     
  castnow player status: launching +40ms                                                                     
  castnow player status: loading +2s                                                                         
  castnow:localfile incoming request serving C:\Users\Tanner's Rig\Desktop\Scipts\SmartHome\WTFAce.mp4 +405ms
  castnow:localfile incoming request serving C:\Users\Tanner's Rig\Desktop\Scipts\SmartHome\WTFAce.mp4 +35ms 
  castnow:localfile incoming request serving C:\Users\Tanner's Rig\Desktop\Scipts\SmartHome\WTFAce.mp4 +111ms
  castnow player status: ready +2s                                                                           
  castnow player status: playing +135ms                                                                      
  castnow player status: buffering +282ms                                                                    
  castnow player status: playing +4s                                                                         
  castnow player status: playing +1s                                                                         
  castnow player status: playing +4s                                                                         
  castnow player status: playing +4s                                                                         
  castnow player status: playing +4s                                                                         
  castnow player status: idle +781ms

Not that this log shows much but the video is only 11 seconds long. It is ~53.9MB in size.