• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Recording Post Processing not working

     
    • 0 Vote(s) - 0 Average

    Recording Post Processing not working

    Recording Post Processing not working
    hmp500
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Sep
    Reputation: 0
    Country:Mexico
    #1
    2025-09-04, 11:59 PM (This post was last modified: 6 hours ago by hmp500. Edited 3 times in total.)
    Hi 

    I am trying to execute this batch file in Jellyfin server (Windows 11 Pro) as a recording post processing but i does not get executed as i can't seem to have the converted file...

    When I check the log files what I can read is that the batch file execution return error code 2:

    [2025-09-03 17:00:06.102 -06:00] [INF] [103] Jellyfin.LiveTv.Recordings.RecordingsManager: Running recording post processor "D:\ipTV Recordings\DVR-Convert.bat" "D:\ipTV Recordings\The Repair Shop\The Repair Shop 2025_09_03_16_00_00.ts"
    [2025-09-03 17:00:06.103 -06:00] [INF] [77] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Colombiana", Path: "D:\ipTV Recordings\Colombiana", Id: f4a90004-6267-9925-b526-02981232210e
    [2025-09-03 17:00:06.116 -06:00] [INF] [77] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"D:\ipTV Recordings\The Repair Shop\The Repair Shop 2025_09_03_16_00_00.ts\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
    [2025-09-03 17:00:07.438 -06:00] [INF] [85] Jellyfin.LiveTv.Recordings.RecordingsManager: Recording post-processing script completed with exit code -2

    Same happened to other 3 files I recorded...

    Here is the batch file I am executing:
    set WORKDIR=%~d1%~p1
    set STARTDIR=%CD%

    %~d1
    cd %WORKDIR%

    "C:\Users\hmp50\AppData\Local\Programs\FFmpeg\bin\ffmpeg.exe" -i "%~nx1" -c:v libx264 -vf yadif=parity=auto -crf 15 -preset medium -max_muxing_queue_size 1024 -c:a aac -map 0:0 -map 0:1 -async 1  "%~n1.mkv"

    :: del "%~nx1"

    the recordings folder is in my D Drive..., I have read that there arre issues with permissions, I did check and assigned everyone full control access to all directories...

    Any help or ideas what may be happening ?

    I mus say that if I execute the batch outside Jellyfin it does what it is meat to be: changing the *.ts file to a mp4 file (I am am doing this as I can get the subtitles/captions from those recordings to show the I open the files for the Recordings section in Jellyfin...

    Thanks in advance.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Recording Post Processing not working - by hmp500 - 2025-09-04, 11:59 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode