Questions tagged [transcoding]

Transcoding is the direct digital-to-digital data conversion of one encoding to another (video and audio format)

372 questions
4
votes
2 answers

Is it a good idea to use HLS for short videos (max 15 seconds)?

I'm building an iOS app that will stream videos with a maximum length of 15 seconds. I read good things about HLS, so I've been transcoding videos with a segment size of 5 seconds. It's good that if the first part of the video takes too long to…
ndbroadbent
  • 13,513
  • 3
  • 56
  • 85
4
votes
1 answer

How to embed subtitles to .mp4 movie using ffmpeg

I'm trying to embed subtitles I wrote to a movie I created. I'm using FFmpeg version: ffmpeg-20150418-git-edbb9b5-win64-static with the command: ffmpeg -i in.mp4 -f srt -i subs.srt -c:v copy -c:a copy -c:s mov_text out.mp4 I saw here. But I get…
hudac
  • 2,584
  • 6
  • 34
  • 57
4
votes
1 answer

RGB to YUV422 conversion with ffmpeg, incorrect colors

I'm trying to convert an 8bit RGB uncompressed to an mpeg2 mxf file (xdcam 422 HD 1080 50i) which is YUV422. With info from the FFMpeg docs and various websites i made the following command: ./ffmpeg -y -i test_lines.mov -pix_fmt yuv422p -vcodec…
user3578571
  • 43
  • 1
  • 5
4
votes
1 answer

How to get Acoustid (Chromaprint) from Java to identify mp3/m4a/etc

Has anyone managed to use acoustid (http://acoustid.org/chromaprint) in an Java application? Accessing the chromaprint clib should be easy but I can't just pass in the audio file. I requires the raw uncompressed audio data. I've tried using xuggler…
rednoah
  • 1,053
  • 14
  • 41
4
votes
2 answers

Is this GPU video transcoding project feasible?

Recently I was approached by a guy who wants to do video transcoding using the GPU. He basically wants me to create him an application that he can sell or gain revenue from advertising. Now he has basically asked me to tell me what I can achieve…
zenna
  • 9,006
  • 12
  • 73
  • 101
4
votes
1 answer

RTSP streaming to Web App (Using VLC 2.0)

I am working on a web app that needs to display streaming video of a remote desktop. We have already implemented this using ffmpeg/ffserver and flowplayer, transcoding the RTSP into .flv format, but it is very fragile and my research has led me to…
MasonWinsauer
  • 673
  • 3
  • 14
  • 32
3
votes
1 answer

How to quantify and compare video quality

I have a set of uncompressed videos in YUV format. I have obtained several derived copies in various formats and resolutions from these yuv files using FFmpeg transcoding. (YUVs ----> X Derived Copies) What I have also done is, transcode the yuv's…
Atish Kathpal
  • 693
  • 2
  • 7
  • 20
3
votes
1 answer

how to encode videos for the web and mobile phones using ffmpeg

I'm running a website where users can upload their videos and they are all trancoded to the same format (mp4 a.t.m.). Up until now I've been using zencoder (transcoding as a service). But I want to start transcoding the videos on my own server. What…
demux
  • 4,544
  • 2
  • 32
  • 56
3
votes
1 answer

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 page in the Safari browser on an IPad. An example of…
Programming Guy
  • 7,259
  • 11
  • 50
  • 59
3
votes
0 answers

How to convert MP3 to wav with external libraries or SDK Android?

I need to convert an MP3 audio file in wav format using java libraries or Android SDK. I tried: JMF Java frameworks and official SOUND library: it is not possible in Android to compile this library because it is older than the Java compiler…
alfredo g
  • 31
  • 2
3
votes
0 answers

ffmpeg: Encoding a single live video stream into different resolutions and keeping them in sync

I'm using NGINX as a simple HLS live video server. Sending an rtmp stream into the server, transcoding it into three different resolutions for delivery using HLS to users with different bandwidth limits. The problem I'm having is that when I take…
Almus
  • 31
  • 2
3
votes
2 answers

Is it possible to determine if a subtitle track is imaged based or text based with ffprobe

I'm writing a script that burns subtitles into video files to prepare them for a personal stream I'm hosting. I'm having a hard time finding which type of subtitle is used in the file. I use ffprobe to get the files' information, and I can get stuff…
Shex
  • 111
  • 8
3
votes
2 answers

Video transcoding problem in IONIC with iOS 13.0

We have an existing IONIC App and since iOS 13.0 has been released we ran into a problem with transcoding videos. When file path is read from camera.getPicture (with sourceType=PHOTOLIBRARY), and passed to videoEditor.transcodeVideo(), it…
3
votes
1 answer

ffmpeg to transcode streaming video and storage

Examples of ffmpeg that I've seen so far all seem to accept a file on disk storage as input, to transcode it into another file in disk storage as output. Also i've come accross ffserver which can be used to stream-out video. However, yet to find a…
bdutta74
  • 2,798
  • 3
  • 31
  • 54
3
votes
2 answers

Slow VP8 and VP9 encoding with ffmpeg

I saw this answer, but it's a little old. Maybe the situation has changed? I want to re-encode a stream from an IP camera to WebM (VP8 or VP9) format with ffmpeg. I need real time speed, but my CPU is a Core i5 (2017) and too busy (load avarage too…
Kirill K
  • 335
  • 1
  • 6
  • 21