freeMXF.org
http://www.freemxf.org/forum/

encoding with FFMPEG
http://www.freemxf.org/forum/viewtopic.php?f=2&t=92
Page 1 of 1

Author:  cedric.hamelin [ Wed Aug 15, 2007 9:37 am ]
Post subject:  encoding with FFMPEG

dear teams,
I have been trying to generate video and audio streams with ffmpeg.exe command line without success;
does anyone know what codecs and formats association or MXF xml dict file to use ?

my code looks like this :
I have a multilingual MPEG2-TS input file that I need to remux into MXF

Code:
ffmpeg -i input_VAA.ts -vcodec mpeg2video -an -f mp2 video_V.mpg
ffmpeg -i input_VAA.ts -map 0:1 audioFRA_A.wav
ffmpeg -i input_VAA.ts -map 0:2 audioENG_A.wav
mxfwrap.exe -f video_V.mpg+audioFRA_A.wav+audioENG_A.wav output_VAA.mxf


the output always turns to
"ERROR: Could not identify the essence in file video_V.mpg"

in advance, thank you
Cedric

Author:  Killertoffy [ Fri Nov 09, 2007 10:38 pm ]
Post subject: 

I think video extraction is wrong :

Probably something like this will work better :

ffmpeg -i input_VAA.ts -vcodec copy -f mpeg2video video_V.m2v

Need elementary stream for mxflib. (-f mpeg2video)
and -vcodec copy takes the stream out without recompressing.

.m2v extension is probably needed also.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/