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

Corrupt on sync mp4 files #134

Open
kenanchristian opened this issue Dec 4, 2016 · 1 comment
Open

Corrupt on sync mp4 files #134

kenanchristian opened this issue Dec 4, 2016 · 1 comment

Comments

@kenanchristian
Copy link

Hello guys, I've been using this inside a docker, and what I do is taking a FLV file from a live stream using FFMPEG then saved to a folder inside docker that mounted s3 storage, after that the FLV file will be converted to MP4 using FFMPEG and saved to the same folder, so it can be sent to S3.

The problem is, the mp4 files seems to be corrupted, and I can't play it from S3. I tried using another library for mount s3 and it doesn't get corrupted. Is it a bug, or I'm using it the wrong way?

@wizzard
Copy link
Member

wizzard commented Dec 4, 2016

Please make sure you convert your files on non RioFS folder, as we do not support random file writes (video codecs most likely update a file header after finishing write). I recommend you to save the output file to a temporary folder and then copy to RioFS folder.

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