Passing through or transcoding MPEG-4 AAC audio - how?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Passing through or transcoding MPEG-4 AAC audio - how?

Graham Leggett
Hi all,

I have a test MPEG transport stream that looks like below.

What I want to do is either

a) pass the MPEG-4 AAC audio through unchanged from tsdemux to mpegtsmux; OR if impossible
b) decode then re-encode the audio stream

When I try to add “aacparse” and “faad” I get the error "failed delayed linking some pad of GstTSDemux named demux to some pad of GstQueue named queue0”, which I am told means “the transport stream does not contain AAC audio”[1].

Can anyone confirm what the right way is to pass through or transcode (anything that works at this point) MPEG-4 AAC audio from tsdemux?

pi@towerofpi9:~$ gst-discoverer-1.0 test.ts
Analyzing file:///home/pi/test.ts
Done discovering file:///home/pi/test.ts

Topology:
  container: MPEG-2 Transport Stream
    subtitles: DVB subtitles
    audio: MPEG-4 AAC
    audio: MPEG-4 AAC
    video: H.264

Properties:
  Duration: 0:00:05.262017111
  Seekable: yes
  Tags:
      language code: en
      audio codec: MPEG-4 AAC
      video codec: H.264

pi@towerofpi9:~$ G_DEBUG="fatal-warnings" LD_LIBRARY_PATH=/usr/local/lib gst-launch-1.0 --gst-debug=1,tdttsparse:5,videotag:1,souphttpclientsink:2,pixelsample:1,omxvideodec:1 filesrc location=test.ts ! tsdemux emit-stats=true name=demux ! queue leaky=downstream max-size-time=5000000000 ! aacparse ! faad ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstTSDemux:demux: Delayed linking failed.
Additional debug info:
./grammar.y(506): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstTSDemux:demux:
failed delayed linking some pad of GstTSDemux named demux to some pad of GstQueue named queue0
^Chandling interrupt.
Interrupt: Stopping pipeline ...
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline …

[1] https://bugzilla.gnome.org/show_bug.cgi?id=773357

Regards,
Graham




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

smime.p7s (4K) Download Attachment