1. h264로 트랜스코딩 (mkv로)
ffmpeg -i 원본파일 -vaapi_device /dev/dri/renderD128 -vcodec h264_vaapi -vf format='nv12|vaapi,hwupload' -acodec copy(혹은 ac3등) 출력파일
2. mkv로 embeded 자막추가 (mp4도 같은방식)
ffmpeg -i 원본파일 -sub_charenc cp949 -i 자막파일.smi -codec copy -scodec srt -metadata:s:s:0 language=kor 출력파일.mkv
<트랜스코딩과 자막 Embedding을 동시에>
ffmpeg -i 원본파일 -sub_charenc cp949 -i 자막파일.smi -vaapi_device /dev/dri/renderD128 -vcodec h264_vaapi -vf format='nv12|vaapi,hwupload' -acodec copy(혹은 ac3등) -scodec srt -metadata:s:s:0 language=kor 출력파일
3. concat (파일 합치기)
concat.txt를 다음과 같이 만듬
file "첫번째파일" file "두번째파일" ...
이후 다음 실행
ffmpeg -f concat -i concat.txt -c copy 출력파일
2에서 각각 자막을 embed 시켰다면 3에서도 제대로 나옴.
You made several fine points there. I did a search on the subject matter and found nearly all people will consent with your blog. Merrili Gabbie Fridell
Pretty! This has been an extremely wonderful article. Many thanks for providing this info. Tami Lyle Farrica
I appreciate you sharing this post. Much thanks again. Fantastic. Ethelyn Ky Spalding
Well I really enjoyed reading it. This information provided by you is very useful for good planning. Arliene Fonsie Thaddus
Way cool! Some extremely valid points! I appreciate you penning this write-up plus the rest of the site is also really good. Laure Thedric Valdas
Loving the info on this site, you have done great job on the blog posts. Rora Auberon Misty
Looking forward to reading more. Great blog post. Fantastic. Ardella Andre Monreal
You beget a very interesting website. I like the whole word that you accommodate with every article. Lissi Gery Ardyce
Appreciation to my father who shared with me on the topic of this website, this blog is in fact remarkable. Laurie Constantin Shiau
Levitra Curativo Treneuts cialis DakBiomo Clomid Effets Indesirables
I got what you intend,bookmarked, very decent website.
I am incessantly thought about this, thanks for posting.
I reckon something truly special in this website.
Some really great info, Gladiola I detected this. I’m not spaming. I’m just saying your website is AWSOME! Thank you so much! Please vist also my website.
Really nice design and good subject material. Please also check my website. I love cars!
how can i get viagra in montreal quebec canada viagra 200mg to buy cheaper viagra
Wohh just what I was searching for, appreciate it for posting. I love your website!
Wohh just what I was searching for, appreciate it for posting.
You have remarked very interesting details! ps nice site.
I believe this internet site has got very great indited written content posts.
Świetny post. Bardzo ciekawie opisany artykuł. Jak możesz sprawdź stronę o samochodach u mnie! Do zobaczenia!
Very interesting details you have noted, appreciate it for putting up.