Skip to menu

본문시작



질문하기 전에 검색하세요(Search before asking a question)


English
2021.07.30 23:41

Encoding error

Views 2690 Votes 0 Comment 2
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

I tried to encode a movie with subs, but get an encoding error on three different PCs. Everything else worked fine (using it for month now).

 

Also I have two other questions:

-When I tried it last time, the external .ass subtitle file has not been recognized. I always have to remux the file with MKV ToolNix to replace the old subtitle file with my file. Is it only an error from my side or can you help me there?

-Is it possible to reencode the video with hardsubs without the need to set the video quality? (currently I use video quality 21 but I only want to hardsub it, maybe with H264 instead of the source but thats it.) Also it seems not to be possible to select video copy and hardsub subtitles at the same time.

 

Log:

[info] ShanaEncoder v5.2.2.0
[info] FFmpeg v2021.03.15.185
(removed Hardware since I tried it on three devices)

==================================================

 >> Encoding start time: 30.07.2021 16:24:40

 * Input filename: >removed<.mkv

Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
[Parsed_subtitles_0 @ 0000000008fe0040] Shaper: FriBidi 1.0.7 (SIMPLE)
[libx264 @ 0000000008fa06c0] using SAR=1/1
[libx264 @ 0000000008fa06c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0000000008fa06c0] profile Constrained Baseline, level 4.0, 4:2:0, 8-bit
[libx264 @ 0000000008fa06c0] 264 - core 161 r3048 b86ae3c - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=21.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mp4 @ 0000000008fdcec0] track 1: codec frame size is not set
[mp4 @ 0000000008fdcec0] flac in MP4 support is experimental, add '-strict -2' if you want to use it.
Could not write header for output file #0 (incorrect codec parameters ?): Experimental feature
Error initializing output stream 0:0 -- 
Conversion failed!

 * An encoding error has occurred.

 >> Speed 0x Elapsed time 00:00:00

==================================================
 

Facebook Twitter Pinterest Kakao
  • ?
    sz 2021.07.31 16:23

    flac in MP4 support is experimental, add '-strict -2' if you want to use it.

    编码音频或改格式为mkv,mp4要支持复制flac音频需要按f8加入 -strict -2 

  • ?
    Deepspace 2021.08.01 21:55
    Thank you, that worked!

List of Articles
No. Category Subject Author Date Views Votes
Notice ShanaEncoder Translation 2 Rina 2021.04.28 17070 0
Notice This board is for users of the ShanaEncoder international version 6 Rina 2019.07.24 19435 1
152 Simplified Chinese 预览265编码视频不能硬解码并且占用CPU只有1/4个核心,potplayer是可以启用硬解码的 3 file 小樱 2017.01.11 17804 0
151 Simplified Chinese 预测时间不准确 2 file 小樱 2017.08.04 17171 0
150 Simplified Chinese 通过MKV封装格式直接转换,发现生成后的文件没有带字幕 1 小樱 2015.02.26 15617 0
149 Simplified Chinese 这个视频转码的时候GUI会显示出错。反复跳动 小樱 2015.03.03 14875 0
148 Simplified Chinese 转码多音轨的视频,音轨名称都变成一样了 4 file cswcsw 2021.08.02 5496 1
147 Simplified Chinese 请问,什么时候可以支持HEVC 10Bit ? 1 adidi 2016.06.03 16946 0
146 Simplified Chinese 询问下hevc nvenc压制时预设的问题 3 Old_Ripper 2020.08.16 18705 0
145 Simplified Chinese 话说10bit不支持GPU转码,是硬件的不支持? 1 小樱 2015.03.02 15355 0
144 Simplified Chinese 设置复制视频音频流的时候,应该能直接拼接合并比较合理吧,,现在的版本还要复制输出一份临时文件 2 小樱 2020.02.04 16138 0
143 Simplified Chinese 视乎使用GPU压制,视频开头一段画面都是非常模糊的。 小樱 2015.03.07 15483 0
142 Simplified Chinese 视乎不支持srt字幕,只支持ass? 小樱 2015.03.07 14670 0
141 Simplified Chinese 能增加个BitrateViewer这种比特率查看小工具吗,菜单上右键呼出查看 小樱 2020.02.03 14896 0
140 Simplified Chinese 能否设置10BIT编码? 1 小樱 2015.02.19 16610 0
139 Simplified Chinese 缺少scale_cuda滤镜 sz 2021.08.30 8493 0
138 Simplified Chinese 硬件解码会不会影响压缩之后视频质量 file 七落 2022.04.27 1441 0
137 Simplified Chinese 没事帮忙解除了贵站域名的风险拦截 小樱 2015.01.13 16370 0
136 Simplified Chinese 求助,为什么突然视频转换的时间暴增? 1 zhou 2022.03.04 2244 0
135 Simplified Chinese 求助Device setup failed for decoder on input stream #0:0 : Unknown error occurred? 3 成成 2020.03.06 14190 0
134 Simplified Chinese 期待增加视频拼接任务列表,在压缩的同时能创建新的剪辑、拼接任务 yonfei 2020.07.20 14950 0
133 Simplified Chinese 是否能够开放 AVX512 指令集编码? JosephZheng 2022.04.06 1605 0
Board Pagination Prev 1 2 3 4 5 6 7 8 Next
/ 8