Category : ffmpeg

I need to send a fairly long command using python docker SDK ffmpeg -f lavfi -re -i smptebars=duration=60:size=1280×720:rate=30 -f lavfi -re -i sine=frequency=1000:duration=60:sample_rate=44100 -pix_fmt yuv420p -c:v libx264 -b:v 1000k -g 30 -keyint_min 120 -profile:v baseline -preset veryfast -f mpegts "srt://127.0.0.1:4200?pkt_size=1316" I have an example where you ned to wrap each element in double quotes. container1 ..

Read more

I’m facing an issue with my docker build. I have a dockerfile as follow: FROM python:3.6 RUN apt-get update && apt-get install -y libav-tools …. The issue I’m facing is that I’m getting this error when building on ubuntu:20.04 LTS E: Package ‘libav-tools’ has no installation candidate I made some research and found out that ..

Read more

I have a ffmpeg Dockerfile function that I deploy to my OpenFaaS: FROM ghcr.io/openfaas/classic-watchdog:0.1.5 as watchdog FROM jrottenberg/ffmpeg:4.1-alpine RUN mkdir -p /home/app COPY –from=watchdog /fwatchdog /usr/bin/fwatchdog RUN chmod +x /usr/bin/fwatchdog # Add non root user RUN addgroup -S app && adduser app -S -G app RUN chown app /home/app WORKDIR /home/app USER app # Populate ..

Read more

I use the shaka packager to create a .mpd file from the live stream. For that, I used the following command to packaging stream. packager ‘in=udp://127.0.0.1:40000,stream=audio,init_segment=audio_init.mp4,segment_template=audio_$Number$.m4s’ ‘in=udp://127.0.0.1:40000,stream=video,init_segment=h264_480p_init.mp4,segment_template=h264_480p_$Number$.m4s’ –mpd_output h264_live.mpd And I executed this command to generate an SDP file. ffmpeg -re -stream_loop 100 -i input.mp4 -vcodec copy -an -f rtp rtp://127.0.0.1:11111 -sdp_file saved_sdp_file -acodec copy ..

Read more

I don’t know what’s going on. A script run by Django works fine, but not through Docker and Django. An error is returned: Pic Errno 2 No such file or directory Below is the code of the function with the error and the code of the Dockerfile. ”’ def mediainfo(filepath): Original code: prober = get_prober_name() ..

Read more