19:48
I'm trying to create a video steganography python script. The algorithm for hiding will be...
convert any video codec into h264 lossless
save the audio of the video and split the h264 video into frames
hide my txt secret into frame0 using LSB replacement method
stitch the video back up and put in the audio
...and when I want to recover the text, I'll
save the audio of the video and split the encoded h264 video into frames
retrieve my hidden text from frame0 and print the text
So, this is what I can do:
split the (...)
18:49
My goal is to take two audio inputs and merge them. The below works for this, however, I want a continuous output stream even when only one of the two inputs are being streamed into FFmpeg. The below only produces an output when the stdin pipe input is receiving audio.
Here I have an FFmpeg child process where one input is a stream from the device's microphone, the other comes from wav audio buffers sent to the server in clips by a client.
ⓐInjectable()
export class AppService
ffmpegProcess: ChildProcessWithoutNullStreams;
constructor()
(...)
18:19
I have written a google chrome extension using local ffmpegwasm files (no need to run a server or download any ffmpegwasm files), which allows users to click an injected 'download' button under Reddit videos (via content_scripts). This was working great on ffmpegwasm v11, but since migrating to v12 (latest version) I have been unable to solve the following exception which is triggered during ffmpeg.load(): as seen in chrome's console log:
DOMException: Failed to construct 'Worker': Script at 'https://www.redditstatic.com/814.ffmpeg.js' cannot be (...)
18:04
I have a FFmpeg-Python program that puts subtitles into a video, pseudocode below:
for i in range(10000):
video= video.filter(
'drawtext', fontfile=FONT_FILE, text=cur_string, x='(w-text_w)/2', y='(h-text_h)/2',
fontsize=FONT_SIZE, fontcolor=FONT_COLOR, borderw=2, bordercolor=FONT_OUTLINE_COLOR,
enable=f'between(t,i,i+1)')
video.output(PATH).run()
The code above gives the following error:
FileNotFoundError: [WinError 206] The filename or extension is too long
My questions are:
(1) Is (...)