Posts: 10.553
Threads: 57
Joined: May 2017
02.09.2021, 17:20
(This post was last modified: 02.09.2021, 17:24 by Selur.)
Quote: The XML tag file '/Volumes/temp/Hybrid Temp/_2021-09-02@17_52_46_2210__03.xml' could not be read.
does the file exist?
According to the debug output is should exist and contain:
<Tags>
<Tag>
<Simple>
<Name>Encoding Gui</Name>
<String>Hybrid 2021.09.02.1</String>
</Simple>
</Tag>
</Tags>
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 785
Threads: 16
Joined: Mar 2020
Ok, got it So i create failed job with Hybrid and then run your code (i changed filenames to match the new ones in Temp folder).
After that i got this (also normal muxed MKV file appears in output folder):
mkvmerge v53.0.0 ('Fool's Gold') 64-bit
avi_reader_c: Dropped video frames: 0
mpeg_es_reader: version 2 width 720 height 480 FPS 29.97002997002997 AR 1.3333333333333333
'/Volumes/temp/Hybrid Temp/2021-09-02@18_27_13_6910_02.m2v': Using the demultiplexer for the format 'MPEG-1/2 video elementary stream'.
'/Volumes/temp/Hybrid Temp/iId_3_aid_128_DELAY_-120ms_2021-09-02@18_27_13_6910_01.ac3': Using the demultiplexer for the format 'AC-3'.
'/Volumes/temp/Hybrid Temp/2021-09-02@18_27_13_6910_02.m2v' track 0: Using the output module for the format 'MPEG-1/2 video'.
'/Volumes/temp/Hybrid Temp/iId_3_aid_128_DELAY_-120ms_2021-09-02@18_27_13_6910_01.ac3' track 0: Using the output module for the format 'AC-3'.
The file '/Volumes/media/-DVD/-MKV EXTRACTED/VTS_01_2-VC01 telecine Ω_Title_1-hybrid.mkv' has been opened for writing.
Warning: Found at least one B frame without second reference in a non closed GOP.
Progress: 100%
The cue entries (the index) are being written...
Multiplexing took 1 second.
Posts: 10.553
Threads: 57
Joined: May 2017
02.09.2021, 17:36
(This post was last modified: 02.09.2021, 17:41 by Selur.)
Okay, that is the output I saw in the debug output.
According to that output.
"/Volumes/media/-DVD/-MKV EXTRACTED/VTS_01_2-VC01 telecine Ω_Title_1-hybrid.mkv"
shoudl have been created, but accoding to the file check
/Volumes/media/-DVD/-MKV EXTRACTED/VTS_01_2-VC01 telecine Ω_Title_1-hybrid.mkv
doesn't exist or is 0-byte.
So the question is: Was a file created and the file check of Hybrid has a bug or wasn't a file created and the problem is with mkvtoolnix? (sadly if mkvtoolnix is the problem then you are out of luck if you can't use a newer version)
Correction: As a workaround enabling "Config->Containers->FFmpeg for .mkv muxing" before the job creation should work since then ffmpeg instead of mkvmerge will be used.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 785
Threads: 16
Joined: Mar 2020
Seems i find the problem source!
Remuxing fails only if "Generate" filename option is enabled in Hybrid.
Or if i manually add "Ω" character in Hybrid to output name.
By the way, "Config->Containers->FFmpeg for .mkv muxing" don't works at all even with normal filenames. It simply outputs "empty" 2 or 4 KB MKV file.
Posts: 10.553
Threads: 57
Joined: May 2017
02.09.2021, 17:50
(This post was last modified: 02.09.2021, 17:54 by Selur.)
Quote:Remuxing fails only if "Generate" filename option is enabled in Hybrid.
Or if i manually add "Ω" character in Hybrid to output name.
If the source contains the "Ω" character those two option probably are really similar.
(btw. on Windows using "With Ω character.mkv" as output name causes no problems,.. but there I also use a current mkvtoolnix.)
Quote:By the way, "Config->Containers->FFmpeg for .mkv muxing" don't works at all ebven with normal filenames. It simply outputs "empty" 2 or 4 KB MKV file.
-> no debug output, nothing I can do (might be an issue with the aspect ratio notation)
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 785
Threads: 16
Joined: Mar 2020
There is also same muxing error if input name is normal, but output name contains "Ω" character.
So seems problem is all about output name.
Send you FFmpeg mkv muxing 2KB file problem debug. Guess it is totally different bug not related to special characters.
Posts: 10.553
Threads: 57
Joined: May 2017
02.09.2021, 18:04
(This post was last modified: 03.09.2021, 20:39 by Selur.)
calling:
"/Applications/Hybrid.app/Contents/MacOS/ffmpeg" -y -r 30000/1001 -itsoffset -00:00:00.120 -i "/Volumes/temp/Hybrid Temp/2021-09-02@18_56_28_3710_02.m2v" -i "/Volumes/temp/Hybrid Temp/iId_1_aid_128_DELAY_-120ms_2021-09-02@18_56_28_3710_01.ac3" -vcodec copy -acodec copy -metadata encoding_tool="Hybrid 2021.09.02.1" -map 0:0 -map 1:0 -aspect 16:12 -r 30000/1001 "/Volumes/media/-DVD/-MKV EXTRACTED/VTS_01_2-VC01 telecine.mkv"
FFmpeg reports:
ffmpeg version N-103457-g9abf0e0419-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
libavutil 57. 4.101 / 57. 4.101
libavcodec 59. 6.100 / 59. 6.100
libavformat 59. 4.102 / 59. 4.102
libavdevice 59. 0.101 / 59. 0.101
libavfilter 8. 7.100 / 8. 7.100
libswscale 6. 0.100 / 6. 0.100
libswresample 4. 0.100 / 4. 0.100
libpostproc 56. 0.100 / 56. 0.100
Input #0, mpegvideo, from '/Volumes/temp/Hybrid Temp/2021-09-02@18_56_28_3710_02.m2v':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, top first), 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 29.97 tbr, 1200k tbn
Side data:
cpb: bitrate max/min/avg: 9214000/0/0 buffer size: 1835008 vbv_delay: N/A
[ac3 @ 0x7f8af2d10380] Estimating duration from bitrate, this may be inaccurate
Input #1, ac3, from '/Volumes/temp/Hybrid Temp/iId_1_aid_128_DELAY_-120ms_2021-09-02@18_56_28_3710_01.ac3':
Duration: 00:01:00.00, start: 0.000000, bitrate: 384 kb/s
Stream #1:0: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Overriding aspect ratio with stream copy may produce invalid files
Output #0, matroska, to '/Volumes/media/-DVD/-MKV EXTRACTED/VTS_01_2-VC01 telecine.mkv':
Metadata:
encoding_tool : "Hybrid 2021.09.02.1"
encoder : Lavf59.4.102
Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), yuv420p(tv, top first), 720x480 [SAR 8:9 DAR 4:3], q=2-31, 29.97 fps, 29.97 tbr, 1k tbn
Side data:
cpb: bitrate max/min/avg: 9214000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=-1.0 size= 1kB time=00:00:00.00 bitrate=N/A speed= 0x
[matroska @ 0x7f8af2d11f80] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[matroska @ 0x7f8af2d11f80] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
frame= 1 fps=0.0 q=-1.0 Lsize= 2kB time=00:00:00.03 bitrate= 594.2kbits/s speed= 129x
video:147kB audio:2kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!
seems like ffmpeg has a problem with the video stream. :/
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.553
Threads: 57
Joined: May 2017
02.09.2021, 19:58
(This post was last modified: 02.09.2021, 19:58 by Selur.)
Updated the download, please check how the new version behaves.
Hybrid now should try longer to keep the file names local 8bit compatible, hopefully that helps.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 785
Threads: 16
Joined: Mar 2020
Nope, don't works. Same error here:
Aborting '2021-09-02@21_18_41_9710_10_muxing' due to: Error: The XML tag file could not be read.
Need a new debug?
Posts: 10.553
Threads: 57
Joined: May 2017
Yeah debug would be nice.
Will probably not have time to look at it tomorrow since I'll leave home early and come back late, but I'll try some more workarounds on Saturday.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
|