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 25377457C3 for ; Tue, 21 Feb 2023 22:55:24 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6CDEE68BF89; Wed, 22 Feb 2023 00:55:21 +0200 (EET) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6F35E6881BA for ; Wed, 22 Feb 2023 00:55:15 +0200 (EET) Received: by mail-wr1-f52.google.com with SMTP id l25so5630033wrb.3 for ; Tue, 21 Feb 2023 14:55:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=AdhQSujTzOvZ3L9L+/coLCJciEr1+Sc8tEfhxyfwLgo=; b=HkFarq7JyO7wRd/KDAZTMyWCukpBzVOORvtdGYfP8Dt0tA3NQCMJUaqBhtt/55zvga cs06z01SpaTwkteIpdXAdIaUdpp9l+phMPayrwFrky0iysyLcgSAynfPYNp84Fe7OLIV tW0OJ5vwvzBL4BK9EwPNoHAVisHGRkLRpldjulxTLf/jLk6Gsv+CQ0kN8FgUL5T3bf7H ZbfhbMLj0ztT5blbTj0osNwOrncIpu99EB3FjU2JRzSqUA7FpnDfBZ/uc0xPIT005gHY 532qw6rhbmkrOiIZsWGdDRCFnt66MdccftFDlEnGKoFL9864OwQZtmBDP60NJtpB6vRf +N1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AdhQSujTzOvZ3L9L+/coLCJciEr1+Sc8tEfhxyfwLgo=; b=VfKq4eusHCRyt79VBCAX8F9Z9owdlThPvVNzW3XWoseysDLXQYk07qIVisOO1gswPT KA5Mo9VnR1xqcPSlFexj6FuvaMp9cUPZQA6n90G2KpV121XPrL3znBdFpX4vV2l6lq1W oyrqxLDCQKzdZctH/u00Pb6D2PK2Jt6aFDPn252uGoFuTUFLoDjixmfN4QPJjdu21yO3 AVZEFJnCvER3YDwOEAv2nR1jNoYPk5Bnn3eo36vjFFQAsDMJVZIJci4OBJQOPhjyyNUK i3+lRpI2nRRZFyf2t7Et3I/JgHHgZJ0hlpP0wssiFjB5ExACExhV4pHjihyUWEpCNzLu J1/g== X-Gm-Message-State: AO0yUKU2cMATcG2Lqt30AuNUA8BwcjsxCOjUjKYJh4qaFlWaBl2SgeMv PmLTgyB6sq1g7t8ArsAIv3ZUSzT2VWTlpnkCY2/dTfQg X-Google-Smtp-Source: AK7set+3KrPE143E0jdzo3yYFo2h8xlW8XocYMeKpUXuRXUvHyGK3tC5PMS1NP2jdxEFlJbzCdviKvV30fcQIj7ewqg= X-Received: by 2002:a5d:490d:0:b0:2c5:4a27:8054 with SMTP id x13-20020a5d490d000000b002c54a278054mr186006wrq.14.1677020114302; Tue, 21 Feb 2023 14:55:14 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: sonntex Date: Tue, 21 Feb 2023 22:55:02 +0000 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] How to implement pcap ffmpeg format? 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: New pcap ffmpeg format can have all options rtpdec requires. Anyway, I don't suggest you implement this feature. I just want to find a good entry point to start coding personally. I need to create a development tool for rtp tracing, and pcap files seem a good idea because I can grab rtp using tcpdump, or create pcap files directly in my application, or whatever. It's better then wrap vp8/vp9 to ivf or h264 to byte stream and pass it to ffmpeg via pipe because it doesn't require coding of new solutions for every video and audio formats transferring over rtp. On Tue, Feb 21, 2023 at 10:38 PM Kieran Kunhya wrote: > On Tue, 21 Feb 2023, 22:33 sonntex, wrote: > > > I want to implement something which helps me to play rtp stored in pcap > > files. > > > > tcpdump -i lo udp port 50000 -s0 -w - | ffplay -i - > > > > The specification of pcap files is really simple and I could create a new > > ffmpeg format, but don't know how to process rtp packets extracted from > > pcap, because it seems that all functions for rtp parsing are private. > > > > Need a good example of inner ffmpeg formats processing. > > > > How is ffmpeg meant to know the meaning of the contents of a pcap and the > format inside? > > This is a very bad idea. > > What's next, ffmpeg implementing userspace TCP? Are we going to add support > for parsing filesystems as well? > > Regards, > Kieran Kunhya > > > > _______________________________________________ > 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". > _______________________________________________ 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".