365 questions
1
vote
1
answer
212
views
How to use AMD AV1 hardware encoder with `MediaTranscoder`?
I am using MediaTranscoder with GraphicsCaptureItem to capture screen and record to a compressed video file.
I have Radeon 860M (built into Ryzen AI 7 350), that supports hardware encoding of H.264 ...
0
votes
0
answers
30
views
Bash script to automate FFmpeg operations fails when calling the command, but copy-pasting the generated command into the terminal works [duplicate]
I wrote a bash script which automates a number of conversion operations on video files using FFmpeg. Oddly enough, the FFmpeg call itself now fails when running the script, with a very confusing error ...
1
vote
0
answers
74
views
Issues with Switching from VOD to Live RTMP Stream Using input-selector
I am new to GStreamer. I have a pipeline that streams a VOD file to an RTMP output. I added a live RTMP stream as a second input and used input-selector to switch between them. However, after ...
0
votes
0
answers
52
views
Transcoding job fails with code 13 Internal Error
At first I thought maybe the issue is that videos are without audio so I changed the config settings but when ever I upload the video I get internal error
Here's the code for reference, is there error ...
1
vote
0
answers
250
views
Nodejs opus audio streaming transcode on the fly
I'm not used to working with audio/video streams, so I am not sure how many wrong things I'm doing right now.
The intention is to send opus-encoded audio (using 'audio/webm; codecs=opus' from Chrome) ...
0
votes
1
answer
271
views
AWS MediaConvert generating double length video
I am new to aws media convert. I am trying to convert the video but the final output video becomes double the length from the original one. for example if I have a video 30 seconds long, it will ...
0
votes
1
answer
310
views
GCP transcoder API is very slow with HEVC (h.265) videos
Processing videos from iphone (15 pro) encoded with h.265:
Stream #0:0[0x1](und): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, bt2020nc/bt2020/arib-std-b67), 1920x1080, 15043 kb/s, 30 ...
1
vote
1
answer
562
views
How do I stop AWS Elemental MediaConvert chopping off the quiet part of my audio?
Basically I have the same issue mentioned here: https://repost.aws/questions/QUp6krkiXUSmu6YMln7dnHdw/aws-media-convert-removes-silent-audio-which-causes-the-output-video-to-be-severly-out-of-sync-...
1
vote
0
answers
162
views
Undefined class constant 'PAGINATED_CALL' in google/cloud-video-transcoder/src/V1/resources/transcoder_service_descriptor_config.php:87
I am trying to use Google Video Transcoding API from PHP. Following is the environment:
google/gax: v1.18.2
google/google/cloud-video-transcoder: v0.8.1
However, I am getting following error message:
...
-2
votes
1
answer
156
views
Why FFmpeg transcode with strips
I have MJPEG video. I want get VP9 webm video.
ffmpeg -loglevel verbose -i "input.yuvj422p" -pix_fmt yuv420p -c:v libvpx-vp9 -crf 20 -b:v 0 constantQualityExample.webm
And it works ok (...
2
votes
1
answer
5k
views
How to use ffmpeg to upscale video resolution with libplacebo?
In Vapoursynth, it is convenient to download and use plugins to change the frame rate of videos. However, it seems that using FFmpeg has more limitations (or maybe I haven't found the right method). ...
1
vote
0
answers
339
views
Converting a voice recording into an mp3
For a vue.js messaging project, I'm using the wavesurfer.js library to record voice messages. However Google chrome gives me an audio/webm blob and Safari gives me an audio/mp4 blob.
I'm trying to ...
0
votes
1
answer
762
views
Is x-Protostream encoding supported in Keycloak version 21.x
I have setup Keyclock v21.x on Kubernetes along with Infinispan v14.x.
In Infinispan, I have created distributed caches named sessions, offlineSessions, offlineClientSessions, actionTokens,...
0
votes
1
answer
67
views
SSIS optimizing "value decoding" on ETL data flow
I'm developing a series of ETL procedures for a migration project using SSIS/DataTool 2010.
I have multiple cases where I have to decode source values with new target ones, i.e in Customers addresses
...
1
vote
1
answer
666
views
"sws_scale_frame" function not found in libswscale/swscale.h
I am trying to scale a video from 1080p to 480p. However, whenever I am calling sws_scale_frame() function, I keep getting undefined reference. When I checked the header file, I found that the ...
0
votes
0
answers
94
views
where can one find old patches/curated versions of ffmpeg for qsv (mpeg2_qsv)?
for the past year or so the mpeg2_qsv encoder in ffmpeg/libmfx has been broken due to a idr interval problem (sends only one idr frame at the start of the video rather than sending idr frames at a ...
0
votes
0
answers
374
views
video encoding and decoding performance compare in linux and windows
I wrote a simple gstreamer pipeline to decode and re-encode h.265 to h.264: avdec_h265 | x264enc. On the same hardware, I found the cpu usage is much less in windows compared to linux. Any idea why ...
0
votes
0
answers
1k
views
MOOV atom not found in MOV in 5 of 9 files from the same camera
I have 9 files: FHD001.MOV to FHD009.MOV. They come from 3 recordings: FHD001, FHD002-FHD007 and FHD008-FHD009. Apart from FHD001 and FHD007 all are about 2.3GB each.
With ffmpeg I can transcode ...
1
vote
1
answer
213
views
C# Encoding.CreateTranscodingStream does not output file with desired target encoding
I have the following piece of code:
using (Stream inputFileStream = File.OpenRead("C:\\Users\\User\\Downloads\\test.txt"))
{
using (Stream transcodingStream = Encoding....
2
votes
1
answer
3k
views
ffmpeg with Quick Sync Video (qsv) gets stuck
I've compiled ffmpeg in an Arch Linux distribution with support to Intel Quick Sync Video. But ffmpeg gets stuck when I try to run it:
$ ffmpeg -debug -hwaccel qsv -qsv_device /dev/dri/renderD128 -c:v ...
0
votes
1
answer
3k
views
encode video using ffmpeg start at frame
I use
ffmpeg -i my_video.mp4 -vf scale=1024:-1 my_video.avi
to encode/transcode a video.
Now i would like to do the same thing but start at frame X.
How can I do that?
1
vote
1
answer
4k
views
FFmpeg hevc_nvenc encoder B Frame problem
I'm using the latest FFmpeg windows Build (2022-12-02 12:44) from BtbN.
I'm trying to encode a video into HEVC codec using hevc_nvenc encoder. But it says [hevc_nvenc @ 00000263983f4280] B frames as ...
1
vote
1
answer
3k
views
How to extract fully synced audio with ffmpeg?
I have an MP4 file with video and audio. I need to extract the audio stream only to an MP3 file.
However it is critical for our application that the timing / synchronization of the audio file is ...
2
votes
1
answer
2k
views
Transcode Video to play on a raspberry pi (3/4) with ffmpeg
For a while now I transcode videos to play on a raspberry pi 3 (or 4) but the performance was always really bad.
After a long process of trial and error I found a command which works good most of the ...
0
votes
1
answer
1k
views
ffmpeg: libavformat/libswresample to transcode and resample at same time
I want to transcode and down/re-sample the audio for output using ffmpeg's libav*/libswresample - I am using ffmpeg's (4.x) transcode_aac.c and resample_audio.c as reference - but the code produces ...
1
vote
0
answers
764
views
Run ffmpeg with ICMv audio codec
Is it possible to transcode an .wav file that uses ICMv audio codec to a .wav or .mp3 file that uses a traditional Codec?
I have multiple files that uses ICMv audio codec and I would like to convert ...
4
votes
1
answer
944
views
/* in transcoding from HTTP to gRPC
rpc CreateBook(CreateBookRequest) returns (Book) {
option (google.api.http) = {
post: "/v1/{parent=publishers/*}/books"
body: "book"
};
}
message CreateBookRequest {
...
0
votes
1
answer
1k
views
How do i change the resolution of a outgoing hls stream using ffmpeg?
I am using nginx with ffmpeg to stream my live stream and i want to reduce the resolution of it, but it plays the video in high quality everytime
here's my nginx code
events {}
rtmp {
server {
...
-1
votes
1
answer
344
views
How to transcode audio stream once but use in two outputs with also video streams transcoded separately?
I wish to optimize the process of video transcoding. Exactly I need to get two different video resolutions with the same audio stream options, but now I transcode audio stream twice (as I think ffmpeg ...
-1
votes
1
answer
1k
views
Is there a way to specify the decoder in ffprobe
I am using ffprobe to extract information from a video file using following command on AWS VT1 that has hardware accelerated decoders available
ffprobe -of json -show_streams -show_frames -...
0
votes
0
answers
137
views
I want to find a way around transcoding while containing bitstream into a file
Now that I added a recording function using RecordRTC with mediasoup, I would like to do away with transcoding during the process.
current dataflow :
Can I contain the bitstream into a file without ...
0
votes
1
answer
332
views
Unexpected video transcoding
I'm trying to run the Kurento-player tutorial with my DLink local cameras using the Chrome browser as client. The DLink cameras provides RTSP with H.264 encoding; so does Chrome as far as I know.
...
0
votes
2
answers
5k
views
VLC RTSP HTML5 transcoding
I'm trying to get audio streaming on an HTML page from an RTSP server.
The RTSP server is the rtsp-simple-server running a command line below.
./rtsp-simple-server rtsp-simple-server.yml.
The ...
0
votes
1
answer
434
views
FFMPEG Picture in picture with DASH
I'm using FFMPEG to transcode a video into different resolutions and it's working fine. But now I want to merge two videos picture in picture, as one video, which then has to be transcoded into ...
1
vote
1
answer
360
views
Libav API: Filtering + Transconding
I need to process a list of several audio files (MP3 and WAV) and mix them to generate an audio stream (AAC codec / fltp) to be included into an mp4 file (using the Libav API).
Currently, I can mix ...
0
votes
0
answers
428
views
How does big companies transcode/encode videos so fast?
For example how does Facebook, YouTube, Reddit and many countless sites encode videos so fast? Do they all have in-house solutions? Tools like FFMPEG and Handbrake are alot slower to how they process ...
0
votes
1
answer
1k
views
c++, ffmpeg tanscoding: time_base differs depending on the container
I transcode video (mkv and mp4). When mkv transcoded to mkv, output is fine (output video fps and duration are same as input), but if mkv transcoded to mp4, output fps is less than input 2 times and ...
1
vote
0
answers
373
views
Compute accurately the pts and dts of a video packet
Is there a way to compute the encoded AVPacket.pts and AVPacket.dts? If the encoded packet doesn't contain a duration?
I tried computing it by starting the timestamp at 0, then increase that timestamp ...
-1
votes
1
answer
596
views
Strange problem with reencoding AUDIO with FFMPEG from UDP Multicast MPEG TS stream
I want to re-encode the audio streams from mp2 to aac from one udp multicast MPEG TS Stream top another.
I have an udp multicast mpeg ts streram with 1 video, 3 audio, and 1 subtitles streams inside. ...
1
vote
2
answers
336
views
How to keep streaming if initial client loses connection?
I'm working on an app that streams out multiple presenters via the Agora Live Streaming protocol. Everything works great so long as the person who started the live stream stays connected, however if ...
1
vote
1
answer
326
views
Styling Agora Live Transcoding Layout
I am using agora web libraries with Javascript to build an application that has live streaming with a live transcoding feature.
Is there any way to style the tiles shown in the Agora Live Transcoding ...
1
vote
0
answers
163
views
How to transcode HDR to SDR in Windows MediaTranscoder API?
How to transcode HDR to SDR in Windows MediaTranscoder API?
Windows provides MediaTranscoder API to transcode video. I am trying to transcode HDR (High Dynamic Range) video into SDR (Standard Dynamic ...
0
votes
0
answers
22
views
ffmpeg stalls before begining transcoding if start position is big [duplicate]
I am extracting part of a large video using the following ffmpeg command and it works fine as long as the -ss X position is few seconds:
ffmpeg -i "test.mov" -ss 2 -t 3 -vf "scale=...
5
votes
1
answer
3k
views
How can I convert a webm file with alpha channel to a hevc encoded file that will play in safari on an IPad?
I've got a webm file with transparency : https://itype.techforge.com.au/assets/videos/upshot/module1/NP_1A.webm
I'm trying to convert it into something that will play in the video element of a web ...
1
vote
0
answers
429
views
RTPEngine transcode Opus to PCMU - unable to change Opus settings from defaults
I am invoking RTPEngine from OpenSIPS to transcode incoming Opus call to PCMU. I`m passing these parameters to the RTPEngine daemon:
codec-mask-opus codec-set-opus/48000/2/32000//maxplaybackrate=32000;...
5
votes
2
answers
6k
views
A good way to detect alpha channel in a video using ffmpeg/ffprobe [closed]
In my Django application, uploaded video files are transcoded into some particular format using ffmpeg.
I now need a way to reliably detect whether uploaded videos have alpha channel or not. I ...
1
vote
1
answer
286
views
Repeating frames (=freeze effect) while transcoding H264 MP4 creates odd artefacts
I'm trying to achieve a freeze frame effect by repeating the same input frame for a few seconds while transcoding H264 to H264 video on a Java / Android platform. I modified https://github.com/...
1
vote
1
answer
2k
views
Fully GPU accelerated (decoding,deinterlacing,scaling,encoding) HLS variable stream with ffmpeg
I'm trying to create a variable HLS MBR live stream using ffmpeg, which will be fully accelerated at the GPU level. This means accelerated decoding, deinterlacing, scaling and encoding. Here is my ...
1
vote
1
answer
1k
views
Transcoding HTTP to gRPC: Same endpoint with different parameters
I already have a working gRPC project working. I'm looking to build an API to be able to do some HTTP requests.
I have the following 2 types:
message FindRequest {
ModelType model_type = 1;
oneof ...
0
votes
1
answer
430
views
FFmpeg possible bug with -pre flag
I was studying the ffpresets and avpresets but I stumbled upon something interesting.
According to the ffmpeg docs:
First ffmpeg searches for a file named codec_name-arg.avpreset in the above-...