All Questions
Tagged with ffmpeg conversion
161
questions
1
vote
0
answers
46
views
Issues with FFmpeg in converting linear light bayer image
I'm having trouble using ffmpeg to convert a raw video stream embedded in a SER container to individual images using:
ffmpeg -i my.ser frames_%03d.fits
The data in the stream is encoded as ...
0
votes
1
answer
105
views
Converting audio tracks only in mkv files to AC3
I have an LG CX TV. The internal video player does not recognise DTS audio format. I'd like to be able to play MKV files (which might have DTS audio tracks) from an external USB device. I was looking ...
0
votes
0
answers
74
views
How to post-process these Blu-Ray files?
I have downloaded some video files (MP4) from the web and want to create a BD from them. I've used ConvertXtoHD3 for that, and it does basically a nice job, with menus and all that. Unfortunately the ...
0
votes
1
answer
642
views
Convert mp3 with cue file to m4b with chapters
I have an mp3 and a cue file (with chapters) of a CD that I ripped. I want to turn this into an m4a or m4b that I can play as an audiobook and maintain the chapters, bitrate and stay stereo. I want to ...
0
votes
0
answers
69
views
ffmpeg png to mov keep exact colors
When I convert a PNG sequence to a h264 (yuv420p) movie and read the color values via FFmpeg's rawvideo pipe output, the values on each pixel is slightly modified.
This is how I write my image:
import ...
0
votes
0
answers
234
views
Converting ALAC inside .mp4 file to FLAC without quality loss with FFmpeg
So, I have a .mp4 video file recorded with OBS, and I realised that Sony Vegas does not accept the audio format because it is from Apple (it basically imports the video just fine, but the audio is 6 ...
0
votes
1
answer
438
views
ffmpeg on Linux - convert video to play on iPhone [solved]
I am converting Hi8 to .mkv, .mp4 or .avi using ffmpeg on Linux (Gentoo).
I am trying to convert small clips to play on an iPhone, iPad (iOS)
The following will convert but it will not play on an ...
0
votes
0
answers
545
views
How to convert HLS to UDP on FFmpeg or any other freeware?
What freeware can I use to convert an HLS playlist to a UDP stream? I tried FFmpeg on hls url to udp stream, which worked. I'm trying to find a freeware that can manage to do the same, but with ...
0
votes
0
answers
146
views
FFMpeg fails with LZW decode failed / invalid block label when converting gif to mp4
I'm using FFmpeg to convert gif into mp4 files. On some gif files I encounter an invalid block label error. The program seems to still output an okay mp4 file but I'd rather it not encounter the error ...
0
votes
0
answers
95
views
shrink multi videos into specific time using ffmpeg
I have multiple videos with the different length. And The Desired output of All those video length is 58 seconds only.
Here I tried but don't know what's should i replace here *****
ffmpeg -i video1....
0
votes
0
answers
315
views
Where does FFMPEG store temporary files in Linux?
I quit the conversion of a very large file in ffmpeg. The incomplete file is taking up almost 200GB on my disk but it does not exist in the directory I was working in and I can't find it anywhere (it ...
0
votes
0
answers
703
views
ffmpeg - convert pcm audio to ac3 without changing the frame rate?
I have PCM audio which has frame rate of 199.964 FPS (240 SPF). When I convert it to AC3 the frame rate changes to 31.250 FPS (1536 SPF). This causes sync issues and I dont want to convert the video ...
1
vote
2
answers
2k
views
convert all ts files in a folder to mp4 with same name
I have a folder with several video files, some .mkv some .ts some .mp4, all different names.
I want to convert all ts files into mp4 files with the same name.
what do I type in the command line to use ...
0
votes
0
answers
257
views
PowerShell script to process audio streams with ffmpeg results in unexpected conversion
So, I've gone down the rabbit hole trying to do recursive conversions with ffmpeg using powershell.
The script is almost doing what i want it to, but not completely.
In this argument, AC3 is converted ...
2
votes
1
answer
422
views
ffmpeg framemd5 - how do you get the checksums to match between LPCM and FLAC?
I'm converting losslessly compressed video and audio files (Utvideo/LCPM) into the FFV1/FLAC codecs using MKV as a container to save on storage space without compromise in quality. I'm using ffmpeg's ...
0
votes
1
answer
434
views
How do you convert PSF music files to FLAC without using some "online tool"?
I love the soundtrack to the 1997 PlayStation video game Breath of Fire III.
I have its soundtrack as MP3 files on my computer.
After hearing what a huge difference it made to go from MP3 to FLAC for ...
0
votes
3
answers
628
views
Is there any hidden danger in re-converting all my FLACs with "-compression_level 12"?
For some time now, I have been upgrading my music library from bad-sounding MP3 files to lossless FLACs. This obviously takes much more storage space.
The 465 GB internal disk which contains my "...
0
votes
2
answers
714
views
Lossy to lossless conversion (audio)
I have an mp3 file which i want to convert to a flac. I realise that it wont "improve" the quality rather I want it in a flac format so that when I edit it each time and re encode it, it won'...
0
votes
0
answers
450
views
Ffmpeg interpeting conversion error messages
I am trying to decipher the quality of converted videos by inspecting the error output log(s). The log is created by -loglevel error . The video source is from OTA .ts recordings, and the problem is ...
0
votes
0
answers
200
views
Pixel Art Gif to Webm
I have a large gif file (100+ MB) and I'd like to convert it to webm to reduce the size of the final file to 10-12 MB. I'm using ffmpeg to do this and it converts the file just fine except the ...
2
votes
1
answer
259
views
convert huge amount of mp4 videos to audio in short time
previously i used to think i can convert say 100G video to audio in matters of seconds because i thought video and audio are seperare in mp4 format and converting video to audio is like doing an easy ...
0
votes
1
answer
2k
views
Convert PPM to PNG
I recently finished the raytracing tutorial "Ray Tracing in One Weekend", which outputs to PPM. I'm trying to convert to PNG to share my results, but all the solutions I've tried have thrown ...
0
votes
0
answers
1k
views
FFMpeg and Handbrake video size differences
I have to use ffmpeg on my windows OS because I need different filters and settings but I noticed that the videos I'm translating are a bit big and ffmpeg disappointed me when I started trying ...
0
votes
1
answer
1k
views
Conversion from High Res FLAC to 16/44.1 FLAC, keeping all metadata
I want to convert High resolution flac such as 24 bit 96 Hz and others, to 16 bit 44.1 Hz CD format, while preserving all metadata. Any suggestions?
0
votes
1
answer
4k
views
(solved ) Convert MP3 to Wav using FFMPEG, without trimming silence?
I am used to convert all my audio and video stuff with FFMPEG bat files because it's convenient.
I am currently using ffmpeg -i "%1" %~dpn1.wav in a Drag-and-Drop bat file, which does ...
0
votes
1
answer
866
views
When we have multiple languages in a movie and need to convert particular language (E-ac3) to AC3(Dolby digital) using FFMPEG. How?
I need an FFMPEG command. Below is the screen shot of Movie codec details and that contains 4 languages (all are 6 channels).
1
vote
1
answer
2k
views
How to split m4b file into many tracks on linux
I do have an audiobook with m4b extension, and I wish to split it into many tracks so that it becomes more manageable on my mobile.
Through splitting m4a into multiple files with ffmpeg, I ...
0
votes
1
answer
196
views
How to produce 2 formats from the same stream and output to the same file in ffmpeg?
I have an episode and I want to change it's audio from dts to eac3 and ac3 but i always get an error.
i used this command ffmpeg -i input -i input -c:v copy -c:m:0:1 eac3 -c:m:1:1 ac3 -map 0:0 -map 0:...
0
votes
1
answer
2k
views
Set a audio bitrate cap in ffmpeg
I want to set a maximum audio bitrate in my FFmpeg conversions, but it seems like the only option is to specify a constant one like -c:a libopus -b:a 128K
It would allow FFmpeg to only compress audio ...
5
votes
1
answer
10k
views
How do i convert animated webp to Video?
Goal :
convert Webp to mp4
what i have tried :
ffmpeg -i filename.webp filename.mp4
it's clearly not the good code. can anyone show me the way
it can be with anything like imagemagick, sharp
1
vote
0
answers
5k
views
FFMPEG Convert image format with best possible output?
With the standard command you can theoretically convert almost anything (ffmpeg -i input.png output.tiff),
but I'm afraid that the output will differ from the input in terms of quality and/or ...
0
votes
1
answer
2k
views
How to convert ffmpeg 24 bit flac to 16 bit alac?
I was needing help with the command to turn a 24 bit flac to 16 bit alac.
To turn 24 bit flac to 16 bit flac:
ffmpeg -i input.flac -sample_fmt s16 -ar 48000 output.flac
To turn flac to alac:
ffmpeg -i ...
0
votes
1
answer
670
views
FFmpeg commands for best quality conversion mp4 to DVD9 PAL
I need to convert a mp4 H264 to DVD9 PAL with the best video quality.
I have tried to convert by WinFF, using the profile DVD PAL HQ Widescreen and the I added some commands like this:
-f null -target ...
1
vote
0
answers
1k
views
ffmpeg - fit multiple lines of text (having different fonts) with auto line wrap and auto font size?
Trying to keep this question to a minimum as in terms of info. Sorry if it's too long and thank you for reading it!
I'm trying to make these texts fit (they have different fonts and font sizes) to the ...
1
vote
0
answers
87
views
Changing stream metadata and converting at the same time in FFMPEG
I'm trying to convert an HEVC (h265) video into h264, while at the same time adding the 'rotate' key to the video stream metadata. I have tried:
ffmpeg -i in.mp4 -c:v libx264 -metadata:s:v rotate=&...
0
votes
1
answer
2k
views
Convert HEVC mkv to mp4 without transcoding
I'm trying to remux h265 MKV to MP4 without transcoding.
My demo video is tears-of-steel.
I'm using the following command but I cannot play the resulting file
ffmpeg -i tos-1720x720-cfg01.mkv -tag:v ...
4
votes
2
answers
3k
views
Convert MPEG4 to AMV via ffmpeg
I am trying to convert a MPEG4 video to AMV via ffmpeg. I've searched through web about the appropriate formatand and also tried to check another AMV video parametrs. So I've found that there should ...
0
votes
1
answer
632
views
ffmpeg drawtext timecode changes duration
normally when I change framerates, I use Adobe Premiere and interpret video material as new framerate, so the duration changes. Thats fine. But because this is a mkv file I wanted to convert, I use ...
1
vote
1
answer
704
views
Why is the Batch script I created to convert MP4 files to GIF files with FFmpeg not working?
This is what I have so far. It runs, but throws an error.
I have come up with the following below.
for %%a in ("*.mp4") do ffmpeg -i "%%a" -t 3 -vf "fps=10, scale=320, flags=...
1
vote
1
answer
939
views
Audio - format and bitrate effect on quality
I have been interested in audio and improving its quality for a while now and after researching for a while I found out how difficult it can get when you find the answer to a question and then find a ...
0
votes
1
answer
642
views
What ffmpeg command would convert a video for iPad/iPhone in 2021?
One of the answers almost a year ago was to use the following command:
ffmpeg -i input.mp4 -vcodec libx264 -profile:v main -level 3.1 -preset medium -crf 23 -x264-params ref=4 -acodec copy -movflags +...
3
votes
1
answer
10k
views
How to convert svg to png with ffmpeg?
Is there a way to convert svg files to png using ffmpeg on Windows 10 64bit?
I obviously tried ffmpeg -i "file.svg" "file.png" and it doesn't work by default.
Perhaps there is ...
0
votes
1
answer
1k
views
Which FFmpeg command do I use to passthrough .ts to .MP4?
I have a folder full of .ts files I wanna convert to .mp4 without having to repeat the command for each file.
Same quality, same file name (without the old file type at end of name of course)
Windows ...
8
votes
2
answers
5k
views
Windows: Recursively convert FLAC to MP3 w/ ffmpeg
I have ffmpeg installed and use batch files to convert MP4 h.264 to MKV x.265 successfully, but I have a problem with converting FLAC files to 320 kbps MP3 w/ no metadata needed. Although many posts ...
0
votes
1
answer
2k
views
How to change output names when batch converting with ffmpeg to the same directory?
I have a bunch of mkv files that I'm trying to convert their audio while copying the video with this command:
for %i in (*.mkv) do ffmpeg -i "%i" -c:a aac -ar 44100 -b:a 128k -c:v copy "...
0
votes
0
answers
2k
views
Getting mixed results converting images to .ICO with ffmpeg?
EDIT: I managed to get it to scale properly with this as the ffmpeg command:
-vf "thumbnail,scale='if(gt(iw,ih),256,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,256)'"
That works but on ...
0
votes
2
answers
2k
views
ffmpeg: How to copy all but also add in a convert of an existing audio stream?
I have several videos that have video, AAC audio, some with an additional alternate content audio stream, and subtitles.
What I want to do is to copy EVERYTHING as-is while inserting a converted a:0 ...
1
vote
1
answer
2k
views
FFmpeg convert audio track and add back into media file without touching video track
I want to convert an audio track to AC3 as efficiently and lossless as possible.
This post gives the command:
ffmpeg -i my_movie.mkv -map 0:v -map 0:a:0 -map 0:a -map 0:s -c:v copy -c:a copy -c:s copy ...
0
votes
1
answer
6k
views
How to convert 4K .mkv to .mp4 for YouTube
I want to convert small clips of a 4K movie to .mp4 without losing quality so I can upload them to YouTube. Loading a whole movie into Premiere Pro and then cutting it at exact points is already a ...
0
votes
2
answers
507
views
Extract Artworks from folder of Songs
Is there a way to take a folder of music files, for example in m4a format, and extract all artworks into separatejpg files automatically? Say there are 144 songs, so without having to do it manually ...