[FFmpeg-user] Using SEI timecode data as -timecode value

adam smith adamsmith79 at icloud.com
Wed Apr 17 17:34:49 EEST 2019


Hi you lovely people,

I am trying to find a way of using the SEI timecode data in a TS file to add timecode to an XDCAM.MXF output file.
I have done a fair amount of googling, but don’t seem to be getting very far.

I did try this…

ffmpeg -i /Users/adam.smith/Downloads/media-with-sei.ts -vcodec mpeg2video -profile:v 0 -level:v 2 -s 1920x1080 -b:v 50000k -maxrate 50000k -bufsize 3835k -minrate 50000k -r 25 -flags ilme -top 1 -acodec pcm_s24le -ar 48000 -pix_fmt yuv422p -timecode `exiftool -TimeCode -s3 /Users/adam.smith/Downloads/media-with-sei.ts` /Users/adam.smith/Downloads/media-with-sei.mxf

Which was attempting to use another command line tool to read the data and insert it as -timecode; but that seems a little misguided as I am pretty sure that it was just trying to read a TimeCode value in the basic metadata which was not present.

If any of you lovely people could point me in the right direction it would be very much appreciated.

Thanks in advance
Adam


More information about the ffmpeg-user mailing list