[BUG] audio not synchronized after cutting videos - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [BUG] audio not synchronized after cutting videos (/thread-657.html) |
RE: audio not synchronized after cutting videos - weyb06 - 05.10.2018 hi, so i tried with the 2018.10.05.1 version you have here the capture of the deployed job queue (i don't see any qp reference, so I didn't started the job), and here the level 9 log regards RE: audio not synchronized after cutting videos - Selur - 05.10.2018 1st Delete old HybridDebugOutput.txt before you create one you want to share with me, since it saves me a lot of nerves reading through old log content. 2nd read the sticky again and note when the DebugOutput is turned on. (Not interested in all the startup data unless there is a problem with Hybrid starting,..) so 21981 lines later,.... I see that the Chapter file is created by not the .qp file. There still seems to be some bug,.. works here, but something in your settings seems to cause Hybrid to not properly parse the encoding call. -> looking into it RE: audio not synchronized after cutting videos - Selur - 05.10.2018 Did you disable 'NVEnc->Misc->Key frames for chapter' ? (option is on by default and if you disable it you won't get the key frames where you want,..) When enabled the NVEncC-call should contain '--keyfile GENERATED_KEY_FILE', it doesn't in your call. Cu Selur RE: audio not synchronized after cutting videos - Selur - 05.10.2018 LOL, just checked the 'Key frames for chapter' option wasn't default in the last dev since I did some testing and disabled it. -> you need to enable that option for things to work as they should. Cu Selur RE: audio not synchronized after cutting videos - weyb06 - 09.10.2018 Hi, i still have the same problem My method : I. Create a new proper file in the target format I want :
hybrid version : 2018.10.05.1 base->processing->video = NVEnc NVEnc->base->codec : h265 ; encoding mode : constant quantizer ; quantizer : 28 NVEnc->Misc->key frames for chapters enabled --> i saw the qp file information in the Jobs tab the log is here I have an other curious problem, and I'll create a new post. regards EDIT : I see at the bottom of NVEnc->Base, the command line, which contains --fps 25.000, so I understand that the video track is encoded with this framerate -> could it come from that, as i chose "passthrough" for the audio track ? Is there a way to choose "same framerate as source" ? RE: audio not synchronized after cutting videos - Selur - 09.10.2018 Hybrid by default should use the frame rate of that the source was detected at. (assuming the source if cfr and not vfr) Quote:I see at the bottom of NVEnc->Base, the command line, which contains --fps 25.000, so I understand that the video track is encoded with this framerateCan't see that anywhere in the debug output. Encoding call in the debug output states: "C:\WEYBPR~2\Hybrid\64bit\ffmpeg.exe" -y -loglevel fatal -hwaccel auto -threads 1 -i "Y:\2 scrap\Jeunesse - 2 scrap\cartoons\looney tunes\H264-originaux\2_add_chapters_2_encode\720x480_ld5-8.PAR corrigé.mkv" -map 0:0 -an -sn -vf crop=694:476:26:0,zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -f yuv4mpegpipe - | "C:\WEYBPR~2\Hybrid\64bit\NVEncC.exe" --y4m -i - --fps 29.970 --codec h265 --profile main --level auto --sar 1:1 --lookahead 16 --cqp 28 --gop-len 0 --bframes 0 --ref 3 --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset default --videoformat undef --colorprim undef --transfer undef --colormatrix bt470bg --keyfile "C:\temp\720x480_ld5-8.PAR corrigé_NVEnc_cqp28_PAR1x1_keyframe_09_21_54_7910_02.qp" --output "C:\temp\720x480_ld5-8.PAR corrigé_NVEnc_cqp28_PAR1x1_keyframe_09_21_54_7910_03.265" 694x476p 1:1 29.970fps (30000/1001fps) "C:\WEYBPR~2\Hybrid\64bit\mkvmerge.exe" --ui-language en -o "D:\Mes Documents\Downloads\complete\720x480_ld5-8.PAR corrigé_NVEnc_cqp28_PAR1x1_keyframe.mkv" --global-tags "C:\temp\720x480_ld5-8.PAR corrigé_NVEnc_cqp28_PAR1x1_keyframe_09_21_54_7910__04.xml" -d 0 --default-track 0:yes --default-duration 0:30000/1001fps --aspect-ratio-factor 0:1/1 --chapter-charset UTF-8 --chapters "C:\temp\09_21_54_7910__05.chp" --compression -1:none --forced-track 0:yes --no-audio --no-subtitles "C:\temp\720x480_ld5-8.PAR corrigé_NVEnc_cqp28_PAR1x1_keyframe_09_21_54_7910_03.265" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\temp\iId_1_aid_0_09_21_54_7910_01.mp3" Analysis of the output shows: Duration: 00:25:55.55, start: 0.000000, bitrate: 911 kb/s If Hybrid would have been 'oiff' with the frame rate, the reencoded output would already be asynchronous. -> no clue why it isn't working for you Cu Selur RE: audio not synchronized after cutting videos - weyb06 - 09.10.2018 hi, here is a screenshot of where i saw --fps 25.000 (at the bottom of the picture here you'll see --fps 29.970) but i didn't see it right now & can't remember how i got it this morning. have to make other tests... regards RE: audio not synchronized after cutting videos - Selur - 09.10.2018 25fps will probably be shown if no source was loaded since 25fps is the default,.. RE: audio not synchronized after cutting videos - weyb06 - 10.10.2018 hi, here is a little video (13sec - 2MB) with 4 chapters the audio is sync. when i split it according the chapters with the queue chapters, the audio tracks aren't sync anymore (except the 1st) could you make a try with it please to see if it works for you ? regards RE: audio not synchronized after cutting videos - Selur - 10.10.2018 Doesn't work for me either. |