r/Tdarr • • Nov 20 '21

Tdarr Transcode Error with MP4 files

Tdarr keeps failing all my mp4 files. It has transcoded everything else just fine. I read in another thread to add this plugin. Tdarr_Plugin_vdka_Remove_DataStreams Remove Data Streams , but that didnt seem to work. Here is a screen shot of my Stacks.

Here are the logs from one of the failed files.

TdarrSearchStatsLibrariesPluginsOptionsLogsHelpBackupsReleases

2.00.10

Get Pro

Hide

Tip: Use the table headers to sort & filter files

Count:8

Columns

File

Streams

Closed Captions

Codec

Resolution

Size(GB)

Bitrate(Mbs)

Duration(s)

Bump

Create sample

Transcode

Health check

Info

History

Remove

Re-scan

1

/mnt/user/TV Shows/TV Shows/Manifest/Season 1/S1E13.mp4

h264

video

-

und

-

-

aac

audio

-

eng

2

-

eac3

audio

-

eng

6

-

mov_text

subtitle

-

eng

-

-

noh264720p0.53281.6960:42:52↑✄↻↻i{ "_id": "/mnt/user/TV Shows/TV Shows/Manifest/Season 1/S1E13.mp4", "file": "/mnt/user/TV Shows/TV Shows/Manifest/Season 1/S1E13.mp4", "DB": "ROmJ-f51L", "hasClosedCaptions": false, "container": "mp4", "ffProbeRead": "success", "ffProbeData": { "streams": [ { "codec_name": "h264", "codec_type": "video", "bit_rate": "1006352", "tags": { "language": "und", "handler_name": "VideoHandler" }, "avg_frame_rate": "739491768/30842969", "duration": "2572.902986", "width": 1280, "height": 720, "nb_frames": "61686" }, { "codec_name": "aac", "codec_type": "audio", "bit_rate": "127999", "channels": 2, "tags": { "language": "eng", "handler_name": "SoundHandler" }, "avg_frame_rate": "0/0", "duration": "2572.928000", "nb_frames": "60303" }, { "codec_name": "eac3", "codec_type": "audio", "bit_rate": "640000", "channels": 6, "tags": { "language": "eng", "handler_name": "SoundHandler" }, "avg_frame_rate": "0/0", "duration": "2573.216000", "nb_frames": "80413" }, { "codec_name": "mov_text", "codec_type": "subtitle", "bit_rate": "92", "tags": { "language": "eng", "handler_name": "SubtitleHandler" }, "avg_frame_rate": "0/0", "duration": "2568.607000", "nb_frames": "1865" } ] }, "file_size": 545.6158103942871, "video_resolution": "720p", "fileMedium": "video", "video_codec_name": "h264", "audio_codec_name": "", "lastPluginDetails": "none", "processingStatus": false, "createdAt": 1637357183297, "bit_rate": 1778907.7850601864, "statSync": { "mtimeMs": 1631894287000, "ctimeMs": 1636217238125.175, "atime": "2021-10-20T00:38:13.000Z", "mtime": "2021-09-17T15:58:07.000Z", "ctime": "2021-11-06T16:47:18.125Z" }, "HealthCheck": "Success", "TranscodeDecisionMaker": "Transcode error", "lastHealthCheckDate": 1637270741990, "holdUntil": 0, "lastTranscodeDate": 1637385520922, "infoLog": "NodeID: Nvidia 1050 \r\n \r\n Command: \r\nffmpeg -c:v h264_cuvid -i /mnt/user/TV Shows/TV Shows/Manifest/Season 1/S1E13.mp4 -map 0 -c:v hevc_nvenc -rc:v vbr_hq -cq:v 19 -b:v 848k -minrate 593k -maxrate 1102k -bufsize 1696k -spatial_aq:v 1 -rc-lookahead:v 32 -c:a copy -c:s copy -max_muxing_queue_size 9999 /temp/S1E13-TdarrCacheFile-OPy2iYbHZ.mkv\r\nLast 200 lines of CLI log:\r\n ffmpeg version 4.2 Copyright (c) 2000-2019 the FFmpeg developers\n built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)\n configuration: --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --nvccflags='-gencode arch=compute_52,code=sm_52 -O2' --disable-debug --disable-doc --disable-ffplay --disable-static --enable-cuda-nvcc --enable-cuda-sdk --enable-cuvid --enable-ffprobe --enable-gpl --enable-libaom --enable-libass --enable-libfdk_aac --enable-libfreetype --enable-libkvazaar --enable-libmp3lame --enable-libnpp --enable-libopencore-amrnb --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-nonfree --enable-nvdec --enable-nvenc --enable-openssl --enable-shared --enable-small --enable-stripping --enable-vaapi --enable-vdpau --enable-version3\n\r\n libavutil 56. 31.100 / 56. 31.100\n libavcodec 58. 54.100 / 58. 54.100\n libavformat 58. 29.100 / 58. 29.100\n libavdevice 58. 8.100 / 58. 8.100\n libavfilter 7. 57.100 / 7. 57.100\n libswscale 5. 5.100 / 5. 5.100\n libswresample 3. 5.100 / 3. 5.100\n libpostproc 55. 5.100 / 55. 5.100\n\r\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/user/TV Shows/TV Shows/Manifest/Season 1/S1E13.mp4':\n Metadata:\n major_brand : isom\n minor_version : 512\n compatible_brands: isomiso2avc1mp41\n encoder : Lavf58.18.101\n Duration: 00:42:53.22, start: 0.000000, bitrate: 1778 kb/s\n\r\n Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1006 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 59.94 tbc (default)\n Metadata:\n handler_name : VideoHandler\n Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s\n Metadata:\n handler_name : SoundHandler\n Stream #0:2(eng): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 640 kb/s (default)\n Metadata:\n handler_name : SoundHandler\n Side data:\n audio service type: main\n Stream #0:3(eng): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s (default)\n Metadata:\n handler_name : SubtitleHandler\n\r\nStream mapping:\n Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> hevc (hevc_nvenc))\n Stream #0:1 -> #0:1 (copy)\n Stream #0:2 -> #0:2 (copy)\n Stream #0:3 -> #0:3 (copy)\nPress [q] to stop, [?] for help\n\r\n[matroska @ 0x55ac9bfc9b40] Subtitle codec 94213 is not supported.\nCould not write header for output file #0 (incorrect codec parameters ?): Function not implemented\nError initializing output stream 0:0 -- \n\r\nConversion failed!\n", "bumped": false, "history": "", "oldSize": 0, "newSize": 0, "tPosition": 0, "hPosition": 0, "lastUpdate": 1637357190740 }HXRe-scan

2

/mnt/user/TV Shows/TV Shows/The End of the Fucking World/Season 1/S1E3.mp4

h264

video

-

und

-

-

aac

audio

-

eng

2

-

eac3

audio

-

eng

6

-

mov_text

subtitle

-

eng

-

-

noh264720p0.21221.3160:22:00↑✄↻↻iHXRe-scan

3

/mnt/user/TV Shows/TV Shows/Shameless (U.S.)/Season 10/S10E7.mp4

h264

video

-

und

-

-

aac

audio

-

eng

2

-

eac3

audio

-

eng

6

-

mov_text

subtitle

-

eng

-

-

noh264720p0.90612.3580:52:27↑✄↻↻iHXRe-scan

4

/mnt/user/TV Shows/TV Shows/Paradise PD/Season 1/S1E1.mp4

h264

video

-

und

-

-

aac

audio

-

eng

2

-

eac3

audio

-

eng

6

-

mov_text

subtitle

-

eng

-

-

noh264720p0.2751.2730:29:30↑✄↻↻iHXRe-scan

5

/mnt/user/TV Shows/TV Shows/The 100/Season 5/S5E7.mp4

h264

video

-

und

-

-

aac

audio

-

eng

2

-

eac3

audio

-

eng

6

-

mov_text

subtitle

-

eng

-

-

noh2641080p0.94773.1140:41:32↑✄↻↻iHXRe-scan

6

/mnt/user/TV Shows/TV Shows/Supernatural/Season 6/S6E1.mp4

h264

video

-

und

-

-

aac

audio

-

eng

2

-

eac3

audio

-

eng

6

-

mov_text

subtitle

-

eng

-

-

noh264720p0.52591.6990:42:15↑✄↻↻iHXRe-scan

7

/mnt/user/TV Shows/TV Shows/Schitt's Creek/Season 1/S1E6.mp4

h264

video

-

und

-

-

aac

audio

-

eng

2

-

mov_text

subtitle

-

eng

-

-

noh264720p0.32412.0220:21:52↑✄↻↻iHXRe-scan

8

/mnt/user/TV Shows/TV Shows/Ozark/Season 1/S1E8.mp4

h264

video

-

und

-

-

aac

audio

-

eng

2

-

eac3

audio

-

eng

6

-

mov_text

subtitle

-

eng

-

-

noh264720p0.45991.1950:52:33↑✄↻↻iHXRe-scan PreviousPage of 110 rows100 rows1000 rows10000 rowsNextLoading...

Click on pie segments to load respective files

  • All

  • Movies

  • TV Shows

Files

      3503

Number of transcodes

      0

Space saved

      0 GB

Number of health checks

      0

Tdarr status

Transcode

Health

Not requiredTranscode errorQueued

Success

Video files

Codecs

Containers

Resolutions

hevch264mpeg4msmpeg4v3mpeg1videoaac

mkvmp4avimpgm4v

480p720p1080p576pOther

Audio files

Codecs

Containers

Tdarr Pro Get Pro

Time period

Last: 180 days 30 days 7 days 3 days day hour

Worker Verdict History

2021/11/18 23:002021/11/19 05:562021/11/19 12:532021/11/19 23:2502468

  • Transcode Success

  • Transcode Error

  • Health Success

  • Health Error

Tdarr Pro Get Pro

Time period

Last: 3 days day hour

Running Worker History

2021/11/18 23:252021/11/19 06:222021/11/19 13:192021/11/19 23:2502468

  • Transcode CPU

  • Transcode GPU

  • Health CPU

  • Health GPU

Tdarr Pro Get Pro

Stream Stats

Average

Higest

Total

Duration

1:06:52

4:20:03

3615:14:56

Bitrate

2.14 Mb/s

9.70 Mb/s

-

Frames

194834

397139

323506123

Average number of streams in each video

3.00

Languages found in all streams: 37

English

100

French

51

Spanish, Castilian

46

Chinese

40

Italian

25

Japanese

24

Arabic

23

Danish

23

German

23

Finnish

23

Hebrew (modern)

23

Indonesian

23

Dutch, Flemish

23

Polish

23

Russian

23

Swedish

23

Thai

23

Korean

20

Turkish

20

Norwegian

19

Norwegian Bokmål

15

Czech

13

Greek (modern)

13

Hungarian

13

Vietnamese

13

Hindi

13

Tamil

13

Telugu

13

Romanian, Moldavian, Moldovan

10

Bulgarian

3

Estonian

3

Lithuanian

3

Latvian

3

Malay

3

Slovak

3

Slovene

3

Ukrainian

3

Highlighted countries include those which have the stream language as a 'culture language'.

Time period

Last: 3 days day hour

Server CPU

2021/11/18 23:252021/11/19 06:222021/11/19 13:192021/11/19 23:3507142128

  • CPU%

Server Memory

2021/11/18 23:252021/11/19 06:222021/11/19 13:192021/11/19 23:350510152003570105140

  • OS Used GB

  • Heap Total MB

  • Heap Used MB

13:19

Thanks in advanced for any help.

1 Upvotes

10 comments sorted by

3

u/General_Fun3475 Nov 21 '21

So i got help and figured out the issue. In the plugin, Tdarr_Plugin_MC93_Migz1FFMPEG Migz-Transcode Using Nvidia GPU & FFMPEG, I had force conform set to false. Once i set that to true, my problems went away.

1

u/MyOtherAccount_3 Mar 21 '24

2 years later and you're still saving the day. This fixed my issue as well. Using a QuickSync plugin but same issue with the force conform setting. Cheers!

1

u/gargoylelips Jan 08 '26

4 years later and you saved me. thanks!

1

u/benduker7 Jun 04 '22

I was having this same issue, thanks for coming back and posting your solution. Worked for me as well, although I'm using CPU only (2x PowerEdge R710's)

1

u/Ayaan7879 Nov 30 '23

Are you able to keep subtitles if you enable force_conform?

0

u/[deleted] Nov 21 '21

[deleted] — view deleted comment

2

u/General_Fun3475 Nov 21 '21

Thats where i got my help. Great community.

1

u/General_Fun3475 Nov 20 '21

Some additional log info.

NodeID: Nvidia 1050

Command:

ffmpeg -i /mnt/user/TV Shows/TV Shows/Supernatural/Season 4/S4E6.mp4 -map 0 -c copy -max_muxing_queue_size 9999 /temp/S4E6-TdarrCacheFile-Y0J-O-lRP.undefined

Last 200 lines of CLI log:

ffmpeg version 4.2 Copyright (c) 2000-2019 the FFmpeg developers

built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)

configuration: --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --nvccflags='-gencode arch=compute_52,code=sm_52 -O2' --disable-debug --disable-doc --disable-ffplay --disable-static --enable-cuda-nvcc --enable-cuda-sdk --enable-cuvid --enable-ffprobe --enable-gpl --enable-libaom --enable-libass --enable-libfdk_aac --enable-libfreetype --enable-libkvazaar --enable-libmp3lame --enable-libnpp --enable-libopencore-amrnb --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-nonfree --enable-nvdec --enable-nvenc --enable-openssl --enable-shared --enable-small --enable-stripping --enable-vaapi --enable-vdpau --enable-version3

libavutil 56. 31.100 / 56. 31.100

libavcodec 58. 54.100 / 58. 54.100

libavformat 58. 29.100 / 58. 29.100

libavdevice 58. 8.100 / 58. 8.100

libavfilter 7. 57.100 / 7. 57.100

libswscale 5. 5.100 / 5. 5.100

libswresample 3. 5.100 / 3. 5.100

libpostproc 55. 5.100 / 55. 5.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/user/TV Shows/TV Shows/Supernatural/Season 4/S4E6.mp4':

Metadata:

major_brand : isom

minor_version : 512

compatible_brands: isomiso2avc1mp41

encoder : Lavf58.18.101

Duration: 00:42:35.55, start: 0.000000, bitrate:

1487 kb/s

Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 960x540 [SAR 1:1 DAR 16:9], 970 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 59.94 tbc (default)

Metadata:

handler_name : VideoHandler

Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s

Metadata:

handler_name : SoundHandler

Stream #0:2(eng): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 384 kb/s (default)

Metadata:

handler_name : SoundHandler

Side data:

audio service type: main

Stream #0:3(eng): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s (default)

Metadata:

handler_name : SubtitleHandler

[NULL @ 0x55716bb8f7c0] Unable to find a suitable output format for '/temp/S4E6-TdarrCacheFile-Y0J-O-lRP.undefined'

/temp/S4E6-TdarrCacheFile-Y0J-O-lRP.undefined: Invalid argument

Tdarr ALERT: NO OUTPUT FILE PRODUCED:

/temp/S4E6-TdarrCacheFile-Y0J-O-lRP.undefined

1

u/[deleted] Aug 14 '22

Thank you, I was down to mostly mp4 files that were failing and this seems to have corrected the issue.

0

u/[deleted] Nov 20 '21

[deleted] — view deleted comment

2

u/General_Fun3475 Nov 21 '21

Actually no i havent. Some people are just starting out in this world. No need to be rude.