Uploaded video creates thumbnails but I can’t see the video
-
When I upload I can hear audio and see a still thumbnail image but I can’t watch the video. What could be causing that? Using php 8 with ffmpeg (latest version).
nice /usr/bin/ffmpeg -y -i “/home/aandicowork/public_html/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4” -ac 2 -acodec aac -strict experimental -b:a 128k -s 640×360 -vcodec libx264 -movflags faststart -profile:v baseline -pix_fmt yuv420p -level:v 30 -crf 18 -threads 1 “/home/aandicowork/public_html/wp-content/uploads/2021/11/sample-video-h264-360.mp4”
ffmpeg version N-52056-ge5d25d1147-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg libavutil 56. 42.101 / 56. 42.101 libavcodec 58. 76.100 / 58. 76.100 libavformat 58. 42.100 / 58. 42.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 77.100 / 7. 77.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/aandicowork/public_html/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf55.33.100 Duration: 00:00:01.02, start: 0.000000, bitrate: 123 kb/s Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 109 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 2 kb/s (default) Metadata: handler_name : SoundHandler Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [libx264 @ 0x6a99980] using SAR=1/1 [libx264 @ 0x6a99980] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x6a99980] profile Constrained Baseline, level 3.0, 4:2:0, 8-bit [libx264 @ 0x6a99980] 264 - core 159 r2991 1771b55 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - https://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/home/aandicowork/public_html/wp-content/uploads/2021/11/sample-video-h264-360.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.42.100 Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 23.98 fps, 11988 tbn, 23.98 tbc (default) Metadata: handler_name : VideoHandler encoder : Lavc58.76.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default) Metadata: handler_name : SoundHandler encoder : Lavc58.76.100 aac [mp4 @ 0x6a75e00] Starting second pass: moving the moov atom to the beginning of the file frame= 24 fps=0.0 q=23.0 Lsize= 6kB time=00:00:01.00 bitrate= 53.0kbits/s speed=3.68x video:4kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 39.726315% [libx264 @ 0x6a99980] frame I:1 Avg QP: 6.82 size: 3463 [libx264 @ 0x6a99980] frame P:23 Avg QP: 6.80 size: 15 [libx264 @ 0x6a99980] mb I I16..4: 94.3% 0.0% 5.7% [libx264 @ 0x6a99980] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.1% 0.0% 0.0% 0.0% 0.0% skip:99.9% [libx264 @ 0x6a99980] coded y,uvDC,uvAC intra: 3.6% 0.0% 0.0% inter: 0.0% 0.0% 0.0% [libx264 @ 0x6a99980] i16 v,h,dc,p: 95% 1% 5% 0% [libx264 @ 0x6a99980] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 16% 25% 3% 3% 7% 4% 6% 4% [libx264 @ 0x6a99980] i8c dc,h,v,p: 100% 0% 0% 0% [libx264 @ 0x6a99980] ref P L0: 71.4% 28.6% [libx264 @ 0x6a99980] kb/s:30.51 [aac @ 0x6a9e540] Qavg: 65536.000
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Uploaded video creates thumbnails but I can’t see the video’ is closed to new replies.