AVC / H264 type of file

10 views
Skip to first unread message

Christophe Mes

unread,
Aug 28, 2025, 9:29:12 AM (10 days ago) Aug 28
to ResourceSpace
Hi

we seem to have an issue woth H264/AVC type of files. They do not get processed (no thumb, no metadata, ..) and I just see the gray camera backup icon in the object.

How can I see what goes wrong? I updated to latest ffmpeg (7.1.1) on latest RS (Ubuntu).

config.php
$ffmpeg_preview_options = '-f mp4 -b:v 1200k -b:a 128k -ac 2 -c:v libx264 -pix_fmt yuv420p -c:a aac -strict -2 -movflags faststart';

Any ideas? or how I can view the debug while processing?
Server is 4CPU/8Gb - all other Pro Apple MOV files work without issues.



Tx
c

David Ryan

unread,
Aug 29, 2025, 3:11:42 PM (9 days ago) Aug 29
to ResourceSpace
I don't know the specific answer, but I imagine that if you run ffmpeg against a sample file with the switches above you should get information back from ffmpeg - like for example "error, this is not an mp4 file"
Try running this command and post the results here -
ffmpeg -i <yourfilename.ext>

Here's the result for one of my mp4 files showing stream 0:1 is h264/avc1 format -
ffmpeg -i 111_1e9d195cd474fec.mp4
- - - -  results snipped - - - -
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '111_1e9d195cd474fec.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: isom3gp4
    creation_time   : 2015-02-17T08:00:31.000000Z
  Duration: 00:00:12.91, start: 0.000000, bitrate: 10293 kb/s
  Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1280x720, 9925 kb/s, SAR 1:1 DAR 16:9, 29.96 fps, 30 tbr, 90k tbn (default)
    Metadata:
      creation_time   : 2015-02-17T08:00:31.000000Z
      handler_name    : VideoHandle
      vendor_id       : [0][0][0][0]
      encoder         : MOTO
    Side data:
      displaymatrix: rotation of -90.00 degrees
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2015-02-17T08:00:31.000000Z
      handler_name    : SoundHandle
      vendor_id       : [0][0][0][0]

Reply all
Reply to author
Forward
0 new messages