Skip to content

[encode] EDL support: just send the current fragment to FFMPEG #91

@vincent-peugnet

Description

@vincent-peugnet

Hi !
Thanks for the super usefull encode script ! ❤️

I'm using it mostly to capture clips from movie I have in Jellyfin. It works nicely, but I've a issue when using the CLI client jfsh as it sends EDL (edl://) formated stream to MPV.

This issue seems to be related to #31 , which is closed with this:

clipping should work, unfortunately stream support is moderately buggy at the moment, see #32

But in my case, the encode script doesn't seems to send to FFMPEG just the segment but the full EDL URL:

[   8.466][i][encode] ffmpeg -ss 00:04.000 -i 'edl://%84%https://jellyfin.club1.fr/videos/127ac3264ae6ff99c33b9bfce1f0b160/stream?static=true' -to 3.3538333333333 -map 0 -map -0 -map 0:v:0? -map 0:a:0? -sn -dn -ac 1 -map_metadata -1 -c:v libx264 -preset slow -crf 18 -b:a 160k '/home/vincent/videos/carnet/3.mkv'

I've also created an issue on JFSH: hacel/jfsh#7 to gather feedback.

Also, my MPV version is a bit old, I don't know if that matter.

MPV version:

$ mpv --version
mpv 0.34.1 Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
FFmpeg library versions:
   libavutil       56.70.100
   libavcodec      58.134.100
   libavformat     58.76.100
   libswscale      5.9.100
   libavfilter     7.110.100
   libswresample   3.9.100
FFmpeg version: 4.4.2-0ubuntu0.22.04.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions