Re: [FFmpeg-user] How to set preview of video?

2020-04-29 Thread Gyan Doshi



On 29-04-2020 11:53 pm, Cemal Direk wrote:

Hi, i wanna set preview  of any video? like thumbnail.

is ffmpeg supporting this property?

i am using this code  its other method...

ffmpeg -i video.mp4 -i image.png -map 0 -map 1 -c copy -c:v:1 png
-disposition:v:1 attached_pic -y out.mp4


but i wondered. can i set 15. seconds of video as  thumbnail. without
import any video or image?


Basic syntax is

|ffmpeg -i file.mp4 -ss 15 -i file.mp4 -map 1:v:0 -map 0 \ -filter:v:0 
scale=320:-1,trim=end_frame=1 -c copy -c:v:0 mjpeg -disposition:0 
attached_pic out.mp4|



Gyan
___
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] How to set preview of video?

2020-04-29 Thread Carl Zwanzig

Hello,

First off, please do not top-post on this mailing list, and you also need to 
include the entire command output with the question and use an up-to-date 
ffmpeg (see https://ffmpeg.org/mailing-list-faq.html).


On 4/29/2020 12:53 PM, Cemal Direk wrote:

i added sample screenshot.

Which most people won't look at.


Please better explain what you're trying to do, I can't follow it.

It looks like you copied the command line right from the ffmpeg docs. Does 
it not do what you want? What's the command output?


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".

Re: [FFmpeg-user] How to set preview of video?

2020-04-29 Thread Cemal Direk
i wanna set 15th second of video as thumbnail.

or can i set any time of video  as preview scene

or can i choose which time/frame/scane will be in front of video?

i added sample screenshot.

Mark Filipak , 29 Nis 2020 Çar, 22:15
tarihinde şunu yazdı:

> On 04/29/2020 02:23 PM, Cemal Direk wrote:
> > Hi, i wanna set preview  of any video? like thumbnail.
> >
> > is ffmpeg supporting this property?
> >
> > i am using this code  its other method...
> >
> > ffmpeg -i video.mp4 -i image.png -map 0 -map 1 -c copy -c:v:1 png
> > -disposition:v:1 attached_pic -y out.mp4
> >
> >
> > but i wondered. can i set 15. seconds of video as  thumbnail. without
> > import any video or image?
>
> Cemal,
>
> Suppose you want 15 seconds of video that starts at running time 3:23.
>
> ffmpeg -ss 3:23 -to 3:38 -i in.mp4 -codec copy -map 0 out.mp4
>
> I don't know what you had in mind for the PNGs.
> ___
> 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] How to set preview of video?

2020-04-29 Thread Mark Filipak

On 04/29/2020 02:23 PM, Cemal Direk wrote:

Hi, i wanna set preview  of any video? like thumbnail.

is ffmpeg supporting this property?

i am using this code  its other method...

ffmpeg -i video.mp4 -i image.png -map 0 -map 1 -c copy -c:v:1 png
-disposition:v:1 attached_pic -y out.mp4


but i wondered. can i set 15. seconds of video as  thumbnail. without
import any video or image?


Cemal,

Suppose you want 15 seconds of video that starts at running time 3:23.

ffmpeg -ss 3:23 -to 3:38 -i in.mp4 -codec copy -map 0 out.mp4

I don't know what you had in mind for the PNGs.
___
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] How to set preview of video?

2020-04-29 Thread Cemal Direk
Hi, i wanna set preview  of any video? like thumbnail.

is ffmpeg supporting this property?

i am using this code  its other method...

ffmpeg -i video.mp4 -i image.png -map 0 -map 1 -c copy -c:v:1 png
-disposition:v:1 attached_pic -y out.mp4


but i wondered. can i set 15. seconds of video as  thumbnail. without
import any video or image?

Thank 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] ffmpeg architecture question #3

2020-04-29 Thread Carl Eugen Hoyos
Am Mi., 29. Apr. 2020 um 13:04 Uhr schrieb Mark Filipak
:

> When ffmpeg decodes a soft telecined video, does the
> decoder output 24 FPS progressive?

I don't think so, I would have expected 24000/1001 fps

Carl Eugen
___
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] v360 in_pad

2020-04-29 Thread Michael Koch

Am 29.04.2020 um 16:45 schrieb Paul B Mahol:

On 4/29/20, Michael Koch  wrote:

Hi,

I just saw that the in_pad parameter of the v360 filter was changed to a
maximum of 0.1. That's not enough if a double-fisheye camera has lenses
with 220° field of view. Please change the maximum to 0.25 or bigger.

Nope. use fixed paddding instead.


what do you mean by "fixed padding"? There are only two options for 
"dfisheye", in_pad and out_pad.
If a double-fisheye camera has lenses with 205° field of view, then for 
stitching together the two hemispheres the in_pad value must be (205° - 
180°) / 205° = 0.122. When you restrict the in_pad range to [0...0.1], 
you are breaking something that did work perfectly before.


Michael

___
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] How does ffprobe determine 'fps'?

2020-04-29 Thread Michael Glenn Williams
Hey Mark +1 LMK

On Wed, Apr 29, 2020 at 12:52 AM Mark Filipak <
markfilipak.windows+ffm...@gmail.com> wrote:

> H:\VIDEO_TS>ffprobe VTS_01_1.VOB
> ffprobe version git-2020-04-20-cacdac8 Copyright (c) 2007-2020 the FFmpeg
> developers
>built with gcc 9.3.1 (GCC) 20200328
>configuration: --enable-gpl --enable-version3 --enable-sdl2
> --enable-fontconfig --enable-gnutls
> --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray
> --enable-libfreetype
> --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libopenjpeg
> --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
> --enable-libsrt
> --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
> --enable-libwebp
> --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg
> --enable-lzma --enable-zlib
> --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis
> --enable-libvo-amrwbenc
> --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
> --disable-w32threads
> --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid
> --enable-d3d11va --enable-nvenc
> --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
> --enable-amf
>libavutil  56. 42.102 / 56. 42.102
>libavcodec 58. 80.100 / 58. 80.100
>libavformat58. 42.100 / 58. 42.100
>libavdevice58.  9.103 / 58.  9.103
>libavfilter 7. 79.100 /  7. 79.100
>libswscale  5.  6.101 /  5.  6.101
>libswresample   3.  6.100 /  3.  6.100
>libpostproc55.  6.100 / 55.  6.100
> Input #0, mpeg, from 'VTS_01_1.VOB':
>Duration: 00:22:25.82, start: 0.039456, bitrate: 6382 kb/s
>  Stream #0:0[0x1bf]: Data: dvd_nav_packet
>  Stream #0:1[0x1e0]: Video: ... 29.97 fps, 59.94 tbr, 90k tbn, 59.94
> tbc
> |
> How does ffprobe determine this?
> Can you give me a link to the code?
>
> Thanks,
> Mark.
> ___
> 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".

-- 
 Michael Williams

CEO | CTO

Smart Blonde Experiential
8054991994
michael.glenn.willi...@smartblondeco.com
totalvu.tv
13900 Marquesas Way, Marina Del Rey, CA

[image: facebook]
 [image:
twitter]  [image: linkedin]

___
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] v360 in_pad

2020-04-29 Thread Paul B Mahol
On 4/29/20, Michael Koch  wrote:
> Hi,
>
> I just saw that the in_pad parameter of the v360 filter was changed to a
> maximum of 0.1. That's not enough if a double-fisheye camera has lenses
> with 220° field of view. Please change the maximum to 0.25 or bigger.

Nope. use fixed paddding instead.

>
> Thanks,
> Michael
>
> ___
> 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".

[FFmpeg-user] v360 in_pad

2020-04-29 Thread Michael Koch

Hi,

I just saw that the in_pad parameter of the v360 filter was changed to a 
maximum of 0.1. That's not enough if a double-fisheye camera has lenses 
with 220° field of view. Please change the maximum to 0.25 or bigger.


Thanks,
Michael

___
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] rotation of video from android_camera

2020-04-29 Thread Juha Heinanen via ffmpeg-user
I tried by replacing ctx->sensor_orientation with several constants,
e.g., 0.0, 90.0, 180.0:

static int add_display_matrix(AVFormatContext *avctx, AVStream *st)
{
AndroidCameraCtx *ctx = avctx->priv_data;
uint8_t *side_data;
int32_t display_matrix[9];

av_display_rotation_set(display_matrix, ctx->sensor_orientation);
...

There was no change: video from android_camera was always rotated
clockwise 90 degrees.  Any hints on how to figure out why no rotation
takes place?

-- Juha
___
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] ffmpeg architecture question #3

2020-04-29 Thread Mark Filipak
The issue: When ffmpeg decodes a soft telecined video, does the decoder output 24 FPS progressive? 
or 30 FPS progressive? or 30 FPS "interlaced"?


Regarding MPV: Yesterday I chatted with an MPV developer regarding how MPV derives the numbers it 
displays (Shift-I) during playback of soft telecined video, to wit:


"FPS: 29.970 (specified) 23.976 (estimated)"

I asked whether "23.976" was the value of 'estimated-vf-fps'. He said, "Yes."

#mpv Chat session (reformatted for this mailing list):
 When MPV (Shift-I) shows "FPS: 29.970 (specified)
  23.976 (estimated)" for soft telecined video, what causes it to
  say "23.976 (estimated)"? Is it the previous 10 frame durations
  (i.e., estimated-vf-fps)?
 Does that mean that the decoder is actually outputting
  23.976 FPS?
 If so, what is the decoder? Is it available to ffmpeg?
 markfilipak: yes that's exactly the property it displays:
  https://github.com/mpv-player/mpv/blob/master/player/lua/stats.lua#L530
 Thanks! Stay safe, stay healthy.
 Oh, is the decoder available to ffmpeg?
 "available"?
 Does MPV use the same decoders that ffmpeg uses? If
  not, what's the name & source of MPV's decoder(s)?
 yes it uses the same

Here's the definition of 'estimated-vf-fps' from 'mpv.html' (reformatted for 
this mailing list).
"estimated-vf-fps
"Estimated/measured FPS of the video filter chain output. (If
"no filters are used, this corresponds to decoder output.) This
"uses the average of the 10 past frame durations to calculate
"the FPS. It will be inaccurate if "frame-dropping is involved
"(such as when framedrop is explicitly enabled, or after precise
"seeking). Files with imprecise timestamps (such as Matroska)
"might lead to unstable results."

So it is plain that the ffmpeg decoder (H262) is outputting 24/1.001 FPS to the front end of the 
filter chain. That's consistent with what I thought, but it's not consistent with what ffmpeg & 
ffprobe reports.


"Stream #0:1[0x1e0]: Video: ... 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc"
|
How does ffmpeg determine this?

I've been told that ffmpeg uses PTSs, not metadata, but "29.97 fps" above seems 
to contradict that.

Please, please, clarify this issue. For soft telecine video, what does the decoder output and how 
does ffmpeg treat it?


Regards,
Mark.
___
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] [MPlayer-users] Windows command line & log

2020-04-29 Thread Mark Filipak

On 04/29/2020 06:52 AM, Nicolas George wrote:

Mark Filipak (12020-04-29):

By the way, I had not "already been told"


He has indeed already been told, by me, twice.


I addition to posting malicious code designed to wipe out a naive reader's primary hard drive, 
you're a liar, Mr. George.

___
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] [MPlayer-users] Windows command line & log

2020-04-29 Thread Nicolas George
Mark Filipak (12020-04-29):
> By the way, I had not "already been told"

He has indeed already been told, by me, twice.

> I'm sorry you feel that way.

He is not sorry enough to change.

-- 
  Nicolas George


signature.asc
Description: PGP signature
___
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] [MPlayer-users] Windows command line & log

2020-04-29 Thread Mark Filipak

On 04/28/2020 12:19 PM, Carl Eugen Hoyos wrote:

Am Di., 28. Apr. 2020 um 13:45 Uhr schrieb Mark Filipak
:


Carl Eugen Hoyos recommends concatenating VOBs via 'mplayer -dumpstream'.


Kindly refer to this:

On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
> :
>>
>> What's going wrong with my remux?
>
> I believe that you have already been told that you cannot generally
> concatenate vob files as you did, use mplayer -dumpstream.
>
> Carl Eugen

By the way, I had not "already been told", but you were probably thinking of someone else (which is 
totally understandable).



(Since you have in the past reprimanded me for my exact wording)


I'm sorry you feel that way. I would never knowingly reprimand you or anyone.


This is not true, if this were about concatenation, the concat
protocol would of course work fine.


It exhibits PTS problems. Playback of the concatenated VOBs is wrong in many ways that can be 
explained most easily by PTS errors.

___
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] ffmpeg nvenc without cuda

2020-04-29 Thread Dennis Mungai
On Sat, 28 Sep 2019 at 18:42, Johanna Nilson  wrote:

> Thank you very much for your answers! Every community should be proud to
> have such an active and willing to help members. I see that it's not
> possible to achieve my goal today the direct way, c’est la vie.
>
>
>

Hey there,

The latest nvenc patchwork seems to take care of this, though I've not
tested it (yet):

1.
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/1dff97b7bc792267c3e79030fbaed0e9fefc65fb
2. Device selection caps:
https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/1128aa875367f66ac11adc30364d5652919a2591..1dff97b7bc792267c3e79030fbaed0e9fefc65fb:/libavcodec/nvenc.c
___
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] How does ffprobe determine 'fps'?

2020-04-29 Thread Mark Filipak

H:\VIDEO_TS>ffprobe VTS_01_1.VOB
ffprobe version git-2020-04-20-cacdac8 Copyright (c) 2007-2020 the FFmpeg 
developers
  built with gcc 9.3.1 (GCC) 20200328
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls 
--enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype 
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg 
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt 
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp 
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib 
--enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc 
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads 
--enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc 
--enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf

  libavutil  56. 42.102 / 56. 42.102
  libavcodec 58. 80.100 / 58. 80.100
  libavformat58. 42.100 / 58. 42.100
  libavdevice58.  9.103 / 58.  9.103
  libavfilter 7. 79.100 /  7. 79.100
  libswscale  5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
  libpostproc55.  6.100 / 55.  6.100
Input #0, mpeg, from 'VTS_01_1.VOB':
  Duration: 00:22:25.82, start: 0.039456, bitrate: 6382 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: ... 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
   |
   How does ffprobe determine this?
   Can you give me a link to the code?

Thanks,
Mark.
___
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".