How can Prepend a 10second still image to video
Posted: Fri Feb 07, 2020 8:50 pm
We transcode a variety of video files into a standard format using a Custom FFMpeg encoder.
I'd like to prepend 10seconds of a still image (png?) to the final output mp4, but can't get the sequence correct.
All jobs are submitted with the API (if that is relevant).
Current Workflow: CustomFFmpeg->DeliverToFolder
I started with just the InsertMedia processor, specifying the PNG file and duration, but it gave errors about needing "Use AV Media Decoder"
I've tried these, but all end with no output or an error about "Use A/V media", or "moov atom not found":
I'd like to prepend 10seconds of a still image (png?) to the final output mp4, but can't get the sequence correct.
All jobs are submitted with the API (if that is relevant).
Current Workflow: CustomFFmpeg->DeliverToFolder
I started with just the InsertMedia processor, specifying the PNG file and duration, but it gave errors about needing "Use AV Media Decoder"
I've tried these, but all end with no output or an error about "Use A/V media", or "moov atom not found":
- CustomFFmpeg->InsertMedia->A/V Media Decoder->DeliverToFolder
- InsertMedia->A/V Media Decoder->CustomFFmpeg->DeliverToFolder
- A/V Media Decoder->InsertMedia->CustomFFmpeg->DeliverToFolder
I should add that the final video MUST go through the Custom FFMpeg process, we can't just tack on the generated video. Have tried that in the past, and our broadcast server won't play the MP4. Currently, we do a series of FFMPEG commands to arrive a the finish product, then do a final re-encode. Apparently whether there is audio or or not, we had to have an audio track in the final file.Your workflow would look like this: Monitor->A/V Decode->InsertMedia->Encode->Deliver