Advertisement
Guest User

Untitled

a guest
Feb 5th, 2025
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. WORKS:
  2. cat output1.txt | while IFS= read -r j
  3. do
  4. ffmpeg -i "${j//%20/ }" -y output.ogg
  5. done
  6.  
  7. DOESN'T WORK:
  8. cat output1.txt | while IFS= read -r j
  9. do
  10. ffmpeg -i "${j//%20/ }" -map 0 -y -codec copy -write_id3v2 1 -metadata "track=TEST" output.mp3
  11. done
  12.  
  13. example of line:
  14. file:///home/xue/Music/FOLDER/The%20Folder%20Name/FILENAME.mp3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement