plugorgau / bbb-render

Scripts to convert a BigBlueButton recording into a single video file
MIT License
64 stars 26 forks source link

mp4 error #10

Open SimonSoftware opened 3 years ago

SimonSoftware commented 3 years ago

With ges-launch-1.0 --load presentation.xges -o presentation.mp4

I have this error:

Loading project from : presentation.xges ERROR from element internal-encodebin: Couldn't create encoder for format video/x-h264, profile=(string)high Debugging info: gstencodebin.c(1171): _post_missing_plugin_message (): /GESPipeline:gespipeline0/GstEncodeBin:internal-encodebin

No error on webm format.

jhenstridge commented 3 years ago

You're probably missing the required GStreamer elements. On Ubuntu, installing gstreamer1.0-libav is probably enough.

SimonSoftware commented 3 years ago

The first error was gone installing libav

Now the error is: Loading project from : presentation.xges ERROR from element imagefreeze25: Internal data stream error. Debugging info: gstimagefreeze.c(924): gst_image_freeze_src_loop (): /GESPipeline:gespipeline0/GESTimeline:gestimeline0/GESVideoTrack:gesvideotrack0/NleComposition:video_nlecomposition0/GstBin:current-bin/NleSource:GESImageSource:nlesource30/GstBin:videosrcbin/GstBin:still-image-bin/GstImageFreeze:imagefreeze25: streaming stopped, reason not-negotiated (-4)

Some other package to install? Paolo

jhenstridge commented 3 years ago

I've got the gstreamer1.0-plugins-{good,bad,ugly} plugin sets installed, plus gstreamer1.0-vaapi (although I've been able to encode videos on a system that doesn't provide VA-API encoders).

It's hard to provide any more specific suggestions without knowing what distro you are running.

aguerson commented 3 years ago

Hi guy,

Same case

cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"

apt-get install gstreamer1.0-libav python3-gi gir1.2-ges-1.0 ges1.0-tools python3-intervaltree

ges-launch-1.0 --load compiled/presentation.xges -o mp4/presentation.mp4 Loading project from : compiled/presentation.xges ERROR from element internal-encodebin: Couldn't create encoder for format audio/mpeg, mpegversion=(int)4, base-profile=(string)lc Debugging info: gstencodebin.c(1171): _post_missing_plugin_message (): /GESPipeline:gespipeline0/GstEncodeBin:internal-encodebin

aguerson commented 3 years ago

apt-get install gstreamer1.0-plugins-*

it seems to solve it !

it is running now... waiting the end...

aguerson commented 3 years ago

Done !