Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatibility issues with github #1

Closed
ipatch opened this issue Jan 23, 2022 · 3 comments
Closed

compatibility issues with github #1

ipatch opened this issue Jan 23, 2022 · 3 comments

Comments

@ipatch
Copy link

ipatch commented Jan 23, 2022

i gave the docker image a try this afternoon, and it produced a results.mp4 file. i uploaded the file to github but the file will not play in firefox, and i've been getting mixed results with chromium based browsers.

github issues seems to only support 10MB attachments but larger mp4 files can be uploaded to gist and linked using <video tags.

https://gist.github.com/ipatch/97c8d10beb66c388082680372a3bb854#gistcomment-4038228

right clicking on the video gives the below raw video URL,

https://user-images.githubusercontent.com/613805/150659922-55274a55-9591-4a0d-8431-631a5135912a.mp4
@yangyang5214
Copy link
Owner

@ipatch

Yes, there will be problems with image quality. and consumes a lot of memory resources.

So it is recommended to use js to play text and simulate video effects (by google translate)

image


是的,对于大于一分钟的视频,效果不是很好,并且消耗的内存很大( ffmpeg 部分),所以,推荐使用 asciinema js 来达到模拟播放视频的目的。

@ipatch
Copy link
Author

ipatch commented Jan 23, 2022

it is more of a the final mp4 file generated by the docker container ie. the results.mp4 does not play with the firefox web browser. i don't think the docker container produces valid mp4 files. or is missing some settings that would allow a web browser such as firefox to play the mp4 file. 🤷‍♂️

i ended up reencoding the mp4 file in shotcut then it was able to play in firefox.

@yangyang5214
Copy link
Owner

@ipatch Yes, I also think it's a problem with firefox not supporting

maybe , try this https://stackoverflow.com/questions/40760864/how-to-play-mp4-video-in-firefox .(or ignore)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants