[FFmpeg-user] Tracking ffmpeg instance by its logs

Daniel Cantarin omega_canta at yahoo.com
Wed Jun 10 18:21:32 EEST 2020


Hi there.

I'm having some trouble with a ffmpeg working with an external stream as input.
This are the logs I see:

```
(...)
Jun  8 10:57:05 server-name journal: [h264 @ 0x55a098c0c700] non-existing PPS 0 referenced
Jun  8 10:57:05 server-name journal: [h264 @ 0x55a098c0c700] decode_slice_header error
Jun  8 10:57:05 server-name journal: [h264 @ 0x55a098c0c700] non-existing PPS 0 referenced
(...)
Jun  8 10:57:05 server-name journal: [NULL @ 0x55a0984b5fc0] non-existing PPS 0 referenced
(...)
Jun  8 10:57:05 server-name journal: [h264 @ 0x55a098dbc740] non-existing PPS 0 referenced
Jun  8 10:57:05 server-name journal: [h264 @ 0x55a098dbc740] decode_slice_header error
Jun  8 10:57:05 server-name journal: [h264 @ 0x55a098dbc740] non-existing PPS 0 referenced
(...)
Jun  8 11:04:26 server-name journal: [h264 @ 0x55ae88d1c3c0] non-existing PPS 0 referenced
Jun  8 11:04:26 server-name journal: [h264 @ 0x55ae88d1c3c0] decode_slice_header error
Jun  8 11:04:26 server-name journal: [h264 @ 0x55ae88d1c3c0] no frame!
(...)
```

Thing is, I have several instances of ffmpeg running in the same server (configured as a system service, and thus the systemd journal logs), and can't find which one is triggering the errors. All I have is that memory address form the encoder/decoder. 
So, I come to this mailing list to ask this question: does anybody knows a simple way to match that memory address with the current system proccess using it?

Thanks in advance.


More information about the ffmpeg-user mailing list