Skip to content

Binary Coders

Blog about computer science and computer engineering

Follow Binary Coders on WordPress.com

Categories

  • artificial-intelligence (4)
  • big-data (1)
  • blog-info (1)
  • cloud-computing (5)
  • code-snippet (12)
  • design-patterns (5)
  • docker (3)
  • ethical-hacking (9)
  • frameworks (2)
  • java (12)
  • javaee (6)
  • machine-learning (13)
  • microservices (2)
  • news (2)
  • nosql (1)
  • notes (3)
  • opinion (1)
  • owasp (1)
  • python (2)
  • security-tools (3)
  • servers (2)
  • short-links (1)
  • Sin categoría (1)
  • software-engineering (9)
  • tools (23)

Feed

  • RSS - Posts
  • RSS - Comments

Labels

AI angular 2 architecture beginning big-data blogging CD CI cloud console containers Continuous delivery Continuous deployment Continuous Integration cracking creational cURL dao data datasource design-patterns dmz docker encryption footprinting git GitHub glassfish GoF Google Code gradle hacking IaaS information intellij java java ee learn linux logs machine-learning marshalling maven microservices MongoDB mysql NoSQL open source PaaS pentest persistence platform port scanner proxy python reinforcement-learning remote repository REST SaaS security security policies servlet snippet spark Spring Boot supervised-learning terminal testing threads tools training typescript unsupervised-learning wildfly swarm

License

Creative Commons Licence
Binary Coders by
This work is licensed under a Creative Commons Attribution 4.0 International License.

Based on the work at
binarycoders.wordpress.com

ffmpeg

ffmpeg – ogg to mp3

20 November, 2019 fjaviermffmpeg, mp3, ogg, snippetLeave a comment

Just a quick snipped to transform files from OGG format to MP3 format in *Unix based systems. Due to the command only accepts one file at a time, it needs a bit of bash shell code to make the trick and transforming all the files in a directory.

find . -type f -iname '*.ogg' -execdir sh -c \
    'ffmpeg -v 8 -i "$1" "${1%.*}.mp3" && rm -- "$1" && echo "$1"' sh {} \;
ffmpeg – ogg to mp3
Blog at WordPress.com.