ffmpeg._run.Error: ffprobe error

See original GitHub issue

While trying to run the program in Arch Linux 64 bit I see this error :

INFO:subsync.subsync:computing alignments...
INFO:subsync.speech_transformers:extracting speech segments from subtitles...
Traceback (most recent call last):
  File "/home/nirjhor/.local/bin/subsync", line 11, in <module>
    load_entry_point('subsync==0.2.10', 'console_scripts', 'subsync')()
  File "/home/nirjhor/.local/lib/python3.7/site-packages/subsync/subsync.py", line 74, in main
    reference_pipe.fit_transform(args.reference)
  File "/home/nirjhor/.local/lib/python3.7/site-packages/sklearn/pipeline.py", line 393, in fit_transform
    return last_step.fit_transform(Xt, y, **fit_params)
  File "/home/nirjhor/.local/lib/python3.7/site-packages/sklearn/base.py", line 553, in fit_transform
    return self.fit(X, **fit_params).transform(X)
  File "/home/nirjhor/.local/lib/python3.7/site-packages/subsync/speech_transformers.py", line 54, in fit
    total_duration = float(ffmpeg.probe(fname)['format']['duration']) - self.start_seconds
  File "/home/nirjhor/.local/lib/python3.7/site-packages/ffmpeg/_probe.py", line 23, in probe
    raise Error('ffprobe', out, err)
ffmpeg._run.Error: ffprobe error (see stderr output for detail)

What I tried:

  • Installing as user in pip

  • reinstalling subsync

  • tried with --encoding utf-8 & utf-16

What I expect to happen:

The program should run

What happens:

I see the above-mentioned error

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
fakeid30commented, Oct 7, 2019

I can indeed confirm that installing “python-scikit-learn” has solved my issue. Thanks @RealEnder

0reactions
LanGuipengcommented, Sep 26, 2020

when I run python swap.py fsgan/docs/examples/shinzo_abe.mp4 -t fsgan/docs/examples/conan_obrien.mp4 -o . An error is thrown: ffmpeg._run.Error: ffprobe error (see stderr output for detail). so how can I solve the problem? thx!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ffmpeg._run.Error: ffprobe error (see stderr output for detail) ...
BTW, when I run the swap.py, it shows me an error 'ffmpeg._run.Error: ffprobe error (see stderr output for detail)', anybody knows how to...
Read more >
FFmpeg Not Working Properly : Forums
It looks like it's failing on this call ffmpeg.output(audio_stream, video_stream, 'outvideo.mp4').run() -- maybe wrap this with try except ...
Read more >
Python - why do I get this ffprobe error?
mp3 file into a . wav file I am using ffmpeg library. I have installed both ffmpeg and ffprobe libraryies using pip and...
Read more >
Python ffmpeg.Error() Examples
This page shows Python examples of ffmpeg.Error.
Read more >
Ffprobe Error - General/Windows - Emby Community
Please note that when you do any remote execution experiments with ffmpeg/ffprobe, you'd also need to run ffdetect remotely to make sure it ......
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