fix typo; closes #404
This commit is contained in:
parent
ef0ece8e61
commit
07d1732300
1 changed files with 2 additions and 2 deletions
|
|
@ -178,8 +178,8 @@ $video = $ffmpeg->open( 'video.mp4' );
|
||||||
// Set an audio format
|
// Set an audio format
|
||||||
$audio_format = new FFMpeg\Format\Audio\Mp3();
|
$audio_format = new FFMpeg\Format\Audio\Mp3();
|
||||||
|
|
||||||
// Extract the audio into a new file
|
// Extract the audio into a new file as mp3
|
||||||
$video->save('audio.mp3');
|
$video->save($audio_format, 'audio.mp3');
|
||||||
|
|
||||||
// Set the audio file
|
// Set the audio file
|
||||||
$audio = $ffmpeg->open( 'audio.mp3' );
|
$audio = $ffmpeg->open( 'audio.mp3' );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue