On 2021-04-12 06:40, Matthew Yang wrote:
Hello all
I was trying to extract a 5-minute segment of a video, keeping the same
settings using the following command
ffmpeg -ss 00:00:00 -i "input.mxf" -c copy -t 00:05:00 output.mxf
However the 'resolution' and 'scan type' of the output differs from the
original.
Video (ORIGINAL)
ID : 2
Format : JPEG 2000
Format profile : No restrictions
Format settings, wrapping mode : Frame
Codec ID : 0D010301020C0100-0401020203010100
Duration : 1 h 32 min
Bit rate : 90.0 Mb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 8.680
Stream size : 58.1 GiB (95%)
Title : Picture
Video (OUTPUT)
ID : 2
Format : JPEG 2000
Format profile : No restrictions
Format settings, wrapping mode : Frame
Codec ID : 0D010301020C0100-0401020203010100
Duration : 5 min 0 s
Bit rate : 58.6 Mb/s
Width : 720 pixels
Height : 288 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 11.308
Stream size : 2.05 GiB (96%)
How do I retain the same settings in my output file? TIA.
Matthew
Hello Matthew,
Do you want to preserve the interlaced character in the 5 minute segment? Do you understand what
that means? Do you understand that interlaced is essentially analog TV?
I suggest you combine the 288 line fields to form normal 576 line frames, and then decomb (aka
"deinterlace") them. That's what's found on DVDs and BDs.
HTH,
Mark.
--
Mars? We can't live there! Mars is fatal: no magnetosphere to deflect cosmic rays. A tropical
sunshade orbiting Earth would work. It's the only way. We need to start construction now. Forget Mars.
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".