help with srt pipeline

Marc Marc at f1-outsourcing.eu
Fri Sep 10 09:47:03 UTC 2021


What is wrong with this pipeline? Vlc is not showing any video, it sees however in codec info a h264 stream (without resolution). This[2] is working fine.

[@test2 /]# gst-launch-1.0 filesrc location=/tmp/big_buck_bunny_240p_5mb.mp4 ! qtdemux name=demux name=demux demux.video_0 ! h264parse  ! mpegtsmux ! srtsink uri=srt://:33333
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:08.8 / 0:01:04.8 (13.6 %)

[2]
gst-launch-1.0 videotestsrc  ! video/x-raw,width=640,height=480 ! x264enc ! mpegtsmux ! srtsink uri=srt://:33333

[1]
[@test2 /]# mediainfo /tmp/big_buck_bunny_240p_5mb.mp4
General
Complete name                            : /tmp/big_buck_bunny_240p_5mb.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 5.01 MiB
Duration                                 : 1 min 4 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 647 kb/s
Encoded date                             : UTC 1970-01-01 00:00:00
Tagged date                              : UTC 2014-07-19 17:41:59
Writing application                      : Lavf53.24.2

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main at L1.3
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1 min 4 s
Bit rate                                 : 260 kb/s
Width                                    : 320 pixels
Height                                   : 240 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Constant
Frame rate                               : 15.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.226
Stream size                              : 2.01 MiB (40%)
Encoded date                             : UTC 1970-01-01 00:00:00
Tagged date                              : UTC 1970-01-01 00:00:00
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 1 min 4 s
Bit rate mode                            : Variable


More information about the gstreamer-devel mailing list