[gstreamer-bugs] [Bug 639848] [mpegtsmux] doesn't join an h264 and an audio ES

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 20 03:57:54 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=639848
  GStreamer | gst-plugins-bad | 0.10.20

--- Comment #3 from Fraxinas <andreas.frisch at multimedia-labs.de> 2011-01-20 11:57:49 UTC ---
thanks to your hints on irc i've refined the pipeline like this:

gst-launch -v mpegtsmux name=m ! filesink location=test_video.ts filesrc
location=20110118\ 1234\ -\ Einsfestival\ HD\ -\ HDTV-Testausstrahlung.ts !
mpegtsdemux name=d d.audio_0646 ! ac3parse ! queue2 max-size-buffers=0 m.
d.video_0641 ! h264parse ! queue2 max-size-buffers=0 ! m.

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstMpegTSDemux:d: pat-info = ((GValueArray*)
0x7fe14c0034a0)
/GstPipeline:pipeline0/GstMpegTSDemux:d: pmt-info = ((MpegTsPmtInfo*)
0x7fe14c001d80)
/GstPipeline:pipeline0/GstAc3Parse:ac3parse0.GstPad:sink: caps = audio/x-ac3
/GstPipeline:pipeline0/GstAc3Parse:ac3parse0.GstPad:sink: caps = audio/x-ac3
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal
/GstPipeline:pipeline0/GstQueue2:queue21.GstPad:sink: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal
/GstPipeline:pipeline0/GstQueue2:queue21.GstPad:src: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal
/GstPipeline:pipeline0/MpegTsMux:m.GstPad:sink_64: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal
/GstPipeline:pipeline0/GstAc3Parse:ac3parse0.GstPad:src: caps = audio/x-ac3,
framed=(boolean)true, rate=(int)48000, channels=(int)2
/GstPipeline:pipeline0/GstAc3Parse:ac3parse0.GstPad:src: caps = audio/x-ac3,
framed=(boolean)true, rate=(int)48000, channels=(int)2
/GstPipeline:pipeline0/GstAc3Parse:ac3parse0.GstPad:src: caps = audio/x-ac3,
framed=(boolean)true, rate=(int)48000, channels=(int)2
/GstPipeline:pipeline0/GstQueue2:queue20.GstPad:sink: caps = audio/x-ac3,
framed=(boolean)true, rate=(int)48000, channels=(int)2
Pipeline is PREROLLED ...
/GstPipeline:pipeline0/GstQueue2:queue20.GstPad:src: caps = audio/x-ac3,
framed=(boolean)true, rate=(int)48000, channels=(int)2
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/MpegTsMux:m.GstPad:src: caps = video/mpegts,
systemstream=(boolean)true, packetsize=(int)188, streamheader=(buffer)<
47400030a600ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000b00d0001c100000001e020a2c32941,
474020308b00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0002b0280001c10000e040f00c050448444d5688040ffffcfc1be040f00a050848444d56ff1b443ffba2e249
>
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/mpegts,
systemstream=(boolean)true, packetsize=(int)188, streamheader=(buffer)<
47400030a600ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000b00d0001c100000001e020a2c32941,
474020308b00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0002b0280001c10000e040f00c050448444d5688040ffffcfc1be040f00a050848444d56ff1b443ffba2e249
>
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal, width=(int)1280,
height=(int)720
/GstPipeline:pipeline0/GstQueue2:queue21.GstPad:sink: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal, width=(int)1280,
height=(int)720
/GstPipeline:pipeline0/GstQueue2:queue21.GstPad:src: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal, width=(int)1280,
height=(int)720
/GstPipeline:pipeline0/MpegTsMux:m.GstPad:sink_64: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal, width=(int)1280,
height=(int)720
Got EOS from element "pipeline0".
Execution ended after 2795832403 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/MpegTsMux:m.GstPad:sink_64: caps = NULL
/GstPipeline:pipeline0/MpegTsMux:m.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue2:queue21.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue2:queue21.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstQueue2:queue20.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue2:queue20.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstAc3Parse:ac3parse0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstAc3Parse:ac3parse0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstMpegTSDemux:d.GstPad:audio_0643: caps = NULL
/GstPipeline:pipeline0/GstMpegTSDemux:d.GstPad:audio_0642: caps = NULL
/GstPipeline:pipeline0/GstMpegTSDemux:d.GstPad:video_0641: caps = NULL
/GstPipeline:pipeline0/GstMpegTSDemux:d.GstPad:audio_0646: caps = NULL
/GstPipeline:pipeline0/GstMpegTSDemux:d.GstPad:private_010e: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...


however, the result still has no audio stream:
$ mediainfo test_video.ts
General
ID                               : 1 (0x1)
Complete name                    : test_video.ts
Format                           : MPEG-TS
Format/Info                      : Advanced Video Codec
File size                        : 173 MiB
Duration                         : 3mn 1s
Overall bit rate                 : 8 018 Kbps

Video
ID                               : 64 (0x40)
Menu ID                          : 1 (0x1)
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High at L4.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 5 frames
Codec ID                         : 27
Duration                         : 3mn 0s
Bit rate mode                    : Variable
Bit rate                         : 7 622 Kbps
Maximum bit rate                 : 7 500 Kbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16:9
Frame rate                       : 50.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.165
Stream size                      : 164 MiB (95%)
Color primaries                  : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE
RP177
Transfer characteristics         : BT.709-5, BT.1361
Matrix coefficients              : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE
RP177

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list