Flumotion 生成的 GStreamer 管道停止
以下 gstreamer 管道是由 Flumotion 在对文件进行转码时生成的,但它停止了,
我不完全确定为什么,因为我最近才开始开发 gstreamer 应用程序。我猜测这是因为缺乏记忆。该文件很大(1+ Gb),我在只有 2 Gb 的服务器上运行它。
请帮忙。
gst-launch -v filesrc location=vid1.mkv ! decodebin2 name=decoder ! queue ! audiorate ! audioconvert ! legacyresample ! 'audio/x-raw-int, rate=44100, channels=2;audio/x-raw-float, rate=44100, channels=2' ! lame ! mp3parse ! queue ! muxer. decoder. ! queue ! ffmpegcolorspace ! videorate ! videoscale method=1 ! 'video/x-raw-yuv, width=320, height=180, pixel-aspect-ratio=1/1, framerate=25/1;video/x-raw-rgb, width=320, height=180, pixel-aspect-ratio=1/1, framerate=25/1' ! videobox left=0 top=-30 right=0 bottom=-30 ! ffenc_flv bitrate=500000 ! queue ! flvmux name=muxer ! filesink location=vid1.flv
The following gstreamer pipeline was generated by Flumotion while transcoding a file but it stalls
I am not sure entirely why as I only started developing gstreamer application recently. I am guessing that it is because of lack of memory. The file is large (1+ Gb) and I am running this on server with only 2Gb.
Please help.
gst-launch -v filesrc location=vid1.mkv ! decodebin2 name=decoder ! queue ! audiorate ! audioconvert ! legacyresample ! 'audio/x-raw-int, rate=44100, channels=2;audio/x-raw-float, rate=44100, channels=2' ! lame ! mp3parse ! queue ! muxer. decoder. ! queue ! ffmpegcolorspace ! videorate ! videoscale method=1 ! 'video/x-raw-yuv, width=320, height=180, pixel-aspect-ratio=1/1, framerate=25/1;video/x-raw-rgb, width=320, height=180, pixel-aspect-ratio=1/1, framerate=25/1' ! videobox left=0 top=-30 right=0 bottom=-30 ! ffenc_flv bitrate=500000 ! queue ! flvmux name=muxer ! filesink location=vid1.flv
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我确定这不是 gstreamer 问题。当花费太长时间时,FLumotion 似乎会终止该过程。
I determinined that it was not a gstreamer problem. FLumotion seems to be killing the process when it takes too long.