From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 6D4AF48CCD for ; Tue, 23 Apr 2024 14:33:23 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3C9B968D385; Tue, 23 Apr 2024 17:33:21 +0300 (EEST) Received: from mta7.iomartmail.com (mta7.iomartmail.com [62.128.193.157]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1924068D2D0 for ; Tue, 23 Apr 2024 17:33:14 +0300 (EEST) Received: from vs2.iomartmail.com (vs2.iomartmail.com [10.12.10.123]) by mta7.iomartmail.com (8.14.7/8.14.7) with ESMTP id 43NEXD29013897 for ; Tue, 23 Apr 2024 15:33:13 +0100 Received: from vs2.iomartmail.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1A7724604B for ; Tue, 23 Apr 2024 15:33:13 +0100 (BST) Received: from vs2.iomartmail.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0562A46048 for ; Tue, 23 Apr 2024 15:33:13 +0100 (BST) Received: from asmtp3.iomartmail.com (unknown [10.12.10.224]) by vs2.iomartmail.com (Postfix) with ESMTPS for ; Tue, 23 Apr 2024 15:33:12 +0100 (BST) Received: from smtpclient.apple (host86-177-49-40.range86-177.btcentralplus.com [86.177.49.40]) (authenticated bits=0) by asmtp3.iomartmail.com (8.14.7/8.14.7) with ESMTP id 43NEXCEX025246 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 23 Apr 2024 15:33:12 +0100 From: ffmpeg@gallery.co.uk Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Message-Id: <9CB1E73C-E428-4E27-9667-A6E93D93A09D@gallery.co.uk> Date: Tue, 23 Apr 2024 15:33:02 +0100 To: ffmpeg-devel@ffmpeg.org X-Mailer: Apple Mail (2.3731.700.6.1.1) X-Originating-IP: 86.177.49.40 X-Thinkmail-Auth: mark@gallery.co.uk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=gallery.co.uk; h=from :content-type:mime-version:subject:message-id:date:to; s= 20221231; bh=Nh6x3Is5kBWzIqvjLSLLMP6fhGXgqEJdOnOq79x1LeA=; b=MA3 peZXbhl7gwHkk4ExgPX7NHQRB6MWwrZUCXhpJZArdwvM+OwJV2WzUDOrrPn+jE2Z LHZn6krikn/DuuqMFLMX1x42UWozadEy6YTdudYAWWGy/9NPampRuh9gk9M6UXVD 9Hk7H57XYkSAQgJ4U1s6O4NhGZnDC4zBQvjzwak1PC9AhXbSn43G7mGu64gJw7e7 GrudnuRSAuOjTLeevgkVGdyCETQ6uIAg2mucyFEO7WmNu9z//UW8aZjuvlYjo78b o0uhF/as89SXIlNOD3Ey98afeDtXC1jFQBb8LeQUDXeXKFleoEF/N0po4fZ4oH2R UNdCRbENVqh0MCi1utA== X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.2090-9.0.0.1002-28340.000 X-TM-AS-Result: No--8.287-10.0-31-10 X-imss-scan-details: No--8.287-10.0-31-10 X-TMASE-Version: IMSVA-9.1.0.2090-9.0.1002-28340.000 X-TMASE-Result: 10--8.287000-10.000000 X-TMASE-MatchedRID: YjfDhHOn+oCOPHcS3uzQKdvdABZUYgKUNjaQozXs+pPd5HexqBUAVAjJ lierVE/n/57ghY35qk4LqR0tUBwRndz4cH5hW96YCtzGvPCy/m5BHuVYxc8DW0tYyuL5Cqax4qB oNyJLoHDiDH+UpWkpzxTfwewUsgI60MIzlvZD6LSz8d6zvo5NkJbRfsVvs4VIpjlkbDvDJ4fwBe NyF2o9oE6cLgpd91S/84oovQVhL8HNOu6IXpEO6TIHIyLCTr7eyHdfpwipSH49cm/gkkPle/NO7 flRFqXmkIlKoLwVBVA8DWpBm1CjZTmNLhXT11DOIj0zFI5DoJLCXeHJwJcT9kv/etCZatMGPRpE JoiJUdQMGoULfJ6+mf0bVLkspps2w02etKRpdS8vj6wHfIGxyVGk5uRH0MzCAUYifayLzo8n2k+ RSkgHuIHA6IBd3vQsTYRAEZDeuQDKpI/okSlBI32uAdI0BhnqWaK4g5JlAVY7LF3pX3rdVC10Sy GJiMMcXtmAOQQOe9TqL6ZFxzlBVx8TzIzimOwP/sToY2qzpx47AFczfjr/7L3Q2pHQ6ndpsOiT4 KRqARdMzlfVMeuIa8OFKsVDkFoRjz0V7a7S7u0= X-TMASE-SNAP-Result: 1.821001.0001-0-1-22:0,33:0,34:0-0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [FFmpeg-devel] Modifying mpegts.c to add support for JPEGXS - how to inject video descriptor from PMT into stream X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Hi Folks I am trying to add decode support for VSF TR-07 (JPEGXS in transport stream), using the intel JPEGXS project for the codec part. The Intel code gets JPEGXS working fine in FFMPEG via mkv or mp4 files but it doesnt implement transport stream support for the new codec so TR07 doesnt work yet JPEGXS TR07 requires a video descriptor block in the PMT entry for the JPEGXS pid. feeding in a known good T07 stream, I have successfully parsed that data in the call parse_stream_identifier_desc() made from pmt_cb() function in mpegts.c, but its unclear how to connect this metadata I have extracted to the internal stream which has been created. Can I inject that newly found video description data into the stream from inside pmt_cb() ? or does this happen somewhere else ? As it stands (since I am not actually doing anything with the parsed descriptor), I still get the error : mpegts @ 0x7fac96104440] Could not find codec parameters for stream 0 (Video: jpegxs, 1 reference frame (2[0][0][0] / 0x0032), none): unspecified sizeConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options and as you can see, it doesn't get things like the dimensions when summarising the stream. INPUT FMT: Video: jpegxs, 1 reference frame (2[0][0][0] / 0x0032), none Stream #0:0[0x100], 34, 1/90000: Video: jpegxs, 1 reference frame (2[0][0][0] / 0x0032), none, 60 fps, 60 tbr, 90k tbn Metadata: SRCPID : 256 Could anyone advise how to connect the dots between parsing the PMT and getting that data into the streams parameters ? Thanks !!! _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".