2025-01-18, 01:50 PM
Sure
/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "SomeFile.m4v" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv
ffmpeg version 7.0.2-Jellyfin Copyright © 2000-2024 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SomeFile.m4v':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: mp42iso2avc1mp41
creation_time : 2024-11-09T20:18:48.000000Z
title : SomeFile_DVD_S1D1
encoder : HandBrake 1.5.1 2022030700
Duration: 01:37:06.57, start: 0.000000, bitrate: 1068 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 403.361000
Metadata:
title : Chapter 1
Chapter #0:1: start 403.361000, end 984.734000
Metadata:
title : Chapter 2
Chapter #0:2: start 984.734000, end 1597.346000
Metadata:
title : Chapter 3
Chapter #0:3: start 1597.346000, end 2303.760000
Metadata:
title : Chapter 4
Chapter #0:4: start 2303.760000, end 2920.918000
Metadata:
title : Chapter 5
Chapter #0:5: start 2920.918000, end 3506.420000
Metadata:
title : Chapter 6
Chapter #0:6: start 3506.420000, end 4210.915000
Metadata:
title : Chapter 7
Chapter #0:7: start 4210.915000, end 4818.564000
Metadata:
title : Chapter 8
Chapter #0:8: start 4818.564000, end 5355.016000
Metadata:
title : Chapter 9
Chapter #0:9: start 5355.016000, end 5754.874000
Metadata:
title : Chapter 10
Chapter #0:10: start 5754.874000, end 5826.571000
Metadata:
title : Chapter 11
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 718x480 [SAR 32:27 DAR 718:405], 611 kb/s, 23.98 fps, 23.98 tbr, 90k tbn (default)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : Surround
vendor_id : [0][0][0][0]
Side data:
audio service type: main
Stream #0:2[0x3](eng): Subtitle: dvd_subtitle (dvdsub) (mp4s / 0x7334706D), 720x480, 3 kb/s (default)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : SubtitleHandler
Stream #0:3[0x4](eng): Data: bin_data (text / 0x74786574)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : SubtitleHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
[matroska @ 0x556e2ac34140] Only audio, video, and subtitles are supported for Matroska.
[out#0/matroska @ 0x556e2ad1b380] Could not write header (incorrect codec parameters ?): Invalid argument
Conversion failed!
/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "SomeFile.m4v" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv
ffmpeg version 7.0.2-Jellyfin Copyright © 2000-2024 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SomeFile.m4v':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: mp42iso2avc1mp41
creation_time : 2024-11-09T20:18:48.000000Z
title : SomeFile_DVD_S1D1
encoder : HandBrake 1.5.1 2022030700
Duration: 01:37:06.57, start: 0.000000, bitrate: 1068 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 403.361000
Metadata:
title : Chapter 1
Chapter #0:1: start 403.361000, end 984.734000
Metadata:
title : Chapter 2
Chapter #0:2: start 984.734000, end 1597.346000
Metadata:
title : Chapter 3
Chapter #0:3: start 1597.346000, end 2303.760000
Metadata:
title : Chapter 4
Chapter #0:4: start 2303.760000, end 2920.918000
Metadata:
title : Chapter 5
Chapter #0:5: start 2920.918000, end 3506.420000
Metadata:
title : Chapter 6
Chapter #0:6: start 3506.420000, end 4210.915000
Metadata:
title : Chapter 7
Chapter #0:7: start 4210.915000, end 4818.564000
Metadata:
title : Chapter 8
Chapter #0:8: start 4818.564000, end 5355.016000
Metadata:
title : Chapter 9
Chapter #0:9: start 5355.016000, end 5754.874000
Metadata:
title : Chapter 10
Chapter #0:10: start 5754.874000, end 5826.571000
Metadata:
title : Chapter 11
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 718x480 [SAR 32:27 DAR 718:405], 611 kb/s, 23.98 fps, 23.98 tbr, 90k tbn (default)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : Surround
vendor_id : [0][0][0][0]
Side data:
audio service type: main
Stream #0:2[0x3](eng): Subtitle: dvd_subtitle (dvdsub) (mp4s / 0x7334706D), 720x480, 3 kb/s (default)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : SubtitleHandler
Stream #0:3[0x4](eng): Data: bin_data (text / 0x74786574)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : SubtitleHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
[matroska @ 0x556e2ac34140] Only audio, video, and subtitles are supported for Matroska.
[out#0/matroska @ 0x556e2ad1b380] Could not write header (incorrect codec parameters ?): Invalid argument
Conversion failed!