Hi,
I actually try to convert old anime movie to MP4 then MKV for Plex (...play on TV). I am not sure this the best way to do (I use FormatFactory) as the source is smaller than output and the quality is better.
Need some advice please.
Here some infos from the original file :
HTML Code:General Unique ID : 43567031862707191594328660214718633966 (0x20C6B483168F68B79FBD21C1688397EE) Complete name : X:\Temp\IPPO Temp\Hajime no Ippo [DVD 480p]\Hajime no Ippo 01 (480p).mkv Format : Matroska Format version : Version 4 File size : 74.3 MiB Duration : 20 min 50 s Overall bit rate : 498 kb/s Movie name : Hajime no Ippo Encoded date : UTC 2013-07-28 13:05:05 Writing application : [url=https://www.videohelp.com/software/MKVToolNix]mkvmerge[/url] v6.0.0 ('Coming Up For Air') built on Jan 20 2013 09:52:00 Writing library : libebml v1.3.0 + libmatroska v1.4.0 Attachments : arial.ttf / arialbd.ttf / BorisBlackBloxx.ttf / verdanab.ttf / verdanaz.ttf Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High 10@L3.1 Format settings : CABAC / 8 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 8 frames Codec ID : V_MPEG4/ISO/AVC Duration : 20 min 50 s Width : 640 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate mode : Constant Frame rate : 24.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Scan type : Progressive Writing library : x264 core 129 r2245 bc13772 Encoding settings : cabac=1 / ref=8 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=0.40:0.60 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-4 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Language : English Default : Yes Forced : No Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : A_AAC-2 Duration : 20 min 50 s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Delay relative to video : 9 ms Title : 2.0 Ogg Language : Japanese Default : Yes Forced : No Text ID : 3 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced [url=https://www.videohelp.com/software/Sub-Station-Alpha]Sub Station Alpha[/url] Compression mode : Lossless Title : Styled Language : English Default : Yes Forced : No Menu 00:00:00.000 : en:Opening / en:Main / en:Ending
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 30 of 31
Thread
-
Last edited by caseyjonez; 9th Sep 2023 at 09:07.
-
AVC video and AAC audio are already suitable for the MP4 container. All you need to do is to remux them. ASS subs aren't supported by MP4 you'll have to convert them to Timed Text format. All of this can easily be done with ffmpeg. Something like:
Code:ffmpeg -i input.mkv -c:v copy -c:a copy -c:s mov_text output.mp4
-
Hi,
Ok I try it. it's work! ....But if I read the media on TV it said "Not enough CPU for conversion this item". Now I must say that I use a very small/light server for Plex (concern about energy consum etc...). But I have other movie, download from eg. "Yify"... It's longer and bigger + subtitle, and it can read. I really don't get it....
Update : Ok I think find something good with HandBreak. Good size and qualityLast edited by caseyjonez; 1st Sep 2023 at 04:07.
-
Changing this Plex setting may help:
https://www.reddit.com/r/PleX/comments/qjkdxe/multimedia_file_format_not_supported/?rdt=55629
All I did to get it to fix was go into setting and have it play original quality instead of trying to convert and that fixed my problem. -
Some other possible issues: Many players do not support 10 bit AVC, 8 reference frames is too many for many players, also 5 consecutive b-frames. If those are the source of you problem you will have to reencode. Or buy a US$20 media player.
https://www.walmart.com/ip/onn-Google-TV-4K-Streaming-Box-New-2023-4K-UHD-resolution/2835618394/ -
Hey, thx for so replys and ideas
- Use Plex for decade I know that trick but didn't work well in my case (despite my small server I can watch no problem 4K movies on the SmartTV).
- We are surround by devices already, buy another one, not sure it's the solution :/ ...
So here I find my own way :
- Use HandBreak it give a mp4 (vdo + sound) quality is great and file size is nearly same ! (That's incredible).
- I extract the subtitle in .SRT (ASS or others are sucks.....)
- Now I just combine MP4 and SRT to MKV. Et voila!
(All of these are of course batch...)
I can watch on tv and great quality, very very close to original..... So good!Last edited by caseyjonez; 1st Sep 2023 at 11:51.
-
Code:
ffmpeg -y -i input.mkv -c:v libx264 -preset "veryfast" -crf 23 -c:a copy -c:s srt output.mkv
Code:-c:s srt
Code:-c:s mysubfile.srt
-
Here the details the video that works with me :
Code:General Unique ID : 63788467151435034878526176136626100110 (0x2FFD363F092EB76CA3414898661AD78E) Complete name : X:\Medias\Manga Series\Hajime no Ippo\SE01\Hajime No Ippo 01 (480P).mkv Format : Matroska Format version : Version 4 File size : 98.2 MiB Duration : 20 min 50 s Overall bit rate : 659 kb/s Encoded date : UTC 2023-09-01 11:45:13 Writing application : mkvmerge v57.0.0 ('Till The End') 32-bit Writing library : libebml v1.4.2 + libmatroska v1.6.4 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 20 min 50 s Bit rate : 493 kb/s Width : 640 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.067 Stream size : 73.6 MiB (75%) Writing library : x264 core 164 r3100 ed0f7a6 Encoding settings : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Default : Yes Forced : No Color range : Limited Color primaries : BT.601 NTSC Transfer characteristics : BT.709 Matrix coefficients : BT.601 Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : A_AAC-2 Duration : 20 min 50 s Bit rate : 163 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Delay relative to video : -12 ms Stream size : 24.3 MiB (25%) Language : Japanese Default : Yes Forced : No Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 20 min 38 s Bit rate : 53 b/s Count of elements : 251 Stream size : 8.15 KiB (0%) Default : Yes Forced : No
I also try now "FFmpeg Batch AV Converter". It help a lot to generate command but I am here...
-
The problem is the high profile.
You shoud recode the video with the main profile and 8 bit.
You can use clever Ffmpeg-GUI for that.Last edited by ProWo; 2nd Sep 2023 at 11:29.
-
-
Yes, it looks like you need a 480p frame size. Try:
Code:ffmpeg -y -i input.mkv -vf scale=w=640:h=-4 -c:v libx264 -preset "veryfast" -crf 23 -c:a copy -c:s srt output.mkv
Code:ffmpeg -y -i input.mkv -vf scale=w=-4:h=480 -c:v libx264 -preset "veryfast" -crf 23 -c:a copy -c:s srt output.mkv
-
I try both of your command, it do not works
(
Got this when it do not want to work ....
I think must find a way to make libx264 encode WITHOUT having profile in the output.
"FFmpeg Batch AV Converter" should help but each time you select an option and profile (baseline, main.. 1..1,5...2...2,5...) it give errors ....Last edited by caseyjonez; 2nd Sep 2023 at 09:37.
-
You should set profile main, not baseline.
[Attachment 73597 - Click to enlarge]Last edited by ProWo; 2nd Sep 2023 at 11:32.
-
@ProWo
Thanks for suggestion, I will try your soft, and get back later
Thx again! -
Guys! I got a more clue about "bit depth" and add some parameters, I have this now :
Code:-c:v libx264 -preset veryfast -crf 28 -pix_fmt yuv420p -c:a copy -c:s srt
Too good!
Man! I love this !
@ProWo I dont see "batch" function into your soft (?) so I use "FFmpeg Batch AV Converter".
I think this time I got at last what I want. Thanks again bothLast edited by caseyjonez; 3rd Sep 2023 at 07:10.
-
-
you should use max 25
And add a batch function and it would be a great piece of software!
-
I would use crf 18 or less for SD video I was going to save and watch again. And the slow preset.
Sorry, I missed in your first post that the video was 10 bit AVC. That was a dead giveaway about the problem. Very few devices support that.Last edited by jagabo; 3rd Sep 2023 at 11:42.
-
Try
Code:-c:v libx264 -preset veryfast -crf 20 -pix_fmt yuv420p -c:a copy -c:s mov_text
-
Last edited by ProWo; 4th Sep 2023 at 11:09.
-
Hi,
Sorry for late reply but I was very busy lastly (work...... ......).
I just check and yes it have some style in srt :
Code:4 00:00:10,210 --> 00:00:12,310 <font face="Negotiate Free" size="112" color="#fefeed"><b><i>with everything I have behind it!</i></b></font> 5 00:00:12,510 --> 00:00:14,520 <font face="Negotiate Free" size="112" color="#fefeed"><b><i>Go!</i></b></font> 6 00:00:17,860 --> 00:00:19,070 <font face="Negotiate Free" size="112" color="#fefeed"><b>It was stopped!</b></font>
Code:-c:v libx264 -preset veryfast -crf 28 -pix_fmt yuv420p -c:a copy -c:s srt
Similar Threads
-
Conversion for Plex
By Floydian in forum Video ConversionReplies: 8Last Post: 16th Jan 2021, 12:26 -
Plex Server without PC?
By therock003 in forum Newbie / General discussionsReplies: 2Last Post: 11th Jan 2021, 04:03 -
.MPG to Plex
By Guphanti in forum Video ConversionReplies: 2Last Post: 27th Aug 2019, 11:47 -
Ripping to Plex?
By Guphanti in forum Blu-ray RippingReplies: 11Last Post: 9th Jun 2019, 21:22 -
Anyone able to DL videos from a shared Plex ?
By paintedblack in forum Video Streaming DownloadingReplies: 0Last Post: 17th Oct 2018, 21:48