Re: [FFmpeg-devel] [PATCH 0/1] avformat/mpegts: fix first NAL start code splited in two different packets

2024-02-20 Thread Nicolas Gaullier
>> Personally, I have not found a better solution as an mpegts fix, but if >> anyone has a better code, of course my version can be dropped. >> (I have not looked for a possible fix in the upper ffmpeg demux/parser >> layers, but it would be certainly even more ugly, if possible at all). > >I

Re: [FFmpeg-devel] [PATCH 0/1] avformat/mpegts: fix first NAL start code splited in two different packets

2024-02-06 Thread Marton Balint
On Tue, 6 Feb 2024, Nicolas Gaullier wrote: If you think it would be better to have a related trac ticket, just tell me, I can do this of course. Nicolas I think it's ok. I wish it were less ugly but I guess it can't be. Kieran Yes, of course! I am really really sorry. Personally, I

Re: [FFmpeg-devel] [PATCH 0/1] avformat/mpegts: fix first NAL start code splited in two different packets

2024-02-06 Thread Kieran Kunhya
On Tue, 6 Feb 2024 at 11:39, Nicolas Gaullier wrote: > >> If you think it would be better to have a related trac ticket, just > >> tell me, I can do this of course. > >> Nicolas > >> > > > >I think it's ok. I wish it were less ugly but I guess it can't be. > > > >Kieran > > Yes, of course! I am

Re: [FFmpeg-devel] [PATCH 0/1] avformat/mpegts: fix first NAL start code splited in two different packets

2024-02-06 Thread Nicolas Gaullier
>> If you think it would be better to have a related trac ticket, just >> tell me, I can do this of course. >> Nicolas >> > >I think it's ok. I wish it were less ugly but I guess it can't be. > >Kieran Yes, of course! I am really really sorry. Personally, I have not found a better solution as an

Re: [FFmpeg-devel] [PATCH 0/1] avformat/mpegts: fix first NAL start code splited in two different packets

2024-02-06 Thread Kieran Kunhya
On Tue, 6 Feb 2024 at 10:58, Nicolas Gaullier wrote: > >Envoyé : vendredi 2 février 2024 16:24 > >À : ffmpeg-devel@ffmpeg.org > >Objet : [PATCH 0/1] avformat/mpegts: fix first NAL start code splited in > two different packets > > > >This issue happens in the following case: > >- unaligned PES

Re: [FFmpeg-devel] [PATCH 0/1] avformat/mpegts: fix first NAL start code splited in two different packets

2024-02-06 Thread Nicolas Gaullier
>Envoyé : vendredi 2 février 2024 16:24 >À : ffmpeg-devel@ffmpeg.org >Objet : [PATCH 0/1] avformat/mpegts: fix first NAL start code splited in two >different packets > >This issue happens in the following case: >- unaligned PES and NAL encoding >- the first NAL of the access unit begins at the

[FFmpeg-devel] [PATCH 0/1] avformat/mpegts: fix first NAL start code splited in two different packets

2024-02-02 Thread Nicolas Gaullier
This issue happens in the following case: - unaligned PES and NAL encoding - the first NAL of the access unit begins at the very end of a ts packet, sometimes only the 0x00 of the trailing byte (unfortunately, this is still conformant to the standards!) - the video frame is so small (ex: