doc/muxers/crc: apply consistency fixes

This commit is contained in:
Stefano Sabatini 2024-01-16 01:15:19 +01:00
parent fe1800b3fc
commit e36dbea389
1 changed files with 10 additions and 7 deletions

View File

@ -931,8 +931,7 @@ service. Default is @code{-1}.
@anchor{crc} @anchor{crc}
@section crc @section crc
CRC (Cyclic Redundancy Check) muxer.
CRC (Cyclic Redundancy Check) testing format.
This muxer computes and prints the Adler-32 CRC of all the input audio This muxer computes and prints the Adler-32 CRC of all the input audio
and video frames. By default audio frames are converted to signed and video frames. By default audio frames are converted to signed
@ -946,25 +945,29 @@ CRC=0x@var{CRC}, where @var{CRC} is a hexadecimal number 0-padded to
See also the @ref{framecrc} muxer. See also the @ref{framecrc} muxer.
@subsection Examples @subsection Examples
@itemize
For example to compute the CRC of the input, and store it in the file @item
@file{out.crc}: Use @command{ffmpeg} to compute the CRC of the input, and store it in
the file @file{out.crc}:
@example @example
ffmpeg -i INPUT -f crc out.crc ffmpeg -i INPUT -f crc out.crc
@end example @end example
You can print the CRC to stdout with the command: @item
Use @command{ffmpeg} to print the CRC to stdout with the command:
@example @example
ffmpeg -i INPUT -f crc - ffmpeg -i INPUT -f crc -
@end example @end example
@item
You can select the output format of each frame with @command{ffmpeg} by You can select the output format of each frame with @command{ffmpeg} by
specifying the audio and video codec and format. For example to specifying the audio and video codec and format. For example, to
compute the CRC of the input audio converted to PCM unsigned 8-bit compute the CRC of the input audio converted to PCM unsigned 8-bit
and the input video converted to MPEG-2 video, use the command: and the input video converted to MPEG-2 video, use the command:
@example @example
ffmpeg -i INPUT -c:a pcm_u8 -c:v mpeg2video -f crc - ffmpeg -i INPUT -c:a pcm_u8 -c:v mpeg2video -f crc -
@end example @end example
@end itemize
@anchor{dash} @anchor{dash}
@section dash @section dash