Questions tagged [transcode]

105 questions
0
votes
0 answers

Android ffmpeg very slow to transcode

In Android phones (different phone models) it takes ffmpeg 5x the length of the video to transcode. A 1-minute video takes near 5 minutes to transcode. I have tried the following to improve performance and nothing has helped, -b:v 16K to 1024K -s…
Nat
  • 300
  • 3
  • 8
0
votes
1 answer

How to convert AC3 to AAC on Windows from the CLI

I have a large number of MKV files with AC3 tracks that I want to re-encode to include an AAC track using a script. My current approach has been to extract the AC3 track (mkvextract) and attempt to re-encode that as AAC and then merge that back in…
fubar
  • 21
  • 3
0
votes
1 answer

FFmpeg with node.js. Transcode a file to another format

Have a bit of a problem with this, I have an .avi file in which I would like to transcode into a .flv file using FFmpeg, here is what I have so far: var ffmpeg = require('fluent-ffmpeg'); //make sure you set the correct path to your video file var…
user2757842
  • 651
  • 1
  • 11
  • 24
0
votes
1 answer

FFmpeg playing audio slowly after conversion from AAC

I'm attempting to convert an AAC audio stream for playback. I've discovered that I need to convert from AV_SAMPLE_FMT_FLTP to AV_SAMPLE_FMT_S16 but when I do so the audio plays back at about half speed. swr = swr_alloc(); assert(av_opt_set_int(swr,…
AnthonyM
  • 1,115
  • 2
  • 10
  • 20
0
votes
0 answers

MOV to AVI Conversion - file size 0 bytes

I want to convert a MOV file to AVI file as a part of my project. The MOV is getting converted properly from a set of JPEG files. But am not able to convert the MOV to AVI. It says the output .avi file is of 0 bytes. Can somebody help please? Here…
0
votes
2 answers

Move newly created file

I have the following code and after the transcode finishes i wish to move the newly created file. But only after, i don't want to write to the other folder as it trancodes. That is why i presume using exec is better as this will only be processed if…
Keelan
  • 325
  • 1
  • 4
  • 12
0
votes
1 answer

Flash embedding image from string parameter

I'm trying to embed an image in the constructor of my RangedItem class public class RangedItem extends Item{ public var speed:Number; public function RangedItem(s:Number, n:String, d:Number, path:String):void{ super(n, d); …
heems
  • 83
  • 3
0
votes
2 answers

Problems with matching up PHP strings

I am making a page that transcodes videoes to different formats. My problem is that I want to skip transcoding mp4 files to mp4. So I have exploded the file extension and that works nicely. I am renaming the files I transcode with an added parameter…
Tom
  • 1,747
  • 5
  • 23
  • 39
0
votes
0 answers

How reset PTS while converting with FFMPEG

While converting *.ts file with ffmpeg, I want to set the start pts to be 10, or other pts. How can I do that? Some people said setpts can help. I tried, but failed. Maybe my command is not correct, so what is the correct way?
0
votes
1 answer

FFMPEG: i need audio channels 7 & 8 to be the main audio track for a video

I have a video with 8 channels of audio. I need tracks 7 (Left Stereo) and 8 (Right Stereo) to be the audio for the video (which I'm converting to flv). I've tried playing with -filter_complex and the join, amix, and amerge filters, as well as the…
lo_fye
  • 6,790
  • 4
  • 33
  • 49
0
votes
1 answer

FFMPEG live transcoder aac_latm audio crash

i am trying to use ffmpeg as a live transcoder to transcode tv channels from udp input to rtmp output to a wowza server. i have 2 kinds of input channels in 1st kind the input audio is mp2 and in the second kind the input audio is acc_latm. my…
0
votes
0 answers

Watch folder and transcode videos

I have a folder with multiple sub-folders, each of which contains multiple file formats like FLV, F4V, WMV, MOV, AVI, M4A, VOB & MPG . I want to convert all files to MP4 format and save the converted video in the destination path by automatically…
user735647
  • 415
  • 2
  • 13
  • 19
0
votes
0 answers

Transcoding with ffmpeg libfaac reduces the audio duration

I have to transcode a mpegts file: input.ts(H.264 and AAC) So I use the following command line: ffmpeg -y -i input.ts -acodec libfaac -vcodec copy out.ts But I find that the duration of output.ts's audio is shorter than that of the input.ts! If I…
sky609
  • 109
  • 1
  • 1
  • 6
-1
votes
1 answer

Maintain keyframes when transcoding and removing b-frames

I need to transcode a video from H.265 in a .mov container to H.264 in a .mkv container and would like to remove b-frames. The command to do that with ffmpeg is relatively straightforward [0], but it appears to be removing keyframes and using scene…
Dave Johansen
  • 889
  • 1
  • 7
  • 23
-1
votes
1 answer

where I can get video encoding cookbook/ PDF/ tutorial

I need some reference (cookbook, PDF, tutorial or anything) for all about transcoding video things. it will pleasure if anyone here can help me. Thanks
Khalid
  • 887
  • 2
  • 13
  • 26
1 2 3 4 5 6
7