This post was updated on .
Hello, i try to save stream to file i use next command:
gst-launch-1.0 souphttpsrc location="http://link" ! tsparse ! filesink location=out.ts , stream saved to file successfully. After that i want to convert this file to mp4 for example i use next command: GST_DEBUG=3 gst-launch-1.0 filesrc location=out.ts ! tsdemux name=decode ! queue ! h264parse ! decodebin ! videoconvert ! x264enc ! queue ! mp4mux name=mux ! filesink location=out.mp4 decode. ! queue ! aacparse ! decodebin ! audioconvert ! queue ! faac ! queue ! mux. but conversion failed logs: 0:00:00.016017828 2629 0xffc690 WARN basesrc gstbasesrc.c:3488:gst_base_src_start_complete:<filesrc0> pad not activated yet Pipeline is PREROLLING ... 0:00:00.018340278 2629 0xfecde0 WARN mpegtsbase mpegtsbase.c:1329:mpegts_base_scan:<decode> Couldn't find any PCR within the first 655360 bytes 0:00:00.018488638 2629 0xfecde0 WARN mpegtsbase mpegtsbase.c:1388:mpegts_base_loop:<decode> error: Internal data stream error. 0:00:00.018498493 2629 0xfecde0 WARN mpegtsbase mpegtsbase.c:1388:mpegts_base_loop:<decode> error: stream stopped, reason error ERROR: from element /GstPipeline:pipeline0/GstTSDemux:decode: Internal data stream error. Additional debug info: mpegtsbase.c(1388): mpegts_base_loop (): /GstPipeline:pipeline0/GstTSDemux:decode: stream stopped, reason error ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Also for this file i try to convert via avconv commands looks like: avconv -i out.ts -c:v libx264 -c:a copy out.mp4 and after processing receive normally playable file. File you can find in attachment. Note: file you can play only if enable Avformat demuxer in vlc demuxer properties. out.ts |
Hi,
Please file a bug report (with explanation and attach file) here : ht tps://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer Thanks, Edward On Fri, 2016-07-15 at 07:37 -0700, Topilski wrote: > Hello, i try to save stream to file i use next command: > gst-launch-1.0 souphttpsrc location="http://link" ! tsparse ! > filesink > location=out.ts , stream saved to file successfully. > After that i want to convert this file to flv for example i use next > command: > GST_DEBUG=3 gst-launch-1.0 filesrc location=out.ts ! tsdemux > name=decode ! > queue ! h264parse ! decodebin ! videoconvert ! x264enc ! queue ! > mp4mux > name=mux ! filesink location=out.mp4 decode. ! queue ! aacparse ! > decodebin > ! audioconvert ! queue ! faac ! queue ! mux. > > but conversion failed logs: > 0:00:00.016017828 2629 0xffc690 WARN basesrc > gstbasesrc.c:3488:gst_base_src_start_complete:<filesrc0> pad not > activated > yet > Pipeline is PREROLLING ... > 0:00:00.018340278 2629 0xfecde0 WARN mpegtsbase > mpegtsbase.c:1329:mpegts_base_scan:<decode> Couldn't find any PCR > within the > first 655360 bytes > 0:00:00.018488638 2629 0xfecde0 WARN mpegtsbase > mpegtsbase.c:1388:mpegts_base_loop:<decode> error: Internal data > stream > error. > 0:00:00.018498493 2629 0xfecde0 WARN mpegtsbase > mpegtsbase.c:1388:mpegts_base_loop:<decode> error: stream stopped, > reason > error > ERROR: from element /GstPipeline:pipeline0/GstTSDemux:decode: > Internal data > stream error. > Additional debug info: > mpegtsbase.c(1388): mpegts_base_loop (): > /GstPipeline:pipeline0/GstTSDemux:decode: > stream stopped, reason error > ERROR: pipeline doesn't want to preroll. > Setting pipeline to NULL ... > > Also for tis file try to convert via avconv commands looks like: > avconv -i out.ts -c:v libx264 -c:a copy out.mp4 and after processing > receive > normally playable file. > > File you can find in attachment. Note: file you can play only if > enable > Avformat demuxer in vlc demuxer properties. > out.ts <http://gstreamer-devel.966125.n4.nabble.com/file/n4678696/out > .ts> > > > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble > .com/Avformat-demuxer-tp4678696.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (836 bytes) Download Attachment |
Free forum by Nabble | Edit this page |