TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

FFmpeg libav tutorial – from basic to transmuxing, transcoding and more

142 pointsby dreampeppers99over 5 years ago

8 comments

pornelover 5 years ago
For a second I hoped it'd be an actual low-encoder that does a clever lossless transcoding by treating H.264 data as a subset of H.265 data. But this just feeds frames to ffmpeg.
评论 #21994502 未加载
raszover 5 years ago
<p><pre><code> import encoder encoder(stuff) </code></pre> look, I wrote Minimalist Encoder!
评论 #21996518 未加载
doppelover 5 years ago
Having done something similar to transcode h264 to fragment mp4, there are a ton of pitfalls, weird settings and flags that need to be set to get a &quot;correct&quot; output that will play in most players. FFmpeg&#x2F;libav provides a ton of functionality, but sometimes it&#x27;s like reading javadocs, where you get the interface but have no idea of what to put in.
评论 #21990872 未加载
Already__Takenover 5 years ago
Has h265 got to the point where it&#x27;s always in every case better than h264? I don&#x27;t need to think about it anymore?
评论 #21990498 未加载
评论 #21997662 未加载
评论 #21990594 未加载
评论 #21990970 未加载
ngcc_hkover 5 years ago
It is really good tutorial. Just not aligned when the expectations about programming depth. Really good.
spepsover 5 years ago
Interesting tutorial on libav for sure but the submission title is definitely a bit of a stretch given that it&#x27;s just a libav tutorial and you can probably do the same with ffmpeg directly quite easily. Can we change the title please?
评论 #21990508 未加载
评论 #21990319 未加载
评论 #21990367 未加载
评论 #21997030 未加载
manorwar8over 5 years ago
Great to see it here, simple and educative.
CHsurferover 5 years ago
char* convert(char* str, char find, char replace){<p><pre><code> char *current_pos = strchr(str,find); while (current_pos){ *current_pos = replace; current_pos = strchr(current_pos,find); } return str; </code></pre> }<p>convert(&quot;H264&quot;, &quot;4&quot;, &quot;5&quot;)
评论 #21991096 未加载