pulse00 / ffmpeg-bundle

Symfony bundle to provide PHP-FFmpeg as a Symfony service
Other
57 stars 29 forks source link

Problem encoding #10

Open 2b3ez opened 8 years ago

2b3ez commented 8 years ago

my config : Symfony 3 FFMpeg 3

In file Audio.php (src/FFMpeg/Media/Audio.php) line 79

$filters->add(new SimpleFilter(array('-acodec', $format->getAudioCodec())));

makes trouble about encoding

I replace this line by :

$filters->add(new SimpleFilter(array('-c:a:1', $format->getAudioCodec())));

and it works like a charm.

Do you know why ?

Thx !