.. _e87c3543-597c-42c8-a3e1-a6c37affe8db: =============================== File contains a truncated track =============================== .. contents:: :depth: 2 -------------- Classification -------------- .. list-table:: :align: center * - **Validator** - **Validator version** - **Error message type** * - mediainfo - - general .. list-table:: :align: center * - **File format** - **Version** - **Specification** - **Description** - **Location** * - video/quicktime - - - No file locations. - :ref:`corpus ` -------- Analyses -------- Analysis ======== The repair add the following line to the ffmpeg output: 'Guessed Channel Layout: stereo.' The markers to the unexisting chapter are probably removed. The error message does not prevent playing the streams. The message could possibly be also ignored. Is it a bug in the validating software? - ------------------ Possible solutions ------------------ .. contents:: :local: Recreate file with automatically selected audio and video streams ================================================================= The suggestion ~~~~~~~~~~~~~~ Copy automatically selected audio and video streams and copy 'global metadata' to the new file. Execution ~~~~~~~~~~~~~~~~~ ``ffmpeg -i .MOV -c:v copy -c:a copy -map_metadata 0 .MOV`` Tested with: FFmpeg 6.0 Effects ~~~~~~~ The selected audio and video streams are copied along with top-level metadata (``-map_metadata 0``) to the output file. The automatic selection principles are described in FFmpeg's documentation: https://ffmpeg.org/ffmpeg.html#Automatic-stream-selection Justification ~~~~~~~~~~~~~ The file contains single audio and video streams. Migrated files ~~~~~~~~~~~~~~ No suggestion determined. All solutions are listed for browsing :ref:`in here `. -------------- Output example -------------- :: The file is truncated. File contains a truncated track. ------------------ Notes on the error ------------------ ------------------------------ Related errors by source files ------------------------------ :: ffmpeg: Application provided invalid, non monotonically increasing dts to muxer in stream .*: ffmpeg: Referenced QT chapter track not found mediainfo: File contains a truncated track Notice: any operation suggested on this page should be carefully considered before use, as this article is in continuous development. Data is available at https://github.com/Digital-Preservation-Finland/knowledge-base.