Is it possible to somehow load an unpopular codec into a container (avi, mpg or mkv) so that the video is supported by any player? That any video player is decoded with a built-in video decoder.
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 17 of 17
Thread
-
-
-
-
-
-
-
I just need to put the decoder in the video, and anything that the player (almost any) can read the video, and determine its type, for example, as mpeg-4, or uncompressed, the internal decoder will do all the work and transfer the stream to the video player. It sounds silly, but I can not describe it differently. I just found the right codec, and it does not work in 95% of the video players
-
No you can't do this the way you describe.
You can bundle a specific player combination with a video in an exe. But in general, a random 2nd player won't support input from the 1st player unless you make some custom code
There are ways you can "emulate" a virtual video, such as by frameserving and mounting (e.g. avisynth, vapoursynth, avfs) , but it's probably not what you want . But to the other program it "looks" like an uncompressed video
Which codec are you referring to ?
Maybe try describing WHY you are doing this , it might help with the language issues and provide background info for other workarounds . There might be other ways to get the same results in the end with other methods -
FFV1 is supported by most players that use ffmpeg code base . This is the majority of open source players. FFV1 is open source .
But YULS is YUVsoft lossless codec - it's not open source, not in ffmpeg . So support must be installed locally
Why don't you just use a player like VLC , or SMplayer or dozens of other derivatives? There are portable versions that don't require install. So you can bundle the video with the player if you are travelling, put on usb stick, or handing off to someone else
Again WHY are you doing this ? -
-
Did you mean side by side, simultaneously ? As in a comparison ? Because VLC, SMplayer, etc.. dozens of other can play FFV1 and MPEG2
If you mean comparison, you can use an avs script to view them together with stackhoriztonal(a,b) , or stackvertical(a,b) . Assuming they have the same video in terms of framecount , dimensions, fps etc... You can playback avs in mpchc for example . ffplay and mpv too and a few others
Where are any links at least? I have no idea how to embed a codec in a video
I don't think you can do this the way you described later, at least not very easily. You can use the virtual file workarounds mentioned earlier, but they are not "embedded" in a single container . The end result is a single "fake" AVI , but it requires other things like avisynth, mounting. But maybe that's ok for what you're trying to do in the end , which you still haven't described -
No.
Maybe I should clarify. It's possible in theory. But I'm not aware of any player designed to do that. The closest might be Windows Media Player which will automatically download and install WMV/WMA codecs if they aren't already installed (and the feature is enabled, and an internet connection is available). The technique would also be wasteful since every video file would have to include the decoder.Last edited by jagabo; 27th Feb 2018 at 18:59.
-
I believe what the OP is asking is whether it is possible to embed decoder code into the video stream so that any player/editor app that attempts to use that video stream will ALREADY have a means to decode the stream, regardless of the app.
The answer is: NO.
None of the containers, the bitstreams, nor the multimedia infrastructures currently support embedded self-decoding. And we should ALL be glad they don’t. At one time a decade or so ago I thought that might be a novel answer to the question of universality, but the rise of h264 and mp4 or mkv and the growth of open source codecs and architectures (LAV Filters, Ffmpeg...) makes this a moot point.
It’s a good thing, too, because going down the path of embedded decoders could very easily lead to malware exploits.
Give up this goofy quest, Megafox, and just use standard format, common denominators as your choice of distribution.
ScottLast edited by Cornucopia; 27th Feb 2018 at 19:36.
-
OK, if the desire is to embed the decoder, that would be a really bad idea because, if you actually could do that, since such a decoder would have to be a DLL, it would be a wonderful way to deliver a virus. No operating system would allow such a thing.
As others have said, it is true that Windows will download and install a codec, which is close to what you are asking, but the virus possibilities are low because we all trust Microsoft ... well, many people do.
So my advice is to learn how Microsoft downloads codecs, make sure the codec you want to have used is available from then, and leave it at that. -
And I believe there should be a strong differentiation between “Content” and “Actor/Action/Program” data. Noun & verb.
Scott
Similar Threads
-
"codec not supported in container" error, on exporting to mp4 from Vi
By johnyradio in forum Video ConversionReplies: 5Last Post: 25th Jan 2018, 05:27 -
Surround sound music - best container/codec for quality and compatibility?
By danmosa in forum Newbie / General discussionsReplies: 9Last Post: 18th Aug 2016, 10:35 -
Best Container / Video Codec for In-Stream Video Preroll
By Morales in forum Newbie / General discussionsReplies: 8Last Post: 27th Mar 2014, 10:42 -
muxing audio and video from hevc encode to final video container
By vhelp in forum AudioReplies: 24Last Post: 21st Nov 2013, 10:31 -
convert h264 avi container to mp4 container
By azukich in forum Video ConversionReplies: 0Last Post: 6th Apr 2013, 16:09