Transcoding is the direct digital-to-digital data conversion of one encoding to another (video and audio format)
Questions tagged [transcoding]
372 questions
0
votes
0 answers
Transcoding WAV audio to AAC in an MP4 container using FFmpeg C API
I'm trying to compose source video and audio into a final MP4 video.
I have a problem with the WAV audio. After decoding and filtering, I'm getting an error from the output encoder: [aac @ 0x145e04c40] more samples than frame size
I initially used…

vstrom coder
- 297
- 1
- 8
0
votes
0 answers
How to video transcode with the help of @google-cloud/video-transcoder, where video stored in cloud bucket and project is running in my local Machine
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
const projectId = 'clirnet-dev';
const location = 'asia-south1';
const inputUri = 'gs://video-test/video.mp4';
const outputUri = 'gs://video-test/';
//const…

Palash Samanta
- 3
- 3
0
votes
0 answers
How to make AviSynth+ plugin ffms2 transmux all streams?
I know how to transmux all streams in native FFMPEG, but sometimes some source encodings require me to use ffms2 plugin for AviSynth+. From the documentation, I assume that streams need to be selected manually there. ffms2's vtrack = -1, atrack = -1…

HCLivess
- 1,015
- 1
- 13
- 21
0
votes
1 answer
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 audio with glitches that is clearly not what ffmpeg…

whatdoido
- 1
- 1
0
votes
1 answer
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 {
listen 1935;
application src {
…

8f7an
- 1
- 2
0
votes
0 answers
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 decoding the bitstream into a video at client…

esse non videri
- 29
- 2
0
votes
1 answer
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.
However, in Kurento logs, the transcoding is always…

Gary
- 11
- 4
0
votes
1 answer
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 different resolutions.
The command below is what I've…

Macster
- 81
- 2
- 9
0
votes
1 answer
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 the list of input files to generate a WAV file…

xtingray
- 383
- 1
- 3
- 9
0
votes
0 answers
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 files.
I had a hard time deciding if this should…

Emir Geçir
- 1
- 1
0
votes
1 answer
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 duration of output video is more than input 2…

prostraction
- 1
- 2
0
votes
0 answers
ffmpeg stalls before begining transcoding if start position is big
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=512x288,setdar=16/9" -r 30 -b:v 500k -b:a 96k -ar 44100 -preset…

Razor
- 359
- 2
- 11
0
votes
1 answer
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 by {
string id = 2;
string name = 3;
…

TheTisiboth
- 1,431
- 1
- 6
- 13
0
votes
1 answer
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-mentioned directories, where codec_name is the name of…

Slav
- 147
- 2
- 13
0
votes
1 answer
How can I run VLC command from c#
I'd like to know if there's a way to use vlc arguments from C# program using VlcSharp(any other API for vlc libraries will be acceptable as well).
I need to change codec of a video, that's why I have to do something like this: --no-repeat --no-loop…

Саня Рыбалко
- 15
- 1
- 5