我使用以下管道在屏幕上播放我的视频
gst-launch-1.0 filesrc location=01_189_libxvid_1920x1080_6M.mp4 !
qtdemux ! mpeg4videoparse ! omxmpeg4videodec ! videobalance brightness=100 !
video/x-raw,format=BGRA ! waylandsink --gst-debug=*:2但现在,我不想直接播放,而是想对其进行编码,并将其保存在某个文件夹中。请给出建议
发布于 2019-07-25 19:58:39
应该是这样的(以h264编解码器为例):
gst-launch-1.0 -e --gst-debug=3 \
filesrc location="/path/input/sample_in.mp4" \
! qtdemux \
! mpeg4videoparse \
! omxmpeg4videodec \
! queue \
! x264enc \
! qtmux \
! filesink location="/path/output/sample_out.mp4"https://stackoverflow.com/questions/57160194
复制相似问题