Questions tagged [re-encoding]
12 questions
9
votes
1 answer
How can I reencode a video to match another's codec exactly?
When I'm on vacation, I usually use our camcorder to record videos. Since they're all the same format, I can use ffmpeg to concat them into one large, smooth video without re-encoding.
However, sometimes I will use a phone or other camera to record…

Stephen S
- 356
- 1
- 5
- 16
7
votes
2 answers
Is it possible to change volume with no reencode with ffmpeg?
I just had this question because I used the following command with ffmpeg:
ffmpeg -i input.wav -filter:a "volume=0.2" output.wav
Following the documentation here: https://trac.ffmpeg.org/wiki/AudioVolume
However, when I created the new file, the…

John Smith
- 333
- 2
- 3
- 9
3
votes
2 answers
Is it possible to losslessly crop/scale a webp similar to jpegtran
Jpegtran allows fast lossless cropping and scaling of jpegs with certain constraints.
Is there a similar tool to do the same for webp files? I couldn't find one.
Is it even possible?

smremde
- 1,800
- 1
- 13
- 25
3
votes
1 answer
Reencoding to mp4 with FFmpeg results in significantly lower volume
For some reason the mp4's I reencode have very low volume.
ffmpeg -i "\"$FILENAME\"" -sameq -vf "\""movie=/files/logo.png [watermark]; \
[in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10[out]\""" -ac 2 \
-vcodec libx264 -threads 0…

thevoipman
- 1,773
- 2
- 17
- 44
2
votes
4 answers
Re-encoding Wav file to AAC LC, AMR WB/NB
Is there any way to re-encode a PCM wav file to another encoding using standard Android SDK?
I can see that is is possible to directly record from the mic into these formats but the app I'm writing has to record in PCM first.
Due to licensing…

Code Rebel
- 421
- 4
- 14
2
votes
2 answers
ffmpeg batch reencode with subfolders
I am trying to reencode a few hundred videos to X265 but there are many directories that have spaces in the filenames as do some of the files. I have looked at a bunch of scripts and am struggling to find one that works with the spaces and the…

Alan
- 2,046
- 2
- 20
- 43
1
vote
0 answers
Removing one audio track from a movie results in audio desync when copying, but not when reencoding --- why?
I'm trying to remove a superfluous audio track from a movie file. Specifically, this movie on archive.org has the original audio as track 2, and what appears to be a slavic (Russian?) voiceover in track 1. I'd like to get rid of the latter.
I found…

chsk
- 113
- 6
1
vote
2 answers
Re-encoding vlc-created mpeg2 .ts file results in 20 second file; AKA: multi-stream file with hidden streams
I was recording something with vlc off v4l2 (in case that makes a difference), and I just selected the first format that worked, being mpeg2 using TS container. File resulted in .ts extension, as automatically selected by vlc. When I then tried to…

insaner
- 1,641
- 16
- 28
1
vote
2 answers
ffmpeg reencoding of flv files from MAC
I've recorded a video from a webcam on mac and now i'm trying to reencode it, but ffmpeg does not recognize audio stream:
FFmpeg version git-120610e, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 21 2010 15:56:57 with gcc 4.4.1
…

Nick Mitin
- 85
- 1
- 1
- 6
0
votes
0 answers
How to concat MTS videos and apply filters without re-encoding using FFmpeg?
I have a txt file with many MTS video files. I want to merge them all together using FFmpeg and get one big MTS file. But I want to apply fade-in and fade-out to the final video. Can I do it without re-encoding? Because re-encoding takes a lot of…

Karp
- 431
- 1
- 6
- 16
0
votes
1 answer
how to reencode with ffmpeg (with limited x264)
Until now I used this script to reencode my rips for my box (tv decoder):
^_^ ( ~ ) -> cat ~/++/src/convert.sh
#! /bin/bash
name=$(path -r "$1") # it gives the file name without the extension
[ "$1" = *.mp4 ] && ffmpeg -i "$name".mp4 -vcodec copy…

Sarfraz
- 225
- 2
- 10
-1
votes
1 answer
Decode to raw and reencode to mp3
I have the following mp3 file
http://peterspace.de/speek.wav now I call this script
lame -b 128 --resample 44 speek.wav speek_resampled.mp3
lame --mp3input --resample 44 --decode -t speek_resampled.mp3
lame -r -s 44 speek_resampled.wav…

wutzebaer
- 14,365
- 19
- 99
- 170