infante
18th November 2013, 23:38
I have an unusual situation.
We have a crazy workflow that has us doing the following:
1. We encode a video file at the local level using x264. The result is a local copy of "file #1."
2. File #1 is uploaded to a linux based server
3. File #1 is duplicated on the server. Result is File #1 and File #2.
4. File #1 and File #2 are transferred via ftp server to another destination.
Now here is the crazy part. File #1 and File #2 cannot be the same exact size or the destination server will not accept the file. They need to be slightly different. It has been suggested to add a second of black space to the end of the video, but this would entail encoding a second video locally and uploading two files versus one (these are large files so we want to avoid extra work). Server based processing is more efficient here.
I would really appreciate a suggestion on how I can use a command based server script to make the two files slightly different in size after they are duplicated on the server.
Is their a command based process (or alternatively a software that can be run on Linux) that will change a file size without re-encoding the entire file as we don't want to unnecessarily re-encode a video?
Thanks for indulging me on a crazy situation!
We have a crazy workflow that has us doing the following:
1. We encode a video file at the local level using x264. The result is a local copy of "file #1."
2. File #1 is uploaded to a linux based server
3. File #1 is duplicated on the server. Result is File #1 and File #2.
4. File #1 and File #2 are transferred via ftp server to another destination.
Now here is the crazy part. File #1 and File #2 cannot be the same exact size or the destination server will not accept the file. They need to be slightly different. It has been suggested to add a second of black space to the end of the video, but this would entail encoding a second video locally and uploading two files versus one (these are large files so we want to avoid extra work). Server based processing is more efficient here.
I would really appreciate a suggestion on how I can use a command based server script to make the two files slightly different in size after they are duplicated on the server.
Is their a command based process (or alternatively a software that can be run on Linux) that will change a file size without re-encoding the entire file as we don't want to unnecessarily re-encode a video?
Thanks for indulging me on a crazy situation!