[FFmpeg-devel] Enable stream copy of data
Michael Niedermayer
michaelni at gmx.at
Sun Feb 8 18:40:28 CET 2015
On Sun, Feb 08, 2015 at 10:42:43PM +0530, Anshul wrote:
>
> On 01/16/2015 07:21 AM, Michael Niedermayer wrote:
> >On Wed, Jan 14, 2015 at 03:11:24PM +0530, Anshul wrote:
> >>Hi
> >>
> >>I have enabled demuxing and muxing path for datat stream
> >>
> >>Please find attachment
> >>
> >>Thanks
> >>Anshul
> >> ffmpeg.c | 2 ++
> >> ffmpeg_opt.c | 10 ++++++++++
> >> libavcodec/avcodec.h | 1 +
> >> libavcodec/codec_desc.c | 6 ++++++
> >> libavformat/Makefile | 1 +
> >> libavformat/avformat.h | 17 +++++++++++++++++
> >> libavformat/format.c | 2 ++
> >> libavformat/mpegts.c | 43 +++++++++++++++++++++++++++++++++++++------
> >> libavformat/utils.c | 1 +
> >> 9 files changed, 77 insertions(+), 6 deletions(-)
> >>40306177e8bb3e95b98060f6202b38bb8acba26a 0001-Enable-data-stream-copy.patch
> >> From 99bcdef2bcd9aa5bd18a0a005e0826e22ad2cf63 Mon Sep 17 00:00:00 2001
> >>From: Anshul Maheshwari <anshul.ffmpeg at gmail.com>
> >>Date: Wed, 14 Jan 2015 15:06:50 +0530
> >>Subject: [PATCH] Enable data stream copy
> >>
> >>Signed-off-by: Anshul Maheshwari <anshul.ffmpeg at gmail.com>
> >>---
> >> ffmpeg.c | 2 ++
> >> ffmpeg_opt.c | 10 ++++++++++
> >> libavcodec/avcodec.h | 1 +
> >> libavcodec/codec_desc.c | 6 ++++++
> >> libavformat/Makefile | 1 +
> >> libavformat/avformat.h | 17 +++++++++++++++++
> >> libavformat/format.c | 2 ++
> >> libavformat/mpegts.c | 43 +++++++++++++++++++++++++++++++++++++------
> >> libavformat/utils.c | 1 +
> >> 9 files changed, 77 insertions(+), 6 deletions(-)
> >applied the generic data stream handling improvments to libavformat
> >and ffmpeg
> >
> >please update APIChanges
> >
> patch attached.
> >also
> >[...]
> >>@@ -1927,6 +1932,11 @@ static int open_output_file(OptionsContext *o, const char *filename)
> >> }
> >> }
> >> /* do something with data? */
> >>+ if (!o->data_disable && av_guess_codec(oc->oformat, NULL, filename, NULL, AVMEDIA_TYPE_DATA) != AV_CODEC_ID_NONE) {
> >>+ for (i = 0; i < nb_input_streams; i++)
> >>+ if (input_streams[i]->st->codec->codec_type == AVMEDIA_TYPE_DATA)
> >>+ new_data_stream(o, oc, i);
> >>+ }
> >this probably needs something "more" to work, like we wouldnt
> >want to matchup a data stream with GPS data to a scte_35 stream
> >iam not sure how to best do this though
> >for stream copy the codec_id could be used though i guess
> >
> working on it.
>
> -Anshul
> APIchanges | 3 +++
> 1 file changed, 3 insertions(+)
> 27aa0306a051d9daf6ac174dbca6ea4a53db2620 0001-updated-Data-stream-changes-in-APIChange.patch
> From d9bcc7761fe4f7d98be1b518bed95c177e7504cf Mon Sep 17 00:00:00 2001
> From: Anshul Maheshwari <er.anshul.maheshwari at gmail.com>
> Date: Sun, 8 Feb 2015 22:37:07 +0530
> Subject: [PATCH] updated Data stream changes in APIChange
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150208/6a1caac1/attachment.asc>
More information about the ffmpeg-devel
mailing list