how to write ffmpeg output directly to a mountpoint mount s3 bucket on an ec2 instead, instead of outputting to home dir then using cp/mv

0

I have mount one of my bucket on my ec2 instance using mountpoint, i wan to perform a file format conversion task using ffmpeg. ffmpeg is able to take/read input from the mount bucket directly but if i try to give the output path to the same mount bucket it throws errors like 'No such file or directory', 'Error writing trailer: Invalid argument',

if i give the output path of my ec2 instance home it generates output and then i can use cp/mv to move it to the mount bucket and it does so, i think that eliminates the change of write permissions issue. how can i directly point the ffmpeg output to the bucket, i dont want to store the output in my instance storage

asked 6 months ago255 views
1 Answer
0

Hello,

Warm greetings for the day!

We would like to share that FFmpeg is a free and open-source software project consisting of a suite of libraries and programs for handling video, audio, and other multimedia files and streams. As it is a third party product, AWS does not have direct expertise in supporting it and the vendor might be better able to assist on ffmpeg. Also, we have found a article discussing a similar issue as yours :

https://github.com/awslabs/mountpoint-s3/issues/524

However from the error shared it seems like that there is some issue with command format and in order to troubleshoot this issue further we recommend that you open a support case with AWS premium support and provide below information :

  1. Full command being used
  2. Error screenshots
  3. S3 bucket name
  4. Ec2 instance ID

Thank you for your understanding and cooperation.

I wish you a safe and great day ahead!

AWS
SUPPORT ENGINEER
Megha_S
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions