Avformat demuxer

Topilski atopilski at gmail.com
Fri Jul 15 14:37:34 UTC 2016


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.


More information about the gstreamer-devel mailing list