Skip to content

Instantly share code, notes, and snippets.

@cerisier
Last active December 20, 2022 20:52
Show Gist options
  • Save cerisier/6c3a1d804ea49142e224 to your computer and use it in GitHub Desktop.
Save cerisier/6c3a1d804ea49142e224 to your computer and use it in GitHub Desktop.
List iTunes podcast chapters to csv output
# ffprobe -v error -select_streams a:0 -show_chapters -of csv=print_section=1 ABGT160_847378.m4a

Example output:

chapter,0,1/600,0,0.000000,18523,30.871667,Group Therapy Intro - ABGT160
chapter,1,1/600,18523,30.871667,146505,244.175000,1. Arty ‘Kate’ [2015 Remix] (Anjunabeats)
chapter,2,1/600,146505,244.175000,262290,437.150000,2. Flashtech ’Shattered Dreams’ (Silk)
chapter,3,1/600,262290,437.150000,444517,740.861667,3. Bruce Gibson ‘Kristine’ [Adrian Alexander Remix] (Elliptical Sun)
chapter,4,1/600,444517,740.861667,612232,1020.386667,4. Jaytech ‘Great Divide’ (Anjunabeats) - Record Of The Week
chapter,5,1/600,612232,1020.386667,794790,1324.650000,5. Wayfinder ‘Manatee’ (Positronic)
chapter,6,1/600,794790,1324.650000,947810,1579.683333,6. Boom Jinx & Fatum feat. Katrine Stenbekk ‘Coming Home’ [Harryson Remix] (Anjunabeats)
chapter,7,1/600,947810,1579.683333,1109812,1849.686667,7. Kyau & Albert ‘Bend Girl’ (Anjunabeats)
chapter,8,1/600,1109812,1849.686667,1265065,2108.441667,8. Genix ‘Gone’ (Armada)
chapter,9,1/600,1265065,2108.441667,1463072,2438.453333,9. Myon & Shane 54 with Amy Pearson ‘Hurricane’ [Myon & Shane 54 Classic Mix] (Ride)
chapter,10,1/600,1463072,2438.453333,1597327,2662.211667,10. Jaytech ‘Flight of the Navigator’ (Positronic)
chapter,11,1/600,1597327,2662.211667,1734775,2891.291667,11. Cirez D ‘Voided’ (Pryda)
chapter,12,1/600,1734775,2891.291667,1846440,3077.400000,12. Honor ’Never Off’ [Hot Since 82 Remix] (Spaceship)
chapter,13,1/600,1846440,3077.400000,2054497,3424.161667,"13. Shingo Nakamura & Stendahl ‘Tribute, Chapter II’ [Terry Da Libra Remix] (Silk)"
chapter,14,1/600,2054497,3424.161667,2162197,3603.661667,14. Thomas Schwartz & Fausto Fanizza ‘Circles’ (Anjunabeats)
chapter,15,1/600,2162197,3603.661667,2353567,3922.611667,15. Above & Beyond feat. Zoë Johnston ‘Treasure’ [Kyau & Albert Remix] (Anjunabeats) - Push The Button
chapter,16,1/600,2353567,3922.611667,2523255,4205.425000,16. Duan Giventi ‘Perpetual Motion’ (Enhanced Progressive)
chapter,17,1/600,2523255,4205.425000,2649245,4415.408333,17. Notaker ‘Feel The Rain’ [Club Mix] (ZeroThree)
chapter,18,1/600,2649245,4415.408333,2830511,4717.518333,18. eleven.five ‘Thank You’ (Silk Music)
chapter,19,1/600,2830511,4717.518333,2968744,4947.906667,19. Philthy Chit & Trilucid ‘Harmony’ (Perfecto Black)
chapter,20,1/600,2968744,4947.906667,3200840,5334.733333,20. Arty ‘Around The World’ (Anjunabeats) - Flashback
chapter,21,1/600,3200840,5334.733333,3227323,5378.871667,21. Matt Lange ‘Ephemera’ (Mau5trap) - Guest Mix
chapter,22,1/600,3227323,5378.871667,3416681,5694.468333,22. Matt Lange ‘QVCAMX’ (White) - Guest Mix
chapter,23,1/600,3416681,5694.468333,3536055,5893.425000,23. Matt Lange ‘Selfless’ (White) - Guest Mix
chapter,24,1/600,3536055,5893.425000,3738820,6231.366667,24. Matt Lange 'My Love Aside’ (Mau5trap) - Guest Mix
chapter,25,1/600,3738820,6231.366667,3969170,6615.283333,25. Matt Lange 'Basimilus 3’ (White) - Guest Mix
chapter,26,1/600,3969170,6615.283333,4133385,6888.975000,26. Matt Lange ‘Hyperwarp' (Mau5trap) - Guest Mix
chapter,27,1/600,4133385,6888.975000,4320040,7200.066667,27. Nine Inch Nails ‘Discipline' [Matt Lange Remix] (White) - Guest Mix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment