• úvod
  • témata
  • události
  • tržiště
  • diskuze
  • nástěnka
  • přihlásit
    registrace
    ztracené heslo?
    FROORaspberry Pi - miniaturní počítač za 35$
    KAERO
    KAERO --- ---
    QNEDLEEQ: tak muzes si rikat jaka si stara vykopavka a utesovat se ze bys to nezvlad, ale ono to fakt neni tak komplikovane a navic ti to da i odkazy, kdyz si o to reknes. viz treba muj pokus, pricemz na webu chatgpt to je spravne zformatovane a kazde VLChelp je doopravdy odkaz primo do dokumentace kde to je napsane. Pokud to nefunguje, tak to minimalne usetri hledani spravneho mista v manualu:
    ZADANI:
    show me how to make playlist for vlc with definition of playtime of every video and show me where in documentation is it written
    ODPOVED
    ChatGPT said:
    Here’s how you can make a VLC playlist that defines play-times (start/stop) for each video, plus where the VLC documentation / community sources describe this.

    🔧 How to make a VLC playlist with defined playtime per item

    You can use an M3U playlist with VLC-specific extension tags, or an XSPF file. Here are examples.

    Example using .m3u + VLC extensions
    #EXTM3U

    #EXTINF:3600,Video1 clip (from 0 to 120 sec only)
    #EXTVLCOPT:start-time=0
    #EXTVLCOPT:stop-time=120
    /path/to/video1.mp4

    #EXTINF:500,Video2 clip (from 30 to 200 sec)
    /path/to/video2.mp4
    #EXTVLCOPT:start-time=30
    #EXTVLCOPT:stop-time=200

    #EXTINF:0,Video3 whole
    /path/to/video3.mp4


    #EXTINF: is the standard tag that gives VLC (and other players) the full duration metadata; VLC uses it for display and ordering.

    #EXTVLCOPT:start-time= and #EXTVLCOPT:stop-time= are VLC-specific options in m3u that tell VLC to start and stop each file at given times (in seconds).

    Example using .xspf file


    My Custom Playlist



    file:///path/to/video1.mp4
    3600000

    0
    start-time=0
    stop-time=120




    file:///path/to/video2.mp4
    500000

    1
    start-time=30
    stop-time=200







    In XSPF, is given (often in milliseconds), though VLC may still show full durations rather than adjusted ones for some views.

    The entries allow including VLC’s start/stop times.

    ⚠️ Limitations / Behavior

    Sometimes VLC doesn’t update the "Duration" column in its playlist view to match your start-stop span; it might still show full video length. E.g. there’s a known issue: using #EXTVLCOPT:start-time/stop-time in .m3u playlists, the UI may still display the full duration for that item.
    GitLab

    Also, not all VLC builds/platforms support every VLC-option tag in playlists, especially Android versions etc.
    GitLab

    📚 Where in documentation / community sources it is written

    Here are relevant sources:

    VLC Help (“How to Play Certain Sections and Part of Video and Audio in VLC”) — explains using #EXTVLCOPT:start-time= and #EXTVLCOPT:stop-time= inside an .m3u playlist.
    VLC Help

    Community Q&A/Forums:

    “Does VLC support a playlist format where one can specify start- and end-times?” — this confirms the #EXTVLCOPT:start-time and stop-time tags are what people use.
    Reddit

    The issue “Playlists with #EXTVLCOPT:start/stop-time don’t show duration correctly” — discusses the mismatch between displayed duration vs actual clip length in playlist view.
    GitLab

    The VLC wiki / help pages about Playlist formats and Saving playlists to file (M3U, XSPF, etc.) also discuss that VLC can export playlists and what formats are supported.
    VLC Help
    +2
    Stack Overflow
    +2

    If you want, I can pull up the official Videolan wiki page (if still live) that defines the full set of vlc:option tags (like start-time, stop-time, etc.), so you have the authoritative spec. Do you want that?
    PES
    PES --- ---
    QNEDLEEQ:
    To specify play lengths for items in a VLC playlist, you must create a special M3U playlist file using a plain text editor, adding lines like
    #EXTVLCOPT:start-time=START_SECONDS
    #EXTVLCOPT:stop-time=STOP_SECONDS
    above each video file path. You can also achieve a similar effect by using the --run-time command-line option when starting VLC, which will play each item for a set duration.
    Kliknutím sem můžete změnit nastavení reklam