These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Mint 17: ffmpeg error after update to 2.96

user-908

Ok PPA update to 2.96 painless as ever.....so decided to download a latest episode and got this warning, turns out I didn't have ffmpeg

WARNING: Required ffmpeg utility not found - not converting .ts file

odd so I installed ffmpeg...found ppa source on Mint forum...

try again...hooray no error.....but....I got this instead

INFO: Begin converting file: /home/geoff/Full_Steam_Ahead_-_5._Episode_5_b07pkfg5_original.partial.mp4.ts
[mp4 @ 0x8ef1040] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1800 >= NOPTS
av_interleaved_write_frame(): Invalid argument
frame=    3 fps=0.0 q=-1.0 Lsize=      93kB time=00:00:00.02 bitrate=37978.3kbitINFO: Command exit code 1 (raw code = 256)
WARNING: Conversion failed - retaining /home/geoff/Full_Steam_Ahead_-_5._Episode_5_b07pkfg5_original.partial.mp4.ts

Hm!! I did have some problems a couple of days ago with the first 4 episodes as if it was recording millisecond gaps during the download, I simply put this down to some sort of connection issue.

user-2

Those 2.96 release notes aren't going to read themselves...

user-908

Ok...I've slapped wrist and read notes.....found ffmpeg under usr/share/ffmpeg so just changed release note to the following;

get_iplayer --prefs-add --ffmpeg=/usr/share/ffmpeg
INFO: Added option 'ffmpeg' = '/usr/share/ffmpeg'
INFO: Options file /home/geoff/.get_iplayer/options updated


tried the download again using --force and got this;

INFO: Begin converting file: /home/geoff/Full_Steam_Ahead_-_5._Episode_5_b07pkfg5_original.partial.mp4.ts

open3: exec of /usr/share/ffmpeg -y -loglevel error -stats -i /home/geoff/Full_Steam_Ahead_-_5._Episode_5_b07pkfg5_original.partial.mp4.ts -vcodec copy -acodec copy -absf aac_adtstoasc /home/geoff/Full_Steam_Ahead_-_5._Episode_5_b07pkfg5_original.partial.mp4 failed at /usr/bin/get-iplayer line 2705.

user-2


  1. /usr/share/ffmpeg had better be a directory - not a program binary - or something strange is going on. That's why you can't run it.
  2. Completely get rid of whatever ffmpeg you installed - you've already established it isn't suitable - and follow the instructions in the release notes to install a working version.

user-908

(22-08-2016, 05:31 PM)
  1. /usr/share/ffmpeg had better be a directory - not a program binary - or something strange is going on. That's why you can't run it.
  2. Completely get rid of whatever ffmpeg you installed - you've already established it isn't suitable - and follow the instructions in the release notes to install a working version.

That's definitely the directory....removed that and tried a more recent ppa and that used a different directory....but same problem.
So following the release notes it works....because I have get iplayer as a ppa and it auto updates I never think to check release notes.

Thank you.

user-2

get_iplayer and ffmpeg are too volatile for long-term support distro releases. That's why there is a get_iplayer PPA in the first place. However, I recommend everyone avoid PPA builds of ffmpeg with Mint 17/13. Installing a static build (as instructed in the release notes) has no effect on other packages and can easily be undone. When you upgrade to Mint 18, ffmpeg will be available in default repos and will be pulled in with get_iplayer upgrades.

user-908

Since my last debacle which was down to me installing something that stopped get_iplayer and I ended up reinstalling Mint, it's been totally flawless not had a failure or a single error. The thing was instead of looking on here I immediately started to look for a solution to the ffmpeg error, that's how I ended up installing a ppa.
I even installed this on my W10 box and it worked straight out the tin :)

These forums are archived

See this post for further info