Author Topic: ffmpeg problem  (Read 1626 times)

Offline RoboMello

  • Full Member
  • ***
  • Posts: 105
    • View Profile
ffmpeg problem
« on: July 23, 2015, 10:34:47 PM »
I am trying to add a video to my display, but ffmpeg is not creating the correct 20fps.
Attached you see the report when the conversion is done, the song is 3m07s, but when ffmpeg is done is shows as 4m30s.

Am I doing something wrong here?

Thanks

Offline flyinverted

  • Administrator
  • Hero Member
  • *****
  • Posts: 756
    • View Profile
Re: ffmpeg problem
« Reply #1 on: July 23, 2015, 10:49:57 PM »
From the ffmpeg doc site:

ffmpeg -i input.avi -r 24 output.avi

You transposed the input file name and rate.  Try switching those.

https://ffmpeg.org/ffmpeg.html
Steve Giron
Maricopa County, AZ
xLights user with a boat-load of channels.

Do not ask to know all the answers, but ask to understand the question.

Offline RoboMello

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: ffmpeg problem
« Reply #2 on: July 23, 2015, 11:10:18 PM »
Thanks flyinverted.

I got it, thanks to you.

Offline flyinverted

  • Administrator
  • Hero Member
  • *****
  • Posts: 756
    • View Profile
Re: ffmpeg problem
« Reply #3 on: July 23, 2015, 11:41:58 PM »
Oz never did give nothing to the Tin Man,
that he didn't, didn't already have
Steve Giron
Maricopa County, AZ
xLights user with a boat-load of channels.

Do not ask to know all the answers, but ask to understand the question.