transcoding AC3 to MP3

Rand Graham rand.graham at zenith.com
Fri Jul 24 15:36:19 UTC 2020


Hello,

I have a transport stream that I am trying to transcode the audio from AC3 to MP3.

VLC can playback the AC3 audio but gstreamer cannot transcode. I see the following


env GST_DEBUG=2 gst-launch-1.0 filesrc location="file.ts" ! tsdemux ! ac3parse ! a52dec ! audioconvert lamemp3enc ! filesink location="file.mp3"
Setting pipeline to PAUSED ...
0:00:00.010745418  8782      0x253ba30 WARN                 basesrc gstbasesrc.c:3583:gst_base_src_start_complete:<filesrc0> pad not activated yet
Pipeline is PREROLLING ...
0:00:00.011372296  8782      0x2504800 WARN              mpegtsbase mpegtsbase.c:1557:mpegts_base_scan:<tsdemux0> Couldn't find any PCR within the first 655360 bytes
0:00:00.011556544  8782      0x2504800 WARN                 tsdemux tsdemux.c:1591: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.011898956  8782      0x2504800 WARN        mpegtspacketizer mpegtspacketizer.c:2331:mpegts_packetizer_pts_to_ts: Not enough information to calculate proper timestamp
0:00:00.011923756  8782      0x2504800 WARN        mpegtspacketizer mpegtspacketizer.c:2331:mpegts_packetizer_pts_to_ts: Not enough information to calculate proper timestamp

Does anyone know what the problem is here?


More information about the gstreamer-devel mailing list