English
2021.07.30 23:41

Encoding error

Views 10876 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 8 Rina 2021.04.28 97286 0
Notice This board is for users of the ShanaEncoder international version 7 Rina 2019.07.24 103857 1
144 English key frame not in seconds but as usual in frames thoste 2022.02.16 14068 0
143 English Auto-adjust height when width is changed - Keep aspect ratio thoste 2022.02.16 16306 0
142 English Request: Advanced Crop lec 2022.02.12 14231 0
141 English Request: Set maximum decibel lec 2022.02.12 12315 0
140 English Why not add H266 encoding function for ShanaEncoder? ddrio 2022.01.23 17210 0
139 English german Language 2 Nierewa 2021.11.19 20053 0
138 English Installation / No Access to Mirror 2 M.J. 2021.10.12 12388 0
137 Simplified Chinese 关于ts文件音画不同步的问题,附解决办法 1 falseen 2021.09.16 44288 1
136 Simplified Chinese 缺少scale_cuda滤镜 sz 2021.08.30 48100 0
135 Simplified Chinese 会加入hdr to sdr 滤镜tonemap_opencl吗 sz 2021.08.26 39202 0
134 Simplified Chinese How to keep the date of the original video请问怎样复制原始视频的日期 2 file jaxonlau 2021.08.22 33075 0
133 English E-AC3 deadlyshadow 2021.08.22 20773 0
132 Simplified Chinese 转码多音轨的视频,音轨名称都变成一样了 4 file cswcsw 2021.08.02 47469 1
» English Encoding error 2 Deepspace 2021.07.30 10876 0
130 Simplified Chinese 希望可以增加字幕整体放大功能 1 M 2021.07.30 45810 0
129 Simplified Chinese 关于av1编码 2 sz 2021.07.27 42334 0
128 Simplified Chinese 关于 nvenc hdr参数 2 sz 2021.07.18 45450 0
127 Simplified Chinese 我找不到以前的版本更新内容帖子在哪了。 2 小樱 2021.07.16 34917 0
126 Simplified Chinese 复制视频音频会多出标签和全局标签 sz 2021.07.09 41836 0
125 Simplified Chinese 使用 -map 0,会重复流0:0和0:1 1 sz 2021.07.09 46656 0
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 Next
/ 11