question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error trying to gracefully stop ffmpeg, destroying forcibly

See original GitHub issue

Description


I’m trying to record a meeting with jibri but the output mp4 file is corrupted:

~$ vlc 123_2020-03-20-16-12-05.mp4 
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[0000560d743025b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f7470c6da80] moov atom not found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f7400c11d00] moov atom not found
[00007f7400001180] avformat demux error: Could not open /home/pinco/123_2020-03-20-16-12-05.mp4: Unknown error 1094995529
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu

I think that the issue is related to this log:

2020-03-20 16:46:55.751 SEVERE: [87] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() Error trying to gracefully stop ffmpeg, destroying forcibly

The mp4 file is truncated, so for the player is corrupted.

Current behavior


The mp4 output file is corrupted. No error in /var/log/jitsi/jibri/ffmpeg* files

Expected Behavior


Possible Solution


Steps to reproduce


  1. Start a meeting.
  2. Click on “Start Recording”
  3. wait a while
  4. Click on “Stop Recording” No errors on the script but file corrupted

Environment details


Ubuntu 18.04.4 LTS jibri 8.0-14-g0ccc3f6-1 ffmpeg 7:3.4.6-0ubuntu0.18.04.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
gianoglicommented, Mar 20, 2020

I already tried. With java 8 all is working as expected! Thanks!!!

0reactions
gianoglicommented, Mar 20, 2020

You are right, I’m using java 11… I’ll try to install java 8 in the next hours… Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error trying to gracefully stop ffmpeg, destroying forcibly
It appears Jibri has trouble stopping the ffmpeg process gracefully. System running Jibri is Ubuntu 18.04.4, ffmpeg is current from repositories ...
Read more >
How to stop ffmpeg that runs through java process
To inject the 'q' key into the running process, you can do something like this: OutputStream ostream = p.getOutputStream(); //Get the output ...
Read more >
10f2f7ef82c17aa4207406d912c... - Amazon AWS
JibriSubprocess.ffmpeg.stop() Error trying to gracefully stop ffmpeg, destroying forcibly 2020-12-04 14:18:45.816 INFO: [43] org.jitsi.jibri.util.
Read more >
Tagged versions and Changelog - Janus WebRTC Server
There are different tagged versions on the Janus repository. We usually tag a new version any time a breaking change and/or a set...
Read more >
5.4 Technical Notes Red Hat Enterprise Linux 5
attempting to connect to a Postgresql database using identd authentication resulted in error messages similar to the following in Postgresql's pg_log, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found