[FFmpeg-user] FFmpeg HLS Output Blank During Live Stream — Possible Causes?
Vedant Bhugul
patilsvedant19 at gmail.com
Thu May 8 23:03:59 EEST 2025
Hi Dennis,
Thank you for your suggestion. I’m confident that adding -pix_fmt yuv420p
will help resolve the issue. However, could you kindly assist in providing
guidance on how to reproduce the issue or, if not, suggest possible reasons
that could have caused this behavior? I need to identify the root cause for
reporting to my seniors.
Your help would be greatly appreciated.
Best regards,
Vedant
On Fri, May 9, 2025 at 1:15 AM Dennis Mungai <dmngaie at gmail.com> wrote:
> On Thu, 8 May 2025 at 22:41, Vedant Bhugul <patilsvedant19 at gmail.com>
> wrote:
>
> > Hi FFmpeg team,
> > During a certain period, the HLS output (i.e., .ts segments and .m3u8
> > playlist) remained blank for every live stream attempted. However, the
> .flv
> > output stream continued to function normally. For each affected session,
> we
> > had to manually terminate the FFmpeg transcoding process—only then did
> the
> > HLS output recover and begin functioning correctly. The issue resolved
> > itself after this period and has not reoccurred since. It also remains
> > unreproducible.
> >
> > Note: Unfortunately, I do not have the FFmpeg logs from the time of the
> > incident.
> >
> > I have attached the code-snippets.txt file for your reference.
> >
> > I tried adding delays both in the transcoding server code and on the
> ingest
> > server side to see if it would help reproduce the issue, but none of
> these
> > attempts had any effect. The problem did not occur again and remains
> > unreproducible.
> >
> > *I would appreciate any guidance or assistance in identifying the root
> > cause of this issue* to ensure it does not recur in the future.
> >
> > Best Regards,
> > Vedant
> >
>
> Add -pix_fmt yuv420p right after -c:v libx264 and retest.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-user
mailing list