Difference between revisions of "WMV to MXF using FFmpeg"

From Archivematica
Jump to navigation Jump to search
Line 4: Line 4:
 
*File used was RDRC_EastRC_Promo1_W640.wmv (Fly For Tots Invitation), taken from http://flightpass.higherplaneproductions.com/gallery2/main.php?g2_itemId=146
 
*File used was RDRC_EastRC_Promo1_W640.wmv (Fly For Tots Invitation), taken from http://flightpass.higherplaneproductions.com/gallery2/main.php?g2_itemId=146
 
*Used the following command to convert the file: ffmpeg -i RDRC_EastRC_Promo1_W640.wmv -vcodec mpeg2video -qscale 1 -qmin 1 -intra -ar 48000 RDRC_EastRC_Promo1_W640.mxf
 
*Used the following command to convert the file: ffmpeg -i RDRC_EastRC_Promo1_W640.wmv -vcodec mpeg2video -qscale 1 -qmin 1 -intra -ar 48000 RDRC_EastRC_Promo1_W640.mxf
*Note: FITS tools don't recognize the MXF format and only generate a small amount of generic file metadata as a result. In addition, some of the elements that are considered significant properties are not extracted by FITS for the original file. Therefore some of the metadata in these tables are taken from the FFmpeg metadata that were generated during conversion. These are indicated by FFmpeg in brackets next to the value.
+
*Note: FITS tools don't recognize the MXF format and only generate a small amount of generic file metadata as a result.  
 
</br>
 
</br>
  
Line 19: Line 19:
 
|FileSize
 
|FileSize
 
|
 
|
|61933898 bytes
+
|61,933,898 bytes
 
|
 
|
|-
 
|Duration
 
|
 
|00:39 (FITS); 00:39.04 (FFmpeg)
 
|00:39.37 (FFmpeg)
 
|-
 
|Bit rate
 
|
 
|3040 kpb/s (FFmpeg)
 
|2734 kbp/s
 
 
|-
 
|-
 
|Streamcount
 
|Streamcount
 
|imageStreams, audioStreams
 
|imageStreams, audioStreams
|2 (FFmpeg)
+
|2
|2 (FFmpeg)
+
|2
 
|-
 
|-
 
|FrameCount
 
|FrameCount
Line 45: Line 35:
 
|width
 
|width
 
|320
 
|320
|320 (FFmpeg)
+
|320
 
|-
 
|-
 
|ImageHeight
 
|ImageHeight
 
|height
 
|height
 
|240
 
|240
|240 (FFmpeg)
+
|240
 
|-
 
|-
 
|BitDepth
 
|BitDepth
Line 69: Line 59:
 
|PAR (pixel aspect ratio)/DAR (display aspect ratio)
 
|PAR (pixel aspect ratio)/DAR (display aspect ratio)
 
|aspectRatio
 
|aspectRatio
|72:72/4:3 (FFmpeg)
+
|1:1/4:3
|1:1/4:3 (FFmpeg)
+
|1:1/4:3
 
|-
 
|-
 
|FrameRate
 
|FrameRate
 
|frameRate
 
|frameRate
 
|30 per second
 
|30 per second
|29.97 (FFmpeg)
+
|29.97 per second
 
|-
 
|-
 
|
 
|
Line 89: Line 79:
 
|Compression
 
|Compression
 
|codec
 
|codec
|CompressorName: Photo-JPEG (FITS); mjpeg (FFmpeg)
+
|mjpeg
|mpeg2video (FFmpeg)
+
|mpeg2video
 
|-
 
|-
 
|
 
|
Line 121: Line 111:
 
|1
 
|1
 
|1 (FFmpeg)
 
|1 (FFmpeg)
|-
 
|Bit rate
 
|176 kbp/s (FFmpeg)
 
|768 kbp/s (FFmpeg)
 
 
|-
 
|-
 
|SampleRate
 
|SampleRate

Revision as of 16:53, 6 August 2010

Main Page > Documentation > Media type preservation plans > Windows Media Player file > WMV to MXF test results


  • File used was RDRC_EastRC_Promo1_W640.wmv (Fly For Tots Invitation), taken from http://flightpass.higherplaneproductions.com/gallery2/main.php?g2_itemId=146
  • Used the following command to convert the file: ffmpeg -i RDRC_EastRC_Promo1_W640.wmv -vcodec mpeg2video -qscale 1 -qmin 1 -intra -ar 48000 RDRC_EastRC_Promo1_W640.mxf
  • Note: FITS tools don't recognize the MXF format and only generate a small amount of generic file metadata as a result.


File/video stream properties

Property Significant property name Original Normalized
FileSize 61,933,898 bytes
Streamcount imageStreams, audioStreams 2 2
FrameCount length
ImageWidth width 320 320
ImageHeight height 240 240
BitDepth bitDepth 24
colourModel
colourSpace yuv420p yuv420p
PAR (pixel aspect ratio)/DAR (display aspect ratio) aspectRatio 1:1/4:3 1:1/4:3
FrameRate frameRate 30 per second 29.97 per second
lossless No No
compressionRatio
Compression codec mjpeg mpeg2video
interlace
metadata


Audio stream properties

Property Original Normalized
Codec raw (FITS); pcm_u8 (FFmpeg) pcm_s16le (FFmpeg)
Channels 1 1 (FFmpeg)
SampleRate 22050 HZ 48000 HZ
BitDepth AudioBitsPerSample: 8 (FITS); 16 (FFmpeg) 16 (FFmpeg)