j1900 918+ 6.2.3 半白 moments 正常显示视频图片缩略图,人脸没用。 videostation 不显示视频缩略图 网上的替换法都试过了,套件也试过了。索引类型是选的其他。 难道是 ffmpeg 版本不对吗,听说群晖的是魔改的。 用了 python3 脚本调用 ffmpeg 也不行,以下是日志。
:/volume2/Download/测试# python3 photo_thumb.py
ffmpeg -i "/volume2/Download/测试 /IMG_2203.mov" -y -ss 5 -frames:v 1 "/volume2/Download/测试 /IMG_2203.jpg"
ffmpeg version 4.4.3-48 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 4.9.3 (crosstool-NG 1.20.0) 20150311 (prerelease)
configuration: --target-os=linux --cross-prefix=/home/spksrc/master/spksrc/toolchain/syno-x64-6.1/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- --prefix=/var/packages/ffmpeg/target --extra-cflags=-I/home/spksrc/master/spksrc/spk/ffmpeg4/work-x64-6.1/install/var/packages/ffmpeg/target/include --extra-ldflags=-L/home/spksrc/master/spksrc/spk/ffmpeg4/work-x64-6.1/install/var/packages/ffmpeg/target/lib --extra-libs='-lxml2 -ldl -lm' --pkg-config=/usr/bin/pkg-config --ranlib=/home/spksrc/master/spksrc/toolchain/syno-x64-6.1/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ranlib --enable-cross-compile --enable-rpath --enable-pic --enable-shared --enable-gpl --enable-version3 --enable-avresample --disable-debug --disable-static --disable-doc --extra-version=48 --extra-cflags=-DSYNO_VIDEOSTATION --extra-cflags=-fno-if-conversion --extra-cflags=-O3 --extra-cflags=-Wno-deprecated-declarations --x86asmexe=nasm --enable-libcodec2 --enable-libxml2 --enable-demuxer=dash --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libopenjpeg --enable-libmp3lame --enable-libbluray --enable-libspeex --enable-libtheora --enable-libcaca --enable-libdc1394 --enable-libvorbis --enable-libwebp --enable-libzmq --enable-gnutls --enable-libopenh264 --enable-libopus --enable-libsoxr --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librabbitmq --enable-libtwolame --enable-libzvbi --enable-libx264 --enable-libx265 --enable-libvpx --enable-libshine --enable-chromaprint --enable-libdav1d --enable-librist --enable-libzimg --enable-libfdk-aac --enable-nonfree --enable-libaom --enable-libsvtav1 --enable-libsvthevc --arch=x86_64 --enable-vaapi --enable-libmfx --enable-libdrm --enable-libass
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/volume2/Download/测试 /IMG_2203.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2023-04-15T06:07:49.000000Z
com.apple.quicktime.location.accuracy.horizontal: 7.426167
com.apple.quicktime.location.ISO6709: +23.0894+113.2387+009.785/
com.apple.quicktime.make: Apple
com.apple.quicktime.model: iPhone 12 mini
com.apple.quicktime.software: 16.3
com.apple.quicktime.creationdate: 2023-04-15T14:07:49+0800
Duration: 00:00:02.60, start: 0.000000, bitrate: 8675 kb/s
Stream #0:0(und): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, bt2020nc/bt2020/arib-std-b67), 1920x1080, 8465 kb/s, 29.98 fps, 29.97 tbr, 600 tbn, 600 tbc (default)
Metadata:
rotate : 90
creation_time : 2023-04-15T06:07:49.000000Z
handler_name : Core Media Video
vendor_id : [0][0][0][0]
encoder : HEVC
Side data:
DOVI configuration record: version: 1.0, profile: 8, level: 4, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 4
displaymatrix: rotation of -90.00 degrees
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 138 kb/s (default)
Metadata:
creation_time : 2023-04-15T06:07:49.000000Z
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
Stream #0:2(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
Metadata:
creation_time : 2023-04-15T06:07:49.000000Z
handler_name : Core Media Metadata
Stream #0:3(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
Metadata:
creation_time : 2023-04-15T06:07:49.000000Z
handler_name : Core Media Metadata
Stream #0:4(und): Data: none (mebx / 0x7862656D), 34 kb/s (default)
Metadata:
creation_time : 2023-04-15T06:07:49.000000Z
handler_name : Core Media Metadata
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[swscaler @ 0x2a82880] deprecated pixel format used, make sure you did set range correctly
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x219cdc0] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
[hevc @ 0x21ad580] Skipping NAL unit 62
[hevc @ 0x2175580] Skipping NAL unit 62
[hevc @ 0x2161f40] Skipping NAL unit 62
[hevc @ 0x218c700] Skipping NAL unit 62
Output #0, image2, to '/volume2/Download/测试 /IMG_2203.jpg':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
com.apple.quicktime.creationdate: 2023-04-15T14:07:49+0800
com.apple.quicktime.location.accuracy.horizontal: 7.426167
com.apple.quicktime.location.ISO6709: +23.0894+113.2387+009.785/
com.apple.quicktime.make: Apple
com.apple.quicktime.model: iPhone 12 mini
com.apple.quicktime.software: 16.3
encoder : Lavf58.76.100
Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 1080x1920, q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn (default)
Metadata:
encoder : Lavc58.134.100 mjpeg
creation_time : 2023-04-15T06:07:49.000000Z
handler_name : Core Media Video
vendor_id : [0][0][0][0]
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
DOVI configuration record: version: 1.0, profile: 8, level: 4, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 4
displaymatrix: rotation of -0.00 degrees
frame= 0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
/volume2/Download/测试 /IMG_2203.jpg capture success
not video,continue next
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.