transcoding from mpegts to h264

Rand Graham rand.graham at zenith.com
Wed Feb 26 19:44:33 UTC 2020


Have you looked at these examples?

https://gstreamer.freedesktop.org/documentation/dvb/dvbsrc.html?gi-language=c

Here is one:

gst-launch-1.0 dvbsrc modulation="QAM 64" trans-mode=8k bandwidth=8 frequency=514000000 code-rate-lp=AUTO code-rate-hp=2/3 guard=4  hierarchy=0 pids=100:256:257 ! mpegtsdemux name=demux ! queue max-size-buffers=0 max-size-time=0 ! mpegvideoparse ! mpeg2dec ! xvimagesink demux. ! queue max-size-buffers=0 max-size-time=0 ! mpegaudioparse ! mpg123audiodec ! audioconvert ! pulsesink


One thing they all do is parse or decode the video some how. I don't see any plugin to parse or decode the video in your example.


-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of vandanachadha
Sent: Tuesday, February 25, 2020 9:31 AM
To: gstreamer-devel at lists.freedesktop.org
Subject: transcoding from mpegts to h264

I am trying to encode the dvbsrc into h264, but the output file is 0  bytes.

gst-launch-1.0  --gst-debug-level=3 dvbsrc  modulation="QAM 256"
frequency=147000000 num-buffers=1000 ! tsdemux  name=demux! queue ! x264enc
qp-min=18 ! filesink location=test_x264enc.ts

Setting pipeline to PAUSED ...
0:00:00.177489486 24055 0x56455f7e6ec0 FIXME                 dvbsrc
gstdvbsrc.c:2129:gst_dvbsrc_is_valid_modulation: No modulation sanity-checks implemented for delivery system: '2'
0:00:00.177683984 24055 0x56455f7e6ec0 FIXME                 dvbsrc
gstdvbsrc.c:2097:gst_dvbsrc_is_valid_trans_mode: No transmission-mode sanity checks implemented for this delivery system
0:00:00.177846120 24055 0x56455f7e6ec0 FIXME                 dvbsrc
gstdvbsrc.c:2161:gst_dvbsrc_is_valid_bandwidth: No bandwidth sanity checks implemented for this delivery system
0:00:00.177993221 24055 0x56455f7e6ec0 WARN                  dvbsrc
gstdvbsrc.c:2132:gst_dvbsrc_is_valid_modulation: Invalid modulation '5' for delivery system '11'
0:00:00.178136422 24055 0x56455f7e6ec0 FIXME                 dvbsrc
gstdvbsrc.c:2129:gst_dvbsrc_is_valid_modulation: No modulation sanity-checks implemented for delivery system: '2'
0:00:00.178266183 24055 0x56455f7e6ec0 FIXME                 dvbsrc
gstdvbsrc.c:2097:gst_dvbsrc_is_valid_trans_mode: No transmission-mode sanity checks implemented for this delivery system
0:00:00.178394733 24055 0x56455f7e6ec0 FIXME                 dvbsrc
gstdvbsrc.c:2161:gst_dvbsrc_is_valid_bandwidth: No bandwidth sanity checks implemented for this delivery system Pipeline is live and does not need PREROLL ...
0:00:00.747999920 24055 0x56455f7bff20 FIXME                default
gstutils.c:3981:gst_pad_create_stream_id_internal:<dvbsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.812287303 24055 0x56455f7bff20 WARN                 tsdemux
tsdemux.c:1596:create_pad_for_stream: AC3 stream type found but no guaranteed way found to differentiate between AC3 and EAC3. Assuming plain AC3.
0:00:00.814518149 24055 0x56455f7bff20 WARN                 tsdemux
tsdemux.c:1596:create_pad_for_stream: AC3 stream type found but no guaranteed way found to differentiate between AC3 and EAC3. Assuming plain AC3.





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list