Download & Extend

Use of libmp3lame as audio format for ffmpeg

Project:FlashVideo
Version:6.x-1.5-rc2
Component:Code
Category:bug report
Priority:minor
Assigned:attheshow
Status:closed (fixed)

Issue Summary

Line 1046 of source code doesn't work for me

if (strpos($format, 'EA   libmp3lame') !== FALSE) {

I try to execute ffmpeg.exe -formats and the output for the above line is this:

EA    libmp3lame

There are 4 space char between EA and libmp3lame, instead of 3.

For this reason libmp3lame for me is never used.

I used this :

if (strpos($format, 'libmp3lame') !== FALSE) {

But maybe this it's safer
if (preg_match("/EA\s+libmp3lame/mi", $format)

Comments

#1

Sorry, this code is better, I forgot a parenthesis in the previous one

if (preg_match("/EA\s+libmp3lame/mi", $format))  {

#2

Assigned to:Anonymous» attheshow
Status:active» fixed

Committed to dev version. Thanks tagliavinid!

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here