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 17067 0
Notice This board is for users of the ShanaEncoder international version 6 Rina 2019.07.24 19432 1
152 English Is It Possible To Transcode Multiple Videos Simultaniously? 1 JensanHuang 2019.11.12 2502 1
151 English Great Encoder!!! 1 duplakappa 2014.04.28 7899 1
150 English if you want language pack, please read me. 2 file Rina 2014.12.26 15728 1
149 English Request: Select Subtitle Files For multiple files at once " Built in subtitles for mkv files" 1 conencted09 2019.07.29 2224 1
148 English Recovering the file list after errors. 1 Yar 2020.07.17 2254 1
147 Simplified Chinese 转码多音轨的视频,音轨名称都变成一样了 4 file cswcsw 2021.08.02 5496 1
146 Simplified Chinese 建议输出转换的文件名后面可添加文字,而不是在文件名前加[SHANA],用以区别源文件 5 zky 2019.12.03 19340 1
145 Simplified Chinese 关于ts文件音画不同步的问题,附解决办法 1 falseen 2021.09.16 6971 1
144 Simplified Chinese 希望可以出个docker版本 jjjj 2022.03.27 1596 0
143 English Can Shanaencoder use DebugFrameSever? ichbinkaiser 2019.05.18 2103 0
142 English The default audio sample rate is now 48khz instead of 44.1khz 小樱 2020.09.26 3670 0
141 English Error encoding when use custom preset 4 file Panji 2019.11.16 3321 0
140 Simplified Chinese 期待增加视频拼接任务列表,在压缩的同时能创建新的剪辑、拼接任务 yonfei 2020.07.20 14949 0
139 English Request: Set maximum decibel lec 2022.02.12 741 0
138 Simplified Chinese 预测时间不准确 2 file 小樱 2017.08.04 17168 0
137 English A bug and a feature request 4 mozkan007 2019.08.25 3264 0
136 Simplified Chinese 为什么我的不能直接拖文件进去,只能添加文件,5.2.1.5版本 7 mike12 2021.06.15 6531 0
135 English Request: Advanced Crop lec 2022.02.12 878 0
134 Simplified Chinese - 2 jaxonlau 2020.10.26 16961 0
133 English How to set up open ssim - rd frds 2018.01.18 2206 0
Board Pagination Prev 1 2 3 4 5 6 7 8 Next
/ 8