Hi, I know that I could use a pipeline that decodes audio, converts it into something I need, but I'm curious if there is a way to do it without decodeing/encoding._______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Do, 2016-05-05 at 20:33 +0300, Alex Bolotin wrote:
> Hi, > > I know that I could use a pipeline that decodes audio, converts it > into something I need, but I'm curious if there is a way to do it > without decodeing/encoding. You can't convert MP3 to AAC or the other way around without reencoding. The formats are too different. > I wonder if gstreamer can do smth like ffmpeg is capable of - ffmpeg > -i 1.ts -c copy -bsf:a aac_adtstoasc -y output.mp4 That ffmpeg command is not converting MP3 to AAC without reencoding. What it does is to convert MPEG2/4 ADTS AAC to raw MPEG4 AAC with the configuration box required by MP4. In GStreamer, the aacparse element would do that. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Is there any parameter I have to set? Cause today I've tried some ways I knew. But with no luck. Thx, On May 5, 2016 11:29 PM, "Sebastian Dröge" <[hidden email]> wrote:
On Do, 2016-05-05 at 20:33 +0300, Alex Bolotin wrote: _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Do, 2016-05-05 at 23:52 +0300, Alex Bolotin wrote:
> Is there any parameter I have to set? Cause today I've tried some > ways I knew. But with no luck. How did it fail and what did you exactly do? Also what's the input file you're using, can you share (part of) it? -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Oh, sorry. Of course, there is a little sample. alexb@alexb-VirtualBox:~/Workspace/test3213$ gst-launch-1.0 filesrc location=1.ts ! tsdemux name=demux ! aacparse ! mp4mux name=mux ! filesink location=5.ts Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstTSDemux:demux: Internal data stream error. Additional debug info: mpegtsbase.c(1347): mpegts_base_loop (): /GstPipeline:pipeline0/GstTSDemux:demux: stream stopped, reason not-linked ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... How should I modify it? Thx, AlexB 2016-05-06 10:03 GMT+03:00 Sebastian Dröge <[hidden email]>: On Do, 2016-05-05 at 23:52 +0300, Alex Bolotin wrote: _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Fr, 2016-05-06 at 13:47 +0300, Alex Bolotin wrote:
> Oh, sorry. Of course, there is a little sample. > > alexb@alexb-VirtualBox:~/Workspace/test3213$ gst-launch-1.0 filesrc > location=1.ts ! tsdemux name=demux ! aacparse ! mp4mux name=mux ! > filesink location=5.ts > Setting pipeline to PAUSED ... > Pipeline is PREROLLING ... > ERROR: from element /GstPipeline:pipeline0/GstTSDemux:demux: Internal > data stream error. > Additional debug info: > mpegtsbase.c(1347): mpegts_base_loop (): > /GstPipeline:pipeline0/GstTSDemux:demux: > stream stopped, reason not-linked > ERROR: pipeline doesn't want to preroll. > Setting pipeline to NULL ... > Freeing pipeline ... > > How should I modify it? helpful. Either tsdemux is not actually linked to aacparse here, or the linking to mp4mux does not work. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
2016-05-06 14:08 GMT+03:00 Sebastian Dröge <[hidden email]>: On Fr, 2016-05-06 at 13:47 +0300, Alex Bolotin wrote: _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Fr, 2016-05-06 at 14:38 +0300, Alex Bolotin wrote:
> Here goes the sample. > > https://drive.google.com/file/d/0B6XqOGqjWyjcSHJtam1vMl9DS1U/view?usp > =sharing Right, aacparse currently can convert MPEG 4 ADTS AAC to raw MPEG 4 AAC, but not MPEG 2 ADTS AAC. That's a missing feature. Can you file a bug about that here? https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer Thanks! -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Here it is -
https://bugzilla.gnome.org/show_bug.cgi?id=766065 Thx for you time. 2016-05-06 14:48 GMT+03:00 Sebastian Dröge <[hidden email]>: On Fr, 2016-05-06 at 14:38 +0300, Alex Bolotin wrote: _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |