Questions tagged [transcoding]

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

372 questions
40
votes
3 answers

Re-sampling H264 video to reduce frame rate while maintaining high image quality

Here's the mplayer output for a video of interest: br@carina:/tmp$ mplayer foo.mov mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, consider re-linking MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team mplayer: could not…
BrianTheLion
  • 2,618
  • 2
  • 29
  • 46
29
votes
2 answers

Converting an HLS (m3u8) to MP4

Can anyone advise on how to construct an MP4 file from an HLS stream (the reverse of what you usually want)? Say I have the m3u8 - is there a straightforward way of getting a single MP4 using FFMPEG or some other tool?
orcaman
  • 6,263
  • 8
  • 54
  • 69
22
votes
5 answers

HTML5

So from my web server, I would like to use FFMPEG to transcode a media file for use with an HTML
TooTallNate
  • 1,477
  • 3
  • 20
  • 41
22
votes
2 answers

FFMPEG: Transmux mpegts to mp4 gives error: muxer does not support non seekable output

When piping mpegts to ffmpeg, which should convert it to mp4 and pipe to stdout, ffmpeg says: "muxer does not support non seekable output". After a lot of research I came to the conclusion that mp4 is a bad choice for doing those kinds of on-the-fly…
Kr0e
  • 2,149
  • 2
  • 24
  • 40
21
votes
3 answers

How do I transcode a Javascript string to ISO-8859-1?

I'm writing a Chrome extension that works with a website that uses ISO-8859-1. Just to give some context, what my extension does is making posting in the site's forums quicker by adding a more convenient post form. The value of the textarea where…
21
votes
2 answers

What is the difference between AV_SAMPLE_FMT_S16P and AV_SAMPLE_FMT_S16?

What happens when you do a conversion from AV_SAMPLE_FMT_S16P to AV_SAMPLE_FMT_S16? How is the AVFrame structure going to contain the planar and non-planar data?
Harit Vishwakarma
  • 2,338
  • 4
  • 21
  • 36
18
votes
5 answers

Dump last frame of video file using ffmpeg/mencoder/transcode et. al

I'd like to grab the last frame in a video (.mpg, .avi, whatever) and dump it into an image file (.jpg, .png, whatever). Toolchain is a modern Linux command-line, so things like mencoder, transcode, ffmpeg &c. Cheers, Bob.
bobbogo
  • 14,989
  • 3
  • 48
  • 57
14
votes
1 answer

Can HTML5 Play a .mpd Manifest File Through Its Video Tag?

I have a Movie_Manifest.mpd file that is made up of 5 .webm video streams (consisting of different sizes and bps) and 1 audio file. The question I'm asking is: can it be played through a "simple" HTML5 video tag? I've tried this and it doesn't…
alexs973
  • 183
  • 1
  • 3
  • 16
13
votes
1 answer

Upload FFmpeg output directly to Amazon S3

I am using the fluent-ffmpeg library with node.js to transcode videos originally in a flash movie format to the mp3 format with multiple resolutions, 1080p, etc.. Once the transcoding is complete, I would like to move the transcoded video to an s3…
user1790300
  • 2,143
  • 10
  • 54
  • 123
12
votes
2 answers

ffmpeg does not copy custom metadata

I'm trying to fix some videos made with an iDevice. The videos have a rotation in the metadata which is only understood by Apple and its software but noone else. Fixing this is quite simple, but I also would like to keep the other metadata in the…
e110c0
  • 121
  • 1
  • 4
11
votes
3 answers

How to use AVAssetReader and AVAssetWriter for multiple tracks (audio and video) simultaneously?

I know how to use AVAssetReader and AVAssetWriter, and have successfully used them to grab a video track from one movie and transcode it into another. However, I'd like to do this with audio as well. Do I have to create and AVAssetExportSession…
akaru
  • 6,299
  • 9
  • 63
  • 102
10
votes
2 answers

Transcoding Audio/Video/Image file in Android Device

I am working on a chat application like whatsApp, I want to transcode media file before uploading to server,I have gone through so many links but not able to decide which method i should use, is there any straight forward way of transcoding in…
Anshu P
  • 63
  • 4
  • 14
10
votes
6 answers

How do I programmatically convert FLV video files to MP4 using a shell script in OS X?

I want to batch convert a directory containing hundreds of FLV files so that each file has a MP4 equivalent. I'm trying to automate this process by writing a shell script and running it from the Terminal. How do I go about doing that? Most of the…
GeneQ
  • 7,485
  • 6
  • 37
  • 53
10
votes
1 answer

FFMPEG audio transcoding using libav* libraries

I am writing an audio transcoding application using ffmpeg libraries. Here is my code /* * File: main.cpp * Author: vinod * Compile with "g++ -std=c++11 -o audiotranscode main.cpp -lavformat -lavcodec -lavutil -lavfilter" …
vinvinod
  • 541
  • 5
  • 13
9
votes
2 answers

How to set bitrate limit in FFMPEG

How can I limit bitrate of a transcoding video in FFMPEG to keep it under a limit value?
Mahdi Ataollahi
  • 4,544
  • 4
  • 30
  • 38
1
2 3
24 25