Convert .tmp to .mp4 manually

Pin

New Member
I found the record file on server and its .tmp file

Can I convert it to .mp4 manually?

1647248565796.png
 

Max

Administrator
Staff member
Hello

.tmp means file is being recorded at this moment
You have to stop publishing stream to finalize file.
mp4 header will be written into the beginning of file upon finalizing.
So you can play or convert stream after finalization only.
 

Pin

New Member
Hi Max,

The stream has ended. Can I fix it by add header or something manually?

Now, I moved files from EC2 to S3 already.
 

Max

Administrator
Staff member
The stream has ended. Can I fix it by add header or something manually?
Usually, mp4.tmp is saved as mp4 after recording is stopped either via REST API or by stopping a stream itself. The saving may fail due to low disk space or if WCS was eventually stopped or restarted while recording. Anyway, mp4.tmp cannot be converted manually because it has no MP4 metadata and contains only raw mediadata.
 
Top