Giter Site home page Giter Site logo

Comments (4)

madiele avatar madiele commented on June 19, 2024 2

I had experimented with that and I know I had problems so I dropped it as an idea, but can't remember the real reason but I think seeking was one of them, when I have a bit of time I might try again.

Anyway if this article is correct I can also just do multiple ffmpeg commands in sequence and the client should not notice, due to how MPEG works, I will do some research and report back.
http://www.mp3-tech.org/programmer/frame_header.html

edit for my own documentation:
also I could try to use the -map_metadata -1 ffmpeg option to skip the ID3 metadata

if I ever want to edit ID3 data (es: add timestamps directly in the mp3) this might be interesting, chapters are an id3v2 feature, id3v2 max size is 16 MB
https://docs.rs/id3/latest/id3/index.html

from vod2pod-rss.

kzshantonu avatar kzshantonu commented on June 19, 2024

PS: love the project

from vod2pod-rss.

madiele avatar madiele commented on June 19, 2024

Hi and thanks for enjoying the project!
This is a natural feature to add but due to how I'm using yt-dlp only to get the stream URL and then transcode with ffmpeg on my own with it adding the flag will not work.

The 2 options are:

  1. use the sponsorblock API to add named blocks timestamp to the description (some podcast clients allow for skipping based on chapters names).
  2. Actually tell ffmpeg to cut around the transcoded stream, I still haven't researched it but my guess is that something can be done.

I think I will add the timestamp first and when that is done use the same logic for the the actual stitching of the stream.

If someone comes across this issue feel free to drop any knowledge they have in a possible solution using ffmpeg

from vod2pod-rss.

kzshantonu avatar kzshantonu commented on June 19, 2024

Hmm. I'm not very technical, but yt-dlp does allow outputting to stdout using -o -. ffmpeg could then take that from stdin and do what it needs to do.

Edit: not sure how seeking would work though

from vod2pod-rss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.