[ home / overboard ] [ date ] [ soy / qa / raid / incel ] [ int / pol ] [ a / biz / fit / mtv / r9k / sude / tech / v / x ] [ q / news / chive / rules / pass / bans / status ] [ booru / wiki ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: chud.png 📥︎ (5.24 MB, 1172x1172) ImgOps

 â„–45004[Quote]

ffmpeg -i chud.png -pix_fmt rgb24 -f rawvideo - | mpv -

 â„–45005[Quote]

File: file2png.c.txt 📥︎ (3.58 KB)

>>45004 (OP)
source code:

 â„–45006[Quote]

>>45004 (OP)
OYYYYY DOCTOOOOOOOOOOOOOOOOOOOS ITS EMBEDDED DAISYS DESTRUCTION OYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

 â„–45009[Quote]

>>45006
there is no dd or cp embedded into this, you'd have to check /bin/cp and /bin/dd for that on UNIX.
Also, if you are embedding mpeg4 videos, make sure to have -movflags faststart
tl;dr:
ffmpeg -i input.mp4 -c:a copy -c:v copy -movflags faststart output.mp4
Otherwise, most media players won't play nice with streamed stdin, and you'd have to write it to a file first, because not having faststart requires random reads for headers that are slapped at the end of the file rather than sequential ones.
Why are they at the end of the file and not in the header where they belong? Don't ask me, mpeg4 is retarded.



[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ date ] [ soy / qa / raid / incel ] [ int / pol ] [ a / biz / fit / mtv / r9k / sude / tech / v / x ] [ q / news / chive / rules / pass / bans / status ] [ booru / wiki ]