Last active
March 5, 2023 02:45
-
-
Save thepwrtank18/9aac22bd24f91862b2e7ee77b5bce9fc to your computer and use it in GitHub Desktop.
Revisions
-
thepwrtank18 revised this gist
Mar 5, 2023 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,8 @@ If you've ever used Jellyfin or Plex before, you know the pains of the "2 episod 2. Play the original file, and make your way to the part where the first episode ends and the second one begins (usually marked by a black screen). Pause at that point. 3. Go to View -> Jump to time (previous frame) v3. Set the time format to the point where it looks like "456,123", then click "Get time >>". <br> 4. Copy that text, and save it somewhere. 5. Run ffmpeg with the following arguments: `ffmpeg -i "TV.Show.S01E01-02.mkv" -t [time text, replace "," with "."] -c:v copy -c:a copy -c:s copy "TV.Show.S01E01.mkv"` 6. Run ffmpeg again with the following arguments: `ffmpeg -i "TV.Show.S01E01-02.mkv" -ss [time text, replace "," with "."] -c:v copy -c:a copy -c:s copy "TV.Show.S01E02.mkv"` 7. Tada! You have 2 seperate files. Do this for every file you have. (It gets repetitive, but it's worth it). If you see part of the other episode in an episode, try pausing the video at a later/earlier time. -
thepwrtank18 revised this gist
Mar 3, 2023 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,4 +7,6 @@ If you've ever used Jellyfin or Plex before, you know the pains of the "2 episod 4. Copy that text, and save it somewhere. 5. Run ffmpeg with the following arguments: `ffmpeg -i "TV.Show.S01E01-02.mkv" -t [time text, replace "," with "."] [additional args if needed] "TV.Show.S01E01.mkv"` 6. Run ffmpeg again with the following arguments: `ffmpeg -i "TV.Show.S01E01-02.mkv" -ss [time text, replace "," with "."] [additional args if needed] "TV.Show.S01E02.mkv"` 7. Tada! You have 2 seperate files. Do this for every file you have. (It gets repetitive, but it's worth it). If you see part of the other episode in an episode, try pausing the video at a later/earlier time. -
thepwrtank18 created this gist
Mar 3, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ # Splitting files with ffmpeg and VLC If you've ever used Jellyfin or Plex before, you know the pains of the "2 episodes per file" files. In this tutorial, I will show you how to split the episodes into 2 files. 1. Install this addon for VLC: https://addons.videolan.org/p/1154013 2. Play the original file, and make your way to the part where the first episode ends and the second one begins (usually marked by a black screen). Pause at that point. 3. Go to View -> Jump to time (previous frame) v3. Set the time format to the point where it looks like "456,123", then click "Get time >>". <br> 4. Copy that text, and save it somewhere. 5. Run ffmpeg with the following arguments: `ffmpeg -i "TV.Show.S01E01-02.mkv" -t [time text, replace "," with "."] [additional args if needed] "TV.Show.S01E01.mkv"` 6. Run ffmpeg again with the following arguments: `ffmpeg -i "TV.Show.S01E01-02.mkv" -ss [time text, replace "," with "."] [additional args if needed] "TV.Show.S01E02.mkv"` 7. Tada! You have 2 seperate files. Do this for every file you have. (It gets repetitive, but it's worth it).