[FFmpeg-user] Naming chapters in Matroska video

Ulf Zibis Ulf.Zibis at CoSoCo.de
Wed Feb 17 10:36:31 EET 2021


Am 17.02.21 um 01:30 schrieb Paul B Mahol:
>
> It works here. Note version of libs.

Good morning, here I am again.

Aha, afaics i use the same lib versions, but libpostproc is missing. Is it needed? From where I get it?
Additionally the configuration list is not shown.

$ ~/Projects/ffmpeg/dev_2/ffmpeg -i INPUT.mkv -i INPUT_test.ffmeta -map_metadata 1 -c copy OUTPUT.mkv
ffmpeg version N-101141-g8331eb058d Copyright (c) 2000-2021 the FFmpeg developers
   built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
   configuration:
   libavutil      56. 65.100 / 56. 65.100
   libavcodec     58.123.100 / 58.123.100
   libavformat    58. 67.100 / 58. 67.100
   libavdevice    58. 12.100 / 58. 12.100
   libavfilter     7.107.100 /  7.107.100
   libswscale      5.  8.100 /  5.  8.100
   libswresample   3.  8.100 /  3.  8.100
Input #0, matroska,webm, from 'INPUT.mkv':
   Metadata:
     SOURCE_TYPE     : dvd
     ENCODER         : Lavf58.12.100
   Duration: 01:31:56.24, start: 0.110000, bitrate: 3011 kb/s
   Chapters:
     Chapter #0:0: start 0.000000, end 11.021556
     Chapter #0:1: start 11.021556, end 819.335778
     Chapter #0:2: start 819.335778, end 1839.479956
     Chapter #0:3: start 1839.479956, end 2689.600133
     Chapter #0:4: start 2689.600133, end 3289.684978
     Chapter #0:5: start 3289.684978, end 4584.868089
     Chapter #0:6: start 4584.868089, end 5516.129689
   Stream #0:0: Video: h264 (High), yuv420p(progressive), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
     Metadata:
       ENCODER         : Lavc58.18.100 libx264
       DURATION        : 01:31:56.240000000
   Stream #0:1(deu): Audio: vorbis, 48000 Hz, stereo, fltp (default)
     Metadata:
       LANGUAGE-ISO639_2: deu
       LANGUAGE-SIMPLE : Deutsch
       LANGUAGE-DESCRIPTION: Deutsch
       ENCODER         : Lavc58.18.100 libvorbis
       DURATION        : 01:31:56.241000000
Input #1, ffmetadata, from 'INPUT_test.ffmeta':
   Metadata:
     SOURCE_TYPE     : dvd
     encoder         : Lavf58.45.100
     title           : Experiment
   Duration: 01:31:56.02, start: 0.000000, bitrate: N/A
   Chapters:
     Chapter #1:0: start 0.000000, end 10.911556
     Chapter #1:1: start 10.911556, end 819.225778
       Metadata:
         title           : 1 - Intro
     Chapter #1:2: start 819.225778, end 1839.369956
       Metadata:
         title           : 2 - Restaurant
     Chapter #1:3: start 1839.369956, end 2689.490133
       Metadata:
         title           : 3 - At home
     Chapter #1:4: start 2689.490133, end 3289.574978
     Chapter #1:5: start 3289.574978, end 4584.758089
     Chapter #1:6: start 4584.758089, end 5516.019689
File 'OUTPUT.mkv' already exists. Overwrite? [y/N] y
Output #0, matroska, to 'OUTPUT.mkv':
   Metadata:
     SOURCE_TYPE     : dvd
     title           : Experiment
     encoder         : Lavf58.67.100
   Chapters:
     Chapter #0:0: start 0.000000, end 10.911556
     Chapter #0:1: start 10.911556, end 819.225778
     Chapter #0:2: start 819.225778, end 1839.369956
     Chapter #0:3: start 1839.369956, end 2689.490133
     Chapter #0:4: start 2689.490133, end 3289.574978
     Chapter #0:5: start 3289.574978, end 4584.758089
     Chapter #0:6: start 4584.758089, end 5516.019689
   Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 720x576 [SAR 16:15 DAR 4:3], q=2-31, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
     Metadata:
       ENCODER         : Lavc58.18.100 libx264
       DURATION        : 01:31:56.240000000
   Stream #0:1(deu): Audio: vorbis (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp (default)
     Metadata:
       LANGUAGE-ISO639_2: deu
       LANGUAGE-SIMPLE : Deutsch
       LANGUAGE-DESCRIPTION: Deutsch
       ENCODER         : Lavc58.18.100 libvorbis
       DURATION        : 01:31:56.241000000
Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=137903 fps=871 q=-1.0 Lsize= 2027570kB time=01:31:56.12 bitrate=3011.1kbits/s speed=34.8x
video:1952414kB audio:71785kB subtitle:0kB other streams:0kB global headers:4kB muxing overhead: 0.166526%

$ ~/Projects/ffmpeg/dev_2/ffprobe OUTPUT.mkv
ffprobe version N-101141-g8331eb058d Copyright (c) 2007-2021 the FFmpeg developers
   built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
   configuration:
   libavutil      56. 65.100 / 56. 65.100
   libavcodec     58.123.100 / 58.123.100
   libavformat    58. 67.100 / 58. 67.100
   libavdevice    58. 12.100 / 58. 12.100
   libavfilter     7.107.100 /  7.107.100
   libswscale      5.  8.100 /  5.  8.100
   libswresample   3.  8.100 /  3.  8.100
Input #0, matroska,webm, from 'OUTPUT.mkv':
   Metadata:
     title           : Experiment
     SOURCE_TYPE     : dvd
     ENCODER         : Lavf58.67.100
   Duration: 01:31:56.13, start: 0.000000, bitrate: 3011 kb/s
   Chapters:
     Chapter #0:0: start 0.000000, end 10.911556
     Chapter #0:1: start 10.911556, end 819.225778
     Chapter #0:2: start 819.225778, end 1839.369956
     Chapter #0:3: start 1839.369956, end 2689.490133
     Chapter #0:4: start 2689.490133, end 3289.574978
     Chapter #0:5: start 3289.574978, end 4584.758089
     Chapter #0:6: start 4584.758089, end 5516.019689
   Stream #0:0: Video: h264 (High), yuv420p(progressive), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
     Metadata:
       ENCODER         : Lavc58.18.100 libx264
       DURATION        : 01:31:56.130000000
   Stream #0:1(deu): Audio: vorbis, 48000 Hz, stereo, fltp (default)
     Metadata:
       LANGUAGE-ISO639_2: deu
       LANGUAGE-SIMPLE : Deutsch
       LANGUAGE-DESCRIPTION: Deutsch
       ENCODER         : Lavc58.18.100 libvorbis
       DURATION        : 01:31:56.130000000

-Ulf



More information about the ffmpeg-user mailing list