[FFmpeg-user] [help]What are the parameter of compression ration, and Slow 1x, 2x, 3x , Also with Fast

2021-03-01 Thread Ravi Patel
Hello,
For Android:-
I'd like to know the parameter of the video Compression ratio with default
orientation.
Currently, I am using for Compress video

(-y", "-i", yourRealPath, "-s", "160x120", "-r", "25", "-vcodec",
"mpeg4", "-b:v", "150k", "-b:a", "48000", "-ac", "2", "-ar", "22050",
filePath)


*-- Using this for Fast need parameter which help to set 1x 2x 3x fast*.
{"-y", "-i", yourRealPath, "-filter_complex",
"[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]", "-map", "[v]", "-map",
"[a]", "-b:v", "2097k", "-r", "60", "-vcodec", "mpeg4", filePath}


*-- Using this for Slow need parameter which help to set 1x 2x 3x Slow. *
{"-y", "-i", yourRealPath, "-filter_complex",
"[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.7[a]", "-map", "[v]", "-map",
"[a]", "-b:v", "2097k", "-r", "60", "-vcodec", "mpeg4", filePath}


Thanks.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] 回复: [help]does ffmpeg support AJA kona as input devices

2021-03-01 Thread Carl Zwanzig

On 3/1/2021 10:37 PM, 梦开始的地方 wrote:

I use it on linux,how to compile ffmpeg with video4linux support kona


Look at the ffmpeg wiki for build and usage instructions 
(https://trac.ffmpeg.org/); also at the main ffmpeg documentation page 
(https://ffmpeg.org/documentation.html).


Please do not top-post on this mailing list (the reply goes below the quoted 
parts).


Later,

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] ?????? [help]does ffmpeg support AJA kona as input devices

2021-03-01 Thread ????????????
I use it on linux,how to compile ffmpeg with video4linux support kona




--原始邮件--
发件人:
"FFmpeg user questions" 
   
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [help]does ffmpeg support AJA kona as input devices

2021-03-01 Thread Carl Zwanzig

On 3/1/2021 10:25 PM, 梦开始的地方 wrote:

hello,I'd like to knowdoes ffmpeg support AJA kona as input devices?


AFAIK, Aja devices are not supported directly. If you're using windoze, you 
can have the Kona export a DirectShow device that ffmpeg can then capture. 
On linux, the Kona has video4linux support (which can go into ffmpeg).


More detail about what you have and want to do is always useful.

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] [help]does ffmpeg support AJA kona as input devices

2021-03-01 Thread ????????????
hello,I'd like to knowdoes ffmpeg support AJA kona as input devices?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Linux 64 bit ffmpeg compilation

2021-03-01 Thread KRISHNAKUMAR N K
On Tue, 2 Mar 2021 at 09:13, Carl Zwanzig  wrote:

> On 3/1/2021 6:41 PM, KRISHNAKUMAR N K wrote:
> > would like to know FFmpeg is 64bit by default
>
> "default" depends on the build platform and parameters. If you are
> building
> on a 64-bit platform, configure should select this (read the configure
> output or check config.h for "#define ARCH_X86_64 1").
>
> "./configure -h" will tell you all of the supported flags.
>
>
Okay, I can see the following from the configure output  *"ARCH  x86
(generic)",a*lso i can see "*#define ARCH_X86_64 1*" in config.h file.

Thanks
Krishnakumar



>
> z!
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Linux 64 bit ffmpeg compilation

2021-03-01 Thread Carl Zwanzig

On 3/1/2021 6:41 PM, KRISHNAKUMAR N K wrote:

would like to know FFmpeg is 64bit by default


"default" depends on the build platform and parameters. If you are building 
on a 64-bit platform, configure should select this (read the configure 
output or check config.h for "#define ARCH_X86_64 1").


"./configure -h" will tell you all of the supported flags.


z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Linux 64 bit ffmpeg compilation

2021-03-01 Thread KRISHNAKUMAR N K
Hi

I have followed ffmpeg compilation guide "
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos; and its successful,
would like to know FFmpeg is 64bit by default (or) should i need to enable
any flags / properties. Also is there any ffmpeg tuning
guide/recommendation?

ffmpeg version 4.3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (GCC)
  configuration: --prefix=/root/ffmpeg-4.3/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/root/ffmpeg-4.3/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg-4.3/ffmpeg_build/lib --extra-libs=-lpthread
--extra-libs=-lm --bindir=/root/ffmpeg-4.3/bin --enable-gpl
--enable-libfdk_aac --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libvpx --enable-libx264 --enable-libx265
--enable-nonfree --enable-openssl
  libavutil  56. 51.100 / 56. 51.100
  libavcodec 58. 91.100 / 58. 91.100
  libavformat58. 45.100 / 58. 45.100
  libavdevice58. 10.100 / 58. 10.100
  libavfilter 7. 85.100 /  7. 85.100
  libswscale  5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc55.  7.100 / 55.  7.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
outfile}...

Regards

*KrishnaKumar **N K *
*Mobile:*  +91 9894024256
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] filter pipeline 'PTS' -- int64_t?

2021-03-01 Thread Mark Filipak (ffmpeg)

The ffmpeg filter pipeline assigns a 'PTS' to each frame, frame by frame. Is 
*that* 'PTS' an int64_t?

Things I have found.

https://ffmpeg.org/ffmpeg-filters.html#fps-1
  "...trim any frames with a negative PTS."
That implies that PTS can be negative (ergo, is a signed integer).

http://svn.ffmpeg.org/doxygen/1.0/structAVFrame.html
Is AVFrame the structure of frames in the filter pipeline? If so, then
"int64_t   pts
" 	presentation timestamp in time_base units (time when frame should be shown to user) If 
"AV_NOPTS_VALUE then frame_rate = 1/time_base will be assumed."

appears to answer my question, unless it's a different 'frame'...

...What exactly is 'AVFrame'?

http://svn.ffmpeg.org/doxygen/1.0/avformat_8h-source.html
  "00320 typedef struct AVFrac {
  "00321 int64_t val, num, den;
  "00322 } AVFrac;"
http://svn.ffmpeg.org/doxygen/1.0/structAVFrac.html#_details
  "The exact value of the fractional number is: 'val + num / den'."
That appears to be a definition of something called "PTS" but seems to not be what's assigned to a 
frame in the filter pipeline.


The label (name) of what is actually assigned to frames in the filter pipeline as 'PTS' is unknown 
to me.


Thanks for the guidance,
Mark.

--
In U.S. History: The House Un-American Activities Committee was a committee of the House of 
Representatives that engaged in un-American activities.

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] SSIM filter showing (small) differences in identical(?) streams

2021-03-01 Thread Ian Pilcher

On 2/28/21 12:57 PM, Paul B Mahol wrote:

On Sun, Feb 28, 2021 at 5:31 PM Ian Pilcher  wrote:

   $ ffmpeg -i lossless.mkv -start_number 0 -i source/%06d.tif -frames:v
3596 -lavfi
"[0:v]settb=1/AVTB,setpts=PTS-STARTPTS[main];[1:v]settb=1/AVTB,setpts=PTS-STARTPTS[ref];[main][ref]ssim"

-f null -


Try ssim=shortest=1

Most likely inputs have not same number of frames.


They don't have the same number of frames.  That's why I need to specify
the duration, either with "-t 00:01:00" or with "-frames:v 3596".  The
correct number of frames *is* 3596, however, so I don't understand why
I have to limit the comparison to only 3595 frames to get the correct
result.

--

 In Soviet Russia, Google searches you!


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Issue when adding a title to an audio stream within a mp4 file

2021-03-01 Thread PPRJ01
Thank you Moritz. I really apreciate your kind answer.

But ... I don't understand what you are planning to do.

Please tell me if I'm right or wrong :

- ffprobe/ffmpeg will display the data contained in the "name" atom to 
stdout/stderr
BUT
- ffmpeg will NOT be able to copy the audio stream "title" to a new MP4 output 
file by using the -c copy option

Please let me know.

Pascal
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".