Search found 255 matches

by pandy
Wed Oct 23, 2019 6:39 pm
Forum: FFmpeg Examples
Topic: Suggestions for SD MPEG-2?
Replies: 5
Views: 1522

Re: Suggestions for SD MPEG-2?

Well - perhaps new sources are progressive but your sources appear (based on your description) to be interlace - from CRT era... as such you need to choose by yourself what is better for you. Containers are usually responsible for relatively small overhead - somewhere between 5% and 1% of overall fi...
by pandy
Wed Oct 23, 2019 6:13 pm
Forum: Usage
Topic: FFmpeg how to get the first drawtext's x,y value to the second's, and change the fontsize value, how to create a var?
Replies: 10
Views: 1636

Re: FFmpeg how to get the first drawtext's x,y value to the second's, and change the fontsize value, how to create a var

All i can help is something like this: @set filename=%1 @ffplay -loop -1 -hide_banner -loglevel 8 -an -sn -i "%filename%" -vf "drawtext=fontfile=Orbitron.ttf:fontsize=120:[email protected].25:text='watermark':x=if(eq(mod(n\,60)\,0)\,rand(0\,(w-text_w))\,x):y=if(eq(mod(n\,60)\,0)\,rand(0\,(h-te...
by pandy
Tue Oct 22, 2019 8:17 pm
Forum: FFmpeg Examples
Topic: Suggestions for SD MPEG-2?
Replies: 5
Views: 1522

Re: Suggestions for SD MPEG-2?

IMHO H.264 provide best quality/size/encoding speed and your experience with size after re-encoding looks to me like something went wrong - perhaps some artefacts present in video file. If files are interlaced then you have two options - keep interlace or deinterlace - deinterlacing is always compro...
by pandy
Tue Oct 22, 2019 4:50 pm
Forum: Usage
Topic: FFmpeg how to get the first drawtext's x,y value to the second's, and change the fontsize value, how to create a var?
Replies: 10
Views: 1636

Re: FFmpeg how to get the first drawtext's x,y value to the second's, and change the fontsize value, how to create a var

It is not clear to me what is behind your questions - i blame my poor English for this - if i misunderstood your questions my apologies. If your gaol is to place those values manually and you are using commandline (dos/windows) then perhaps something like this: @setlocal @set fontsize=18 @set qmrk=2...
by pandy
Tue Oct 22, 2019 4:38 pm
Forum: Usage
Topic: VB.NET Streaming Image Using Imag2Pipe Issue
Replies: 2
Views: 566

Re: VB.NET Streaming Image Using Imag2Pipe Issue

Sorry for not helping but perhaps you should consider NUT instead image2pipe...
https://ffmpeg.org/nut.html
by pandy
Tue Oct 22, 2019 4:30 pm
Forum: Usage
Topic: how to extract multiple audio streams to separate files
Replies: 1
Views: 421

Re: how to extract multiple audio streams to separate files

Should be possible as ffmpeg support conditional stream processing something like: -map 0:a:6? should work in your case - if audio stream will be not present then no error - only command line will be long, all 15 mappings with also conditional -c:a? copy plus separate file name like "%~n1_atrack6.mk...
by pandy
Tue Oct 22, 2019 4:22 pm
Forum: Usage
Topic: Combining live streams
Replies: 1
Views: 1286

Re: Combining live streams

i have this idea (not tested) but firstly: not sure how fast is null source, perhaps using picture and repeating picture in loop will be faster https://ffmpeg.org/ffmpeg-filters.html#movie-1 Idea: try to re-arange signal flow - use two independent null sources, overlay on top of each null source you...
by pandy
Tue Oct 22, 2019 4:07 pm
Forum: Usage
Topic: How to create a high quality video file from JPGs using FFMPEG?
Replies: 26
Views: 3900

Re: How to create a high quality video file from JPGs using FFMPEG?

btw - i've mentioned audio but all related audio commands was removed - this is only to encode video.
by pandy
Tue Oct 22, 2019 4:05 pm
Forum: Usage
Topic: Deinterlacing a whole folder
Replies: 1
Views: 400

Re: Deinterlacing a whole folder

Try to run this (didn't modified your script, i would wrote it in a different way but if it works for you then OK): @setlocal @set OUTDIR="out" @if not exist %cd%\%OUTDIR% (mkdir %cd%\%OUTDIR%) @FOR %%a IN (*.mts) DO (@%FFMPEG% -y -hide_banner -i "%%a" -vf yadif=1 -acodec ac3 -ab 192k -vcodec mpeg4 ...