'How can I split audio file into two using ffmpeg?
The ffmpeg docs mentions that you can use the | to specify the timesteps to split the file. This command returns an error? Am I misusing it?
Command:
ffmpeg -i input.wav -f segment=timestamps="60|150" -c copy output%03d.wav
>>> Requested output format 'segment=timestamps=60|150' is not a suitable output format
./tmp/test_split%03d.wav: Invalid argument
ffmpeg -i input.wav -f segment timestamps="60|150" -c copy output%03d.wav
>>> Output file #0 does not contain any stream
What is the correct way to use the |?
Solution 1:[1]
You probably checked the wrong php.ini there are 2 one for use with Apache and the other for use with the PHP CLI.
First, upgrade to WAMPServer 3.2.7 See The WAMPServer backup repo for that or go to SourceForge if you like. It is always good to keep up to date, the WAMPServer update will not effect the versions of APache/PHP/MySQL/mariaDB etc etc that you have currently got installed and configured
Now all you have to do to activate sodium within the Apache environment is use the wampmanager menus like this
- Left click the wampmanager icon in the system area
- check the
sodiumextension, if it does not have a green tick beside it, click the wordsodiumand that will cause the correctphp.inito be amended and Apache will be restarted automatically.
You should now have the sodium extension loaded.
You can check this by clicking localhost in the menu and then you check the loaded extensions to see if sodium is now listed.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | RiggsFolly |

