Re: [FFmpeg-user] Getting Unknown encoder 'libopencore-amrwb'

2022-12-15 Thread Carl Eugen Hoyos
Am Do., 15. Dez. 2022 um 06:54 Uhr schrieb Govind Rathi :

> It worked now but still I am not able to get the proper audio
> after the conversion.
> I am attaching you the raw file and the command

The file contains stereo sound which is currently not supported
for raw amr input files.

> as well as the output amr file.

This is practically never useful.

If you want support on this mailing list, please learn quickly what
top-posting means and avoid it here!

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] Getting Unknown encoder 'libopencore-amrwb'

2022-12-14 Thread Carl Eugen Hoyos
Am Mi., 14. Dez. 2022 um 06:31 Uhr schrieb Govind Rathi :

> Thank you very much for quick response.
> But I am still facing the same issue after making the changes as you
> suggested.

Sorry for the wrong advice, please try:
--enable-gpl --enable-version3 --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --libvo_amrwbenc
--disable-static --enable-shared

The name of the encoder is "libvo_amrwbenc"

Please find out what top-posting means and avoid it here.

I hope this helps, 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] Getting Unknown encoder 'libopencore-amrwb'

2022-12-13 Thread Carl Eugen Hoyos
Am Di., 13. Dez. 2022 um 08:57 Uhr schrieb Govind Rathi :

> configuration: --enable-gpl --enable-version3 --enable-libmp3lame
> --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
> --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libvo_amrwbenc --disable-static --enable-shared

Please remove "enable-nonfree" from your configure line, you apparently
don't know why it exists.

You should not need two amrwb encoders.

> Unknown encoder 'libopencore-amrwb'

The name of the encoder is:
libopencore_amrwb
(Note the underscore.)

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] Trouble selecting a pixel format/colorspace while trying to encode a video using ffmpeg and HW accelerated vaapi or qsv interfaces

2022-12-10 Thread Carl Eugen Hoyos
Am Do., 8. Dez. 2022 um 20:32 Uhr schrieb :

>   Stream #0:0: Video: hevc (Rext), gbrp

Completely unrelated:
Do all your video players play above file?

> ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -v verbose
> -f x11grab -draw_mouse 0 -framerate 20 -probesize 42M
> -video_size 1920x1200 -thread_queue_size 1000 -vcodec rawvideo
> -i ":0.0" -an -vf 'hwupload=extra_hw_frames=64,scale_qsv=format=bgra'
> -c:v hevc_qsv -preset veryslow -global_quality 17 -look_ahead 1
> -y /tmp/output.mkv

(-vcodec rawvideo looks wrong)

When asking for support on this mailing list, always provide the command
line you tested together with the complete, uncut console output.

> As you can see, in the first example, libx265 SW encoder based, the output
> is generated with the "gbrp" colorspace while in the second example,
> hevc_qsv HW encoder based, the output is generated with the "yuvj420p"
> pixel format.

I wanted to write "no hardware encoders support full chroma" and
"no hardware encoders support RGB" - Wenbin's answer seems
to indicate that I was wrong but in any case the qsv code in FFmpeg
currently neither allows full-chroma encoding nor RGB encoding.

I don't know if mxf (the library used for qsv encoding) support
full-chroma and RGB.

No idea how your question could be related to post-processing
or colour-space transformation.

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] AVCintra100 encoding with horizontal blocking artefacts

2022-12-10 Thread Carl Eugen Hoyos
Am Fr., 9. Dez. 2022 um 13:54 Uhr schrieb Barnett, Phillip
:

> I'm trying to encode AVC100 in UK (25i) but getting odd blocking artefacts, 
> where
> the screen is banded in about 10 horizontal rows with random levels of 
> brightness,
> which change on a sub-second basis, darker or lighter. I'm using the latest
> release build on a Windows 10 CPU.

Please test current FFmpeg git head (nothing else gets support here).

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] ffmpeg finds errors in AC3 but VLC player plays it without problems

2022-12-02 Thread Carl Eugen Hoyos
Am Fr., 2. Dez. 2022 um 13:08 Uhr schrieb Mahesh Velankar :
>
> (removed unwanted part from output)

Never do that if you ask for support here.
What is needed is the command line that allows to reproduce
the issue together with its complete, uncut console output.

ffprobe typically cannot be a command to show an issue
like "finds errors instead of decode".

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] How to reduce interlace artifacts while trancoding to mp4

2022-11-12 Thread Carl Eugen Hoyos
Am Sa., 12. Nov. 2022 um 17:03 Uhr schrieb Ulf Zibis :
>
>
> Am 12.11.22 um 14:41 schrieb Carl Eugen Hoyos:
> > https://ffmpeg.org/ffmpeg-filters.html offers a few options:
> > kerndeint is old / outdated, should be fast
> > yadif was for a long time the most useful deinterlacer
> > w3fdif is a BBC-sponsored development
> > bwdif claims to combine yadif and w3fdif into something better
> > estdif and nnedi are newer filters
> >
> > All filters will not correct something on the video but will try to
> > invent information that simply isn't there. This makes sense as
> > there is no screen that can show what originally was meant to
> > be shown but you should be aware that all filters effectively
> > change your video.
>
> Thanks for your detailed comparison. bwdif and estdif make it.

> Even they double the frame rate

Except for kerndeint, they should all be able to do this.

I forgot to mention mcdeint which once upon a time was
the slowest and best deinterlacing filter, you would need
an older version of FFmpeg to test it.

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] Video Object Notation

2022-11-12 Thread Carl Eugen Hoyos
Am Fr., 11. Nov. 2022 um 22:41 Uhr schrieb Mark Filipak
:

> Can this be corrected?

First thing to be corrected is that your mail is missing the ffmpeg
command line
you tested (I believe there is very little ffprobe support here)
together with the
complete, uncut console output.

Once this is available, it should be possible for you to understand that FFmpeg
is not an application to read DVDs, I (still) suggest to use mplayer
-dumpstream
although alternatives probably exist.

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] How to reduce interlace artifacts while trancoding to mp4

2022-11-12 Thread Carl Eugen Hoyos
Am Sa., 12. Nov. 2022 um 01:46 Uhr schrieb Ulf Zibis :
>
> I have transcoded a avi video to mp4 for compressing by factor 8.
> Now I see interlace artifacts.

https://ffmpeg.org/ffmpeg-filters.html offers a few options:
kerndeint is old / outdated, should be fast
yadif was for a long time the most useful deinterlacer
w3fdif is a BBC-sponsored development
bwdif claims to combine yadif and w3fdif into something better
estdif and nnedi are newer filters

All filters will not correct something on the video but will try to
invent information that simply isn't there. This makes sense as
there is no screen that can show what originally was meant to
be shown but you should be aware that all filters effectively
change your video.

You will find several denoise filters in the documentation.

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] Change fps from 50 to 25

2022-11-12 Thread Carl Eugen Hoyos
Am Sa., 12. Nov. 2022 um 13:57 Uhr schrieb Cecil Westerhof via
ffmpeg-user :
>
> Michael Koch  writes:
>
> > Am 12.11.2022 um 12:39 schrieb Cecil Westerhof via ffmpeg-user:
> >> I have a few videos that have a 50 fps. But the computer I am playing
> >> them on cannot handle that properly. Can I use ffmpeg to change the
> >> fps to 25? While still having the same length.
> >>
> >
> > sure, that's easy:
> > ffmpeg -i in.mp4 -r 25 out.mp4
>
> That really is easy. :-D
>
> I should add a '-preset veryfast'. That makes it go about three times
> as fast (on my system).
>
> But that still takes a lot of time. Maybe I ask something stupid, but
> would it be possible to drop every other frame and copy the rest?

Unfortunately not if your input is h264, that is technically not possible.

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] combining audio and video

2022-11-06 Thread Carl Eugen Hoyos
Am So., 6. Nov. 2022 um 12:50 Uhr schrieb owen s :
>
> Is it possible to have two urls, one streaming audio and one for video;
> using ffmpeg to combine these streams and just playing them as one without
> saving a file?

Note that synchronisation can be an issue.

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] 16:9 to 2.35:1 and true HD 7.1 to DTS

2022-11-03 Thread Carl Eugen Hoyos
Am Do., 3. Nov. 2022 um 20:18 Uhr schrieb Bartosz Trzebuchowski
:

> 1. How can I convert 16:9 movies to 2.35:1? My projector can’t
> scale down and 16:9 movies run outside my 2.35:1 canvas at
> the top and the bottom. I need to black out top and bottom so
> only 2.35:1 is visible.

Use the crop filter:
https://ffmpeg.org/ffmpeg-filters.html#crop

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] 16:9 to 2.35:1 and true HD 7.1 to DTS

2022-11-03 Thread Carl Eugen Hoyos
Am Do., 3. Nov. 2022 um 22:49 Uhr schrieb Robin van der Linden via
ffmpeg-user :
>
> @Carl Eugen
> I check on the web for that

Why didn't you test yourself?

Regarding your earlier comment about TrueHD being "a
proprietary format":
TrueHD is based on Meridian Possless Packing, a format
specified a very long time ago. FFmpeg contains a decoder
for MLP / TrueHD that is known to work well, the encoder
is more experimental but still usable but that was not the
original question.

Please find out what top-posting means and avoid it on all
FFmpeg mailing lists.

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] 16:9 to 2.35:1 and true HD 7.1 to DTS

2022-11-03 Thread Carl Eugen Hoyos
Am Do., 3. Nov. 2022 um 20:18 Uhr schrieb Bartosz Trzebuchowski
:
>
> Is is possible with ffmpeg to convert the sound to DTS 7.1?

There is a DTS 5.1 encoder in FFmpeg but it is highly experimental
and it is unlikely that it would really help you, use the ac3 encoder instead.

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] 16:9 to 2.35:1 and true HD 7.1 to DTS

2022-11-03 Thread Carl Eugen Hoyos
Am Do., 3. Nov. 2022 um 20:34 Uhr schrieb Robin van der Linden via
ffmpeg-user :

> About the audio, I'm pretty sure that TrueHD is a BlackBox to ffmpeg

FFmpeg contains a TrueHD deccoder and encoder.

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] multiple srt outputs with tee

2022-10-18 Thread Carl Eugen Hoyos


> Am 17.10.2022 um 22:52 schrieb i...@mbsoft.biz:
> 
> I would use the tee filter to output 3 srt streams.


> ffmpeg.exe -report -f gdigrab -framerate 25 -offset_x 1063 -offset_y 147
> -video_size 854x480 -draw_mouse 0 -show_region 0 -i desktop -filter:v
> "scale=-2:720" -vcodec libx264 -x264-params
> "nal-hrd=cbr:force-cfr=1:keyint=250" -preset medium -profile high -pix_fmt
> yuv420p -tune zerolatency -b:v 1000k -bufsize 1200k -f tee -map 0:v
> "[-f=mpegts]srt://0.0.0.0:9866?pkt_size=1316=listener/|[-f=mpegts]srt:/
> /0.0.0.0:9867?pkt_size=1316=listener/|[-f=mpegts]srt://0.0.0.0:9868?pkt
> _size=1316=listener/"

Please look again at the examples:
http://ffmpeg.org/ffmpeg-formats.html#Examples-12
You appear to use too many dashes.

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] Guidance on debugging a potential memory leak

2022-09-01 Thread Carl Eugen Hoyos
Am Do., 1. Sept. 2022 um 21:16 Uhr schrieb Jorge Villatoro via
ffmpeg-user :
>
> If you'd like to call it something else that's fine with me, but it's clear
> that the memory usage of the process escalates over time

Which is not unusual for applications writing multimedia files.

massif (another memcheck tool) allows you to see which functions
allocate the memory.

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] Guidance on debugging a potential memory leak

2022-09-01 Thread Carl Eugen Hoyos
Am Do., 1. Sept. 2022 um 19:07 Uhr schrieb Jorge Villatoro via
ffmpeg-user :

> I've tried running valgrind on this process for a while but I'm not really
> sure how to decipher the results other than that there doesn't appear to be
> an obvious leak.

If valgrind does not show a memory there is no memory leak.

A process may need more memory over time but that is not a leak.

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] How to submit sample media

2022-01-26 Thread Carl Eugen Hoyos
Am Mi., 26. Jan. 2022 um 00:13 Uhr schrieb Whatsthis :
>
> The webpage stating the upload procedure
> (https://ffmpeg.org/bugreports.html#SubmittingSampleMedia) also says:
>
> > Furthermore movie files uploaded to services like rapidshare or any other
> > similar service will be ignored. We are not willing to spend our time 
> > fighting
> > with this ridiculous, bloated and spam-filled crap."

It is still true that hosters that require registration (or only work
with Windows browsers) likely will be ignored.

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] Error while hardcoding subtitles (Invalid object location)

2022-01-26 Thread Carl Eugen Hoyos
Am Mo., 24. Jan. 2022 um 19:46 Uhr schrieb Sergey_S :
>
> C:\Users\shuts\Downloads\ffmpeg-2022-01-19-git-dd17c86aa1-essentials_build\bin>ffmpeg
> -i C:\Users\shuts\Desktop\Ep1.ts -vcodec libx264 -s 720x576 -g 50
> -keyint_min 50 -sc_threshold 0 -vprofile main -level 4.1 -b:v 3000K
> -maxrate 3000K -bufsize 6000K -r 25.000 -acodec aac -ar 48000 -ac 2 -ab
> 128k -async 2 -filter_complex "[0:v][0:s:1]overlay[v]" -map "[v]" -map 0:a

Does the error disappear if you don't use "-s" if you are using "filter_complex"
(as you have to)?

> -f mpegts C:\Users\shuts\Desktop\8.ts

"-f mpegts" looks strange in this command line (but that may only be me).

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] issue with pcm_mulaw

2022-01-22 Thread Carl Eugen Hoyos
Am So., 16. Jan. 2022 um 12:34 Uhr schrieb manu . :

> I used to transcode my cams Stream RTSP in HLS with ffmpeg on my Raspberry 
> for years
> to play it in all browsers without problem, since i have updated my Raspberry 
> with the
> latest Raspbian Bullseye and ffmpeg, i have no more audio … and i have this 
> warning :
> Stream 1, codec pcm_mulaw, is muxed as a private data stream and may not be 
> recognized upon reading.
>
> My ffmpeg command is :
> ffmpeg -fflags nobuffer -rtsp_transport tcp -i rtsp://user 
> :pass@192.168.0.44/ISAPI/Streaming/channels/1 -err_detect ignore_err -vsync 0 
> -map 0:v -map 0:a:0? -c:a copy -c:v copy -async 1 -f hls -hls_time 2 
> -hls_list_size 10 -hls_allow_cache 1 -hls_delete_threshold 10 -hls_flags 
> delete_segments /var/www/cam/28/live.m3u8
> Can anyone help me pls ?

Complete, uncut console output missing.

Your report indicates that the same command line used to work - please
also provide the console output for a working version.

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] Feeding frames to ffmpeg directly

2022-01-22 Thread Carl Eugen Hoyos
Am So., 16. Jan. 2022 um 22:24 Uhr schrieb Moritz Barsnick :
>
> Hi Violet,
>
> On Sun, Jan 16, 2022 at 15:14:47 -0600, Violet White wrote:
> > Hi, I have a program that generates frames of animation and saves
> > them to individual files on a disk, but what I would like to do is avoid
> > writing the images to disk and simply pipe them in.
> >
> > Can I expect this to just work if I write multiple png files to the same 
> > stream?
> > Or will I need to adjust my program's output format?
>
> This should just work. ffmpeg has an input format called "png_pipe"
> (and similar for other formats.
>
> Assuming all images have the same dimensions and colorspace - though
> I'm not sure that is a must - you can just do:
>
> $ cat *.png | ffmpeg -f png_pipe -i - ...
>
> Of course, you have no files on disk, as in this example. So you would
> just change your program to output the consecutive PNGs to stdout, and
> pipe that to the ffmpeg command.
>
> $ ./your_program | ffmpeg -f png_pipe -i - ...

Nothing wrong but note that png is a format that will not work at
all if auto-detection fails (there are many formats where forcing
the format can be necessary) so in this specific case, the
following will always work if the above works:
$ ./your_program | ffmpeg -i - ...

As an advantage, this may also work if the program sometimes
outputs png, sometimes other formats.

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] How to submit sample media

2022-01-22 Thread Carl Eugen Hoyos
Am Do., 20. Jan. 2022 um 00:04 Uhr schrieb Whatsthis XTnetwork
:
>
> In some recent ffmpeg logs I see messages like:
>
> [h264 @ 0x123456789abc] If you want to help, upload a sample of this file
> to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
> list. (ffmpeg-de...@ffmpeg.org)

Just post a link to your favorite file hoster here or on the bug tracker.

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] ffmpeg 4.4.1 security issue

2022-01-09 Thread Carl Eugen Hoyos
Am Do., 6. Jan. 2022 um 14:13 Uhr schrieb Dama, Nikhil via ffmpeg-user
:

> My security team denied the download of the package, and here is the
> following explanation that they gave:
> DOWNLOAD DENIED: Muliple known vulnerabilities like CVE-2021-38171

Because of the extreme reaction by your security team it should really
be noted that if this CVE allows code execution (I don't know) only you (as
the person who starts ffmpeg) can use the vulnerability to take over your
system (with your user rights)...

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] Pixel format for sdl output device

2022-01-09 Thread Carl Eugen Hoyos
Am Fr., 7. Jan. 2022 um 22:16 Uhr schrieb Michael Koch
:
>
> At the end of the
> filter chain I had to insert "format=bgra". It doesn't work if I use
> rgb24 or bgrp or no format at all.

> Why does the sdl output device need a
> pixel format with alpha channel?

You can use bgr0 which is a format without alpha channel.
If you change your screen pixel format (in your operating
system) from 32bit to 24bit, you can use RGB24 (or BGR24)
which once upon a time was slower.

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] Can MJPEG be live streamed without transcoding?

2022-01-09 Thread Carl Eugen Hoyos
Am Sa., 8. Jan. 2022 um 07:54 Uhr schrieb Adam Nielsen via ffmpeg-user
:

>   [mpegts @ 0x6725d0] Stream 0, codec mjpeg, is muxed as a private data
>   stream and may not be recognized upon reading.

You cannot mux random data into mpegts, this is not a limitation of FFmpeg.

A small change to the FFmpeg source code probably makes possible what
you want, but since the resulting stream does not conform to any
specification, the developers will not do it.

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] 'incorrect' number of extracted frames in a non-VFR video

2021-08-11 Thread Carl Eugen Hoyos



> Am 11.08.2021 um 03:35 schrieb Jon Beyer :
> 
> I have a video that is supposedly not VFR (ffmpeg vfrdet command and output
> pasted at the very bottom), but the number of extracted frames, or
> frame count with ffprobe, doesn't match what would be expected based on
> frame rate and duration by a large margin (off by a factor of nearly 3x).

A quick calculation gave me the impression that the number of decoded frames 
mostly matches the expectation ((8x60+9.5)x3/1001) - what did you calculate?

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] ITU-R BS.1770-1 (Netflix) audio measurement

2021-08-11 Thread Carl Eugen Hoyos


> Am 10.08.2021 um 11:03 schrieb Bouke :
> 
> I'm using the R128 functionality now, but Netflix wants sound to be Dolby 
> dialogue-gated measured.

> Seems that the needed Dolby code is free now.

Very generally, this was unlikely, after following the links you provided, it’s 
not correct.
(„free“ has more than one meaning, on a mailing list that deals with open 
source software, the interpretation „no money needed“ is not relevant.)

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] Copied Video and Audio Way Out of Sync

2021-08-08 Thread Carl Eugen Hoyos
Am So., 8. Aug. 2021 um 22:13 Uhr schrieb Wayne :
>
> Here's the simple command line I'm using to copy part of an mp4 file to
> a new file.
>
> ffmpeg -ss 6.6401 -i inFile.mp4 -to 17.6679 -c copy outFile.mp4

Complete, uncut console output missing.

> Since the seek position does not fall on a keyframe, the video stream of
> the copied file starts on the preceding keyframe which is OK.  However,
> the audio stream begins at the actual seek time in the command line.

> The result is a file which is way out of sync.

Forever? Or only (with some playback applications) when playback starts?

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] FFmpeg and libx264 presets and Constant Rate Factor (CRF)

2021-08-07 Thread Carl Eugen Hoyos
Am Sa., 7. Aug. 2021 um 11:12 Uhr schrieb Bill Crockett :

> If I choose a CRF of 20, and I use the "veryslow" preset, the quality will
> still be the same if I choose a CRF of 20 and use the "superfast" preset?
>
> The same with this.  If I choose a CRF of 10, and I use the "veryslow"
> preset, the quality will still be the same if I choose a CRF of 10 and use
> the "superfast" preset?

The quality will be (very) similar in both cases, it will not be 100% identical.

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] Streaming video over UDP, connecting at any time

2021-06-15 Thread Carl Eugen Hoyos
Am Di., 15. Juni 2021 um 15:17 Uhr schrieb Ad Go :

> I'm trying to receive a video from a tcp stream and to re-stream
> it over udp on localhost. This is what I have now:

I don't use many tools except FFmpeg but I believe this
should be done with tcpdump.

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] triming an audio wavfile

2021-06-13 Thread Carl Eugen Hoyos
Am So., 13. Juni 2021 um 08:47 Uhr schrieb Robert Jeffares
:

> ffmpeg -hide_banner -loglevel error -i $SOURCE -ss $HEADNUM
> -to $TAILNUM  somedesiredoutput.wav

This cannot work as the file does not get recognized currently.

The usual way of dealing with such a case is to upload a sample.

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] Issue in converting a dss audio file to wav

2021-06-09 Thread Carl Eugen Hoyos
Am Mi., 9. Juni 2021 um 18:00 Uhr schrieb Aman Bisht :

> ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers

Is the issue you see reproducible with current FFmpeg git head?

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] Recovery of broken Dohiker 'trailcam' videos

2021-06-09 Thread Carl Eugen Hoyos
Am Di., 8. Juni 2021 um 14:52 Uhr schrieb Rob Hallam :
>
> On Tue, 8 Jun 2021 at 00:57, Carl Eugen Hoyos  wrote:
> >
> > Feel free to provide sample file(s) after confirming that the
> > issue is reproducible with current FFmpeg git head, the
> > only version supported on this mailing list.
>
> Thank you for replying, Carl. I have compiled git head (ffmpeg
> N-102655-g282b9f4cba) and the issue persists, log appended.
>
> I have uploaded a working [1] and non-working example [2]. I can
> provide additional files or share via another method if desired.
>
> 1: https://roberthallam.com/IMAG0085.AVI

> 2: https://roberthallam.com/IMAG0065.AVI

This is a regression, works fine with FFmpeg 3.2, I opened ticket #9287.

Thank you for the sample, 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] Recovery of broken Dohiker 'trailcam' videos

2021-06-07 Thread Carl Eugen Hoyos



> Am 06.06.2021 um 14:44 schrieb Rob Hallam :
> 
> However, while some of the videos play both video and audio, others have no 
> video

Feel free to provide sample file(s) after confirming that the issue is 
reproducible with current FFmpeg git head, the only version supported on this 
mailing list.

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] Convert flv to mp4. Bad video quality

2021-05-28 Thread Carl Eugen Hoyos




> Am 28.05.2021 um 11:44 schrieb Michael Koch :
> 
> Am 28.05.2021 um 11:25 schrieb Flavio Sartoretto:
>> I use ffmpeg in order to convert fname.flv video to mp4:
>> ffmpeg -i fname.flv -c:v mpeg4 -copyts -loglevel verbose fname.mp4
>> 
>> The video quality of my output is bad. How can I improve it?
> 
> Add -q:v 1 to your command line. The number does specify the compression 
> ratio. 0 ist best quality and 9 is highest compression.

This is (nearly) completely wrong:
9 is still high quality, highest compression happens at a much higher value.
Old MEncoder documentation recommends not use a value lower than 2, sane values 
start between 5 and 10.
To Flavio:
The answer to your question depends on your use case: Setting a constant 
quantiser as suggested leads to output more similar to constant quality as is 
possible with x264 (and newer encoders) and is likely a good idea nowadays, the 
alternative is setting a bitrate, this should be combined with two-pass 
encoding and leads to the best quality - file size relation (which should be 
less relevant if you don’t write to a CD).

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] triming an audio wavfile

2021-05-25 Thread Carl Eugen Hoyos



> Am 25.05.2021 um 03:39 schrieb pink panther :
> 
> Input #0, wav, from 'Mohg729.wav':
>  Duration: 00:05:32.55, bitrate: 8 kb/s
>  Stream #0:0: Audio: none (3[1][0][0] / 0x0133), 8000 Hz, mono, 8 kb/s

Please provide the file Mohg729.wav to allow us to fix the issue you see.

Thank you, 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] triming an audio wavfile

2021-05-24 Thread Carl Eugen Hoyos
Am Mo., 24. Mai 2021 um 23:21 Uhr schrieb pink panther :
>
> I have tried all of the below. I just want to cut the audio(music on hold)
> to 1 minute because it's too long

Complete, uncut console output missing.

Can the input file be decoded?
If not, please provide a sample.

Please find out what top-posting means and avoid it here.

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] triming an audio wavfile

2021-05-24 Thread Carl Eugen Hoyos
Am Mo., 24. Mai 2021 um 22:23 Uhr schrieb pink panther :
>
> I have a 325kb audio wave file recorded in g729.

If the file does not work at all, we would love to
test a sample

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] h265 file from IP camera - audio stream

2021-05-16 Thread Carl Eugen Hoyos
Am So., 16. Mai 2021 um 08:11 Uhr schrieb Martin Woolley
:

> Would you mind educating me (or helping me educate myself)?

> What is HXVF / HXVS / HXVT

I chose this name for the file type because these
strings / tags happen to appear in your files.

> and is there a specification I can read covering this?

I wanted to write "probably, but we don't have access
to it" but the first link in Rob's message contains all /
most necessary information.

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] How to repair iPhone photos

2021-05-16 Thread Carl Eugen Hoyos
Am Sa., 15. Mai 2021 um 18:28 Uhr schrieb Ulf Zibis :

> I have some photos from a iPhone in HEIC format. Is there a
> chance, to convert them to a "normal" format?

You're welcome to test this repository with your samples:
https://github.com/Swaraj1998/FFmpeg

Thank you, 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] h265 file from IP camera - audio stream

2021-05-15 Thread Carl Eugen Hoyos
Am Sa., 15. Mai 2021 um 19:33 Uhr schrieb Martin Woolley
:
>
> Sorry, no... reading my own words again, I too read it that way :-)

Thank you!

> But as you have no doubt discovered, neither format plays in
> VLC. Apologies for my lack of rigour.

Don't worry!

> You're welcome. Looking forward to seeing the analysis.

The file format is just not supported, it is most likely not extremely
difficult to fix this, somebody has to do it though...

Please find out what top-posting means and avoid it here, 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] h265 file from IP camera - audio stream

2021-05-15 Thread Carl Eugen Hoyos
Am Sa., 15. Mai 2021 um 14:29 Uhr schrieb Martin Woolley
:
>
> Unfortunately neither VLC or my media server/TV are able to
> play the H265 files from the IP camera

Am I the only one who interpreted this as "H264 files work fine"?

I opened ticket #9245, thank you for the sample files!

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] h265 file from IP camera - audio stream

2021-05-15 Thread Carl Eugen Hoyos



> Am 15.05.2021 um 14:29 schrieb Martin Woolley :
> 
> I'm happy to share a sample file if it
> would help.

Please provide both a H264 and a H265 file with audio from the camera.

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] Errors in swscaler or broken video

2021-05-12 Thread Carl Eugen Hoyos
Am Mi., 12. Mai 2021 um 08:39 Uhr schrieb WR :

> Maybe, there is a way, to scale the subtitles in that way, that they
> would fit the videos size.

Yes, this is supposed to work fine.
Please provide the command line you tested together with
the complete, uncut console output to allow us to better
understand your issue.

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] Video Freezing Sometimes, and not other times.

2021-05-12 Thread Carl Eugen Hoyos



> Am 12.05.2021 um 02:05 schrieb Craig L. :
> 
> ffmpeg version 4.3.1-static

Is the issue you see reproducible with current FFmpeg git head?

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] Syncronizing live sources across multiple / separate FFmpeg commands

2021-05-09 Thread Carl Eugen Hoyos
Am Sa., 8. Mai 2021 um 07:28 Uhr schrieb Gabriel Balaich
:
>
> Hey there, I'm wondering if anybody would have any ideas in regards to
> synchronizing live sources across multiple / separate FFmpeg commands.

It might be possible, please provide one of the command lines that are
fast enough for recording together with the complete, uncut console
output.

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] Errors in swscaler or broken video

2021-05-09 Thread Carl Eugen Hoyos
Am Sa., 8. Mai 2021 um 10:58 Uhr schrieb WR :

> since some days I experience errormessages in ffplay:

Is the issue also reproducible with ffmpeg?

If the issue is reproducible with current FFmpeg git head,
please provide the command line you tested together
with the complete, uncut console output, never post an
excerpt of the console output.
And please point us to an input sample.

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] repair missing audio header

2021-04-19 Thread Carl Eugen Hoyos
Am So., 18. Apr. 2021 um 17:54 Uhr schrieb Alexander Machev
:
>
> ffmpeg is reporting audio errors in some of my tv recordings.
>
> [mp2 @ 03956040] [error] Header missing
> [error] Error while decoding stream #0:1: Invalid data found when
> processing input

Command line and complete, uncut console output missing.

Why do you believe that the error message is an issue?
It is normal for transport streams to contain data loss and
above error message is what the missing data triggers.

> Is it possible to fix them without reencoding the whole audio stream ?

There used to be ProjectX but as said, I am not sure why you
want to fix the error message, fixing in this case of course
means to completely remove a broken audio frame.

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] Preserving PAL 720x576 resolution

2021-04-13 Thread Carl Eugen Hoyos
Am Di., 13. Apr. 2021 um 12:48 Uhr schrieb Erik Dobberkau
:
>
> > Is your input really 720x576 or is it maybe interlaced content
> > encoded as two separate frames with height 288? This is not
> > yet supported by FFmpeg at all without filter insertion, it is
> > possible that we will never write such atrocities.

> Like it or not, it's a SMPTE standard (doesn't make it "right", but a
> whopping lot of people abide by it, therefore it has relevance in real
> life), which specifies to either wrap every field (i.e. half-frame) into
> its own KLV set (labeled as I1) or both into one (labeled ad I2). The first
> produces a valid Picture Item using a pair of its KLVs, the second only
> needs one, obviously. I've seen I1 more often than I2.
> (There's a third version for "interlaced essence" called F1 which I've not
> yet had to deal with.)

I don't like it, I definitely do not doubt the relevance (I did look into
the issue several times), I just want to point out that once the issue
is fixed (from our pov), it is possible that the requested feature
(remuxing of "interlaced" j2k) will still not work, and never will.

Otoh, it may be possible to only fix the remuxing without supporting
the content;-(
(the worst case, imo)

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] Preserving PAL 720x576 resolution

2021-04-13 Thread Carl Eugen Hoyos
Am Di., 13. Apr. 2021 um 17:25 Uhr schrieb Carl Zwanzig :
>
> On 4/13/2021 12:48 AM, Kieran O Leary wrote:
> > The developer of mediainfo, as mediainfo output was included.
>
> Cool, so completely irrelevant* to the question; that or we start
> "blaming" every developer for their program's output.

Given how much I respect and like Jérôme I did not want to blame
anybody, I made a joke (that some people enjoyed).

> *only important if MI and ffmpeg report contradicting info for the same

> data, and I think that's unlikely here

This is a very surprising comment about a long-time bug that
nobody wants to deal with, in addition to the fact that
MediaInfo and FFmpeg use different semantics for "interlaced".
(Sadly no joke this time)

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] Change in video length and loss of audio sync

2021-04-13 Thread Carl Eugen Hoyos
Am Di., 13. Apr. 2021 um 22:18 Uhr schrieb Michael Koch
:
>
> Am 13.04.2021 um 21:53 schrieb John Harlow via ffmpeg-user:
> > RES1=`nice -20 cpulimit -l 400 /usr/bin/ffmpeg -y -hide_banner -loglevel 
> > verbose -r 29.97 -i "$TMP" \
>
> I'm not sure, but doesn't the -r option before the input overwrite the
> framerate of the input?

Yes, the input option -r is meant to break A/V sync.

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] Issue affecting ffmpeg and youtube-dl

2021-04-12 Thread Carl Eugen Hoyos
Am Mo., 12. Apr. 2021 um 23:46 Uhr schrieb JD :
>
> Noted.
>
> >While there, please find out what top-posting means and avoid it here.
>
> Here is the output:
>
> Y:\youtube-dl>ffmpeg -y -loglevel "repeat+info" -i "file:deltron -
> Videos\LIGHTSKINJOHN - only - MakTbhIZ5zo.f302.webm" -i "file:deltron -
> Videos\LIGHTSKINJOHN - only - MakTbhIZ5zo.f251.webm" -c copy -map "0:v:0"
> -map "1:a:0" "file:deltron - Videos\LIGHTSKINJOHN - only -
> MakTbhIZ5zo.temp.webm"
> ffmpeg version 2021-02-16-git-8331eb058d-full_build-www.gyan.dev Copyright
> (c) 2000-2021 the FFmpeg developers
>   built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
>   configuration: --enable-gpl --enable-version3 --enable-static
> --disable-w32threads --disable-autodetect --enable-fontconfig
> --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma
> --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh
> --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca
> --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e
> --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
> --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx
> --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
> --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf
> --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec
> --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx
> --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio
> --enable-libgme --enable-libmodplug --enable-libopenmpt
> --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine
> --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc
> --enable-libilbc --enable-libgsm --enable-libopencore-amrnb
> --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa
> --enable-libbs2b --enable-libflite --enable-libmysofa
> --enable-librubberband --enable-libsoxr --enable-chromaprint
>   libavutil  56. 65.100 / 56. 65.100
>   libavcodec 58.123.100 / 58.123.100
>   libavformat58. 67.100 / 58. 67.100
>   libavdevice58. 12.100 / 58. 12.100
>   libavfilter 7.107.100 /  7.107.100
>   libswscale  5.  8.100 /  5.  8.100
>   libswresample   3.  8.100 /  3.  8.100
>   libpostproc55.  8.100 / 55.  8.100
> Input #0, matroska,webm, from 'file:deltron - Videos\LIGHTSKINJOHN - only -
> MakTbhIZ5zo.f302.webm':
>   Metadata:
> encoder : google/video-file
> http://youtube.com/streaming/otf/durations/112015: Segment-Count: 17
> : Segment-Durations-Ms:
> 5339,5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),901,
> :
> :
>   Duration: N/A, start: 0.00, bitrate: N/A
>   Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv,
> bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr,
> 1k tbn, 1k tbc (default)
> Input #1, matroska,webm, from 'file:deltron - Videos\LIGHTSKINJOHN - only -
> MakTbhIZ5zo.f251.webm':
>   Metadata:
> encoder : google/video-file
>   Duration: 00:01:26.40, start: -0.007000, bitrate: 141 kb/s
>   Stream #1:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
> Output #0, webm, to 'file:deltron - Videos\LIGHTSKINJOHN - only -
> MakTbhIZ5zo.temp.webm':
>   Metadata:
> http://youtube.com/streaming/otf/durations/112015: Segment-Count: 17
> : Segment-Durations-Ms:
> 5339,5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),901,
> :
> :
> encoder : Lavf58.67.100
>   Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv,
> bt709/unknown/unknown), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps,
> 59.94 tbr, 1k tbn, 1k tbc (default)
>   Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
>   Stream #1:0 -> #0:1 (copy)
> Press [q] to stop, [?] for help
> [webm @ 02372e6c47c0] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 5355 >= 5339
> av_interleaved_write_frame(): Invalid argument
> frame=  323 fps=0.0 q=-1.0 Lsize= 906kB time=00:00:05.36
> bitrate=1384.3kbits/s speed=61.2x
> video:825kB audio:89kB subtitle:0kB other streams:0kB global headers:0kB
> muxing overhead: unknown
> Conversion failed!

I can reproduce the issue with the following command:
$ ffmpeg -i LIGHTSKINJOHN\ -\ only-MakTbhIZ5zo.f302.webm -c copy out.webm

The issue is not reproducible with "-ss 6", I don't know if the issue
is in the original
YT source, in the way it is downloaded or in FFmpeg.

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] Preserving PAL 720x576 resolution

2021-04-12 Thread Carl Eugen Hoyos
Am Mo., 12. Apr. 2021 um 23:52 Uhr schrieb Carl Zwanzig :
>
> On 4/12/2021 2:42 PM, Carl Eugen Hoyos wrote:
> > and since Matthew didn't mention "interlaced"
>
> Video (ORIGINAL)
> Scan type: Interlaced
> Scan order   : Top Field First
>
> Yes, he did.

I consider Jérôme and Matthew two different persons;-)

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] ERROR: libglslang not found

2021-04-12 Thread Carl Eugen Hoyos
Am Mo., 12. Apr. 2021 um 00:54 Uhr schrieb Dylan Fernando :

> Thanks, Now I am getting:
>
> /usr/bin/ld: cannot find -lMachineIndependent
> /usr/bin/ld: cannot find -lGenericCodeGen

It doesn't work here either, maybe you need a particular
version of glslang.

Hopefully somebody who knows what it is can help you.

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] Issue affecting ffmpeg and youtube-dl

2021-04-12 Thread Carl Eugen Hoyos
Am Mo., 12. Apr. 2021 um 23:42 Uhr schrieb JD :
>
> I will request the specific ffmpeg command that youtube-dl is using that
> appears to fail.

While there, please find out what top-posting means and avoid it here.

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] Preserving PAL 720x576 resolution

2021-04-12 Thread Carl Eugen Hoyos
Am Mo., 12. Apr. 2021 um 23:38 Uhr schrieb Mark Filipak (ffmpeg)
:
>
> On 2021-04-12 06:40, Matthew Yang wrote:
> > Hello all
> >
> > I was trying to extract a 5-minute segment of a video, keeping the same
> > settings using the following command
> >
> > ffmpeg -ss 00:00:00 -i "input.mxf" -c copy -t 00:05:00 output.mxf
> >
> > However the 'resolution' and 'scan type' of the output differs from the
> > original.
> >
> > Video (ORIGINAL)
> > ID   : 2
> > Format   : JPEG 2000
> > Format profile   : No restrictions
> > Format settings, wrapping mode   : Frame
> > Codec ID : 0D010301020C0100-0401020203010100
> > Duration : 1 h 32 min
> > Bit rate : 90.0 Mb/s
> > Width: 720 pixels
> > Height   : 576 pixels
> > Display aspect ratio : 4:3
> > Frame rate   : 25.000 FPS
> > Standard : PAL
> > Color space  : YUV
> > Chroma subsampling   : 4:2:2
> > Bit depth: 10 bits
> > Scan type: Interlaced
> > Scan order   : Top Field First
> > Bits/(Pixel*Frame)   : 8.680
> > Stream size  : 58.1 GiB (95%)
> > Title: Picture
> >
> > Video (OUTPUT)
> > ID   : 2
> > Format   : JPEG 2000
> > Format profile   : No restrictions
> > Format settings, wrapping mode   : Frame
> > Codec ID : 0D010301020C0100-0401020203010100
> > Duration : 5 min 0 s
> > Bit rate : 58.6 Mb/s
> > Width: 720 pixels
> > Height   : 288 pixels
> > Display aspect ratio : 4:3
> > Frame rate   : 25.000 FPS
> > Color space  : YUV
> > Chroma subsampling   : 4:2:2
> > Bit depth: 10 bits
> > Scan type: Progressive
> > Bits/(Pixel*Frame)   : 11.308
> > Stream size  : 2.05 GiB (96%)
> >
> > How do I retain the same settings in my output file? TIA.
> >
> > Matthew
>
> Hello Matthew,
>
> Do you want to preserve the interlaced character in the 5 minute segment?
> Do you understand what that means? Do you understand that interlaced is
> essentially analog TV?

Since you ask twice (and since Matthew didn't mention "interlaced" and my
guess may absolutely wrong and since I strongly suspect you have little
knowledge about interlaced j2k):
Matthew works professionally in digital archiving and I strongly suspect
he does know "what it means".

> I suggest you combine the 288 line fields to form normal 576 line frames

This suggestion would of course make much more sense if you
knew what you are talking about.

> and then decomb (aka "deinterlace") them.

But you have no idea.

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] Advice on getting help from ffmpeg-user list

2021-04-12 Thread Carl Eugen Hoyos
Am Mo., 12. Apr. 2021 um 10:42 Uhr schrieb Jim DeLaHunt
:

> 3. Use the current version of ffmpeg to reproduce your problem. Your
> output says, "ffmpeg version n3.0.1", but the current numbered version
> is 4.4.

To make this as clear as possible:
The only version supported on this mailing list is current FFmpeg git
head, ask whoever offered you a release binary for support, they are
responsible for it (and they know this).

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] Preserving PAL 720x576 resolution

2021-04-12 Thread Carl Eugen Hoyos
Am Mo., 12. Apr. 2021 um 12:46 Uhr schrieb Matthew Yang
:

> ffmpeg -ss 00:00:00 -i "input.mxf" -c copy -t 00:05:00 output.mxf

Complete, uncut console output missing.

Is your input really 720x576 or is it maybe interlaced content
encoded as two separate frames with height 288? This is not
yet supported by FFmpeg at all without filter insertion, it is
possible that we will never write such atrocities.

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] Issue affecting ffmpeg and youtube-dl

2021-04-12 Thread Carl Eugen Hoyos
Am Mo., 12. Apr. 2021 um 19:42 Uhr schrieb JD :

> ffmpeg version 4.2.4-1ubuntu0.1 Copyright

I don't see any indication for an issue that can be fixed in FFmpeg, if
you disagree please test current FFmpeg git head and provide the
failing ffmpeg (!) command line together with the complete, uncut
console output if you request support here.

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] Trying to extract video stream but output only has 30 frames

2021-04-10 Thread Carl Eugen Hoyos
Am Sa., 10. Apr. 2021 um 14:43 Uhr schrieb William Breathitt Gray
:

> $ ffmpeg -hide_banner -i VID_20210401_150222.mp4 -c:v copy -an onlyvideo.mp4

Work-around is to use -ignore_editlist 1

For future questions: Please remember not to sue -hide_banner and do
not cut the console output.

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] Trying to extract video stream but output only has 30 frames

2021-04-10 Thread Carl Eugen Hoyos
Am Sa., 10. Apr. 2021 um 16:20 Uhr schrieb William Breathitt Gray
:
>
> I can play the video file correctly on my phone and
> desktop (albeit with some minor corrupted video frames and perhaps an
> audio skip here or there), but when I try to convert the video file
> using ffmpeg, I am unable to generate a useful output.

Please provide the sample file.

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] -b:v option

2021-04-08 Thread Carl Eugen Hoyos



> Am 08.04.2021 um 12:45 schrieb Mar Andrés López :
> 
> Is posible to specify bitrate option -b:v as the bitrate from the input? 
> instead of doing -b:v 300k is posible for example -b:v source, which would 
> output the bitrate from original video?

No, technically this would make very little sense.

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] How to dynamically drop frames as required to keep transcoding real time?

2021-04-07 Thread Carl Eugen Hoyos
Am Di., 6. Apr. 2021 um 03:02 Uhr schrieb Adrian Cable :
>
> The problem/question is: how do I get ffmpeg to drop frames as required to
> keep the pipeline running real time?

This is not possible with ffmpeg, the application.
Did you look at the x264 presets?

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] ERROR: libglslang not found

2021-04-07 Thread Carl Eugen Hoyos
Am Mi., 7. Apr. 2021 um 10:46 Uhr schrieb Dylan Fernando :

> Include the log file "ffbuild/config.log" produced by configure as this
> will help solve the problem.

Did you see this?

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] Cut part of a video, crop it and blackout parts of it

2021-04-05 Thread Carl Eugen Hoyos


> Am 05.04.2021 um 01:48 schrieb Cecil Westerhof via ffmpeg-user 
> :
> 
> I have to cut out a part of a video, crop it and blackout two parts.
> I do this with:
>ffmpeg -y  \
>   -ss 00:19:49\
>   -i  2021-03-25ToastmastersClubAvond.mp4 \
>   -to 442 \
>   -vf "
>crop = 1440:1080:240:0
>,
>drawbox=enable='between(t, 0, 2)' :
>   color = black  :
>   w = in_w   :
>   h = in_h   :
>   thickness = fill
>,
>drawbox=enable='between(t, 339, 342)' :
>   color = black  :
>   w = in_w   :
>   h = in_h   :
>   thickness = fill
>   "   \
>   -acodec copy\
>   -vcodec libx264 \
>   -crf23  \
>   speechClean2.mp4
> 
> The reason I do -to in the output is that in this way the metadata
> concerning the video length is less out of whack.
> 
> I was wondering if this is a good way, or that it could be done
> better?

> Also, beside the timestamps the parameters for drawbox are the same.
> Is there a way that I do not have to repeat them?

I suspect there is an „Or“ parameter for „enable“.

> 
> I started the crf with 16, then 20 and lastly 23.
> 
> The input file has:
>Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
> 1920x1080, 2070 kb/s, 25 fps, 25 tbr, 30k tbn, 60k tbc (default)
> 
> With crf 16 I get:
>Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
> 1440x1080, 5541 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
> 
> With crf 20 I get:
>Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
> 1440x1080, 3538 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
> 
> And with crf 23 I get:
>Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
> 1440x1080, 2444 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
> 
> So to me it seems that the crf value is still to high.

You mean still too low?

> Is there a way
> to use the kb/s to calculate the crf value to use?

There is a fundamental misunderstanding:
You decide how much quality you want to preserve, x264 decides how much bitrate 
is needed to reach that quality. (This is true for the general case where you 
want to control the output quality and are therefore using the crf option.)
If you really have bitrate constraints, use two-pass encoding instead of the 
crf option.

I suspect the reason for the high bitrate of the output file is the low quality 
of the input file but this is not really relevant, just a (possible) 
explanation. One (unlikely) alternative is that your original h264 encoder is 
much better than x264.

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] Using Homebrew to install FFmpeg, But having wired problems.

2021-04-05 Thread Carl Eugen Hoyos


> Am 05.04.2021 um 04:39 schrieb Kosei Seki <1446513973wh...@gmail.com>:
> 
> (base) XXX-MacBook-Air ~ % brew install ffmpeg --HEAD

You will have to ask elsewhere (we are not brew) if you don’t like the links on 
our download page:
http://ffmpeg.org/download.html

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] Extraction of H.264 MVC bitstream from Matroska

2021-04-03 Thread Carl Eugen Hoyos


> Am 03.04.2021 um 20:20 schrieb Simone Croci :
> 
> Does ffmepg support the extraction of H.264 MVC bitstreams from Matroska?

Please test and report back.

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] Error Message: sps_id 1 out of range

2021-04-03 Thread Carl Eugen Hoyos


> Am 02.04.2021 um 23:54 schrieb Simone Croci :
> 
> I am decoding an MVC H.264 video and I get a lot of error messages "sps_id
> 1 out of range". What is the problem?


> is it caused by the fact that ffmpeg
> does not support MVC H.264?

Yes.

As Carl wrote:
When asking questions on this mailing list, always provide the command line you 
tested together with the complete, uncut console output, do not use external 
resources if possible.

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] 1080i AVC-I 100 frame rate conversion

2021-03-29 Thread Carl Eugen Hoyos
Am Mo., 29. März 2021 um 18:48 Uhr schrieb Nicolas George :
>
> Carl Eugen Hoyos (12021-03-29):
> > Either you are showing content where the speed (and duration) can be
> > changed but this does not matter - such content is rare but likely
> > exists
>
> You mean that most movies from the NTSC area sold as PAL DVD likely
> exist? I can confirm, they exist.

No Nicolas, I am not that stupid.

What I meant is that I suspect 30fps content exists that can be shown
at a speed of 25fps without breaking the experience completely
although I am not aware of such content atm.

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] 1080i AVC-I 100 frame rate conversion

2021-03-29 Thread Carl Eugen Hoyos
Am Mo., 29. März 2021 um 10:44 Uhr schrieb Bruce Roberts :

> The background to this is that I have to transcode 23.976fps and 29.97fps
> content for a VOD platform that will only accept 25fps. Their
> documentation says that *prefer *speed change when going from 23.976fps
> or 24fps to 25fps but that they also require motion compensation.

I don't think this makes sense:
Either you are showing content where the speed (and duration) can be
changed but this does not matter - such content is rare but likely
exists, in this case you don't need any motion compensation at all.
Or you don't want to change the speed (and duration) of your video,
then you can either drop / duplicate frames or use motion compensation:
One of these techniques is very fast, the other extremely slow...

To shorten this discussion a little:
If you go from 24000/1001 or 24 to 25, it should be acceptable to
change the speed, just force an input framerate of 25 and change
the audio pitch.
If your input is 3/1001, you either have to drop frames or
use some kind of motion compensation.

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] How to use the diff of palettegen with screen capturen

2021-03-29 Thread Carl Eugen Hoyos
Am Mo., 29. März 2021 um 12:22 Uhr schrieb jun li :
>
> ffmpeg -f gdigrab -framerate 5 -i desktop output.gif

This command line cannot produce a nice-looking gif,
paletteuse is needed for good pal8 output.

Either record first (not using gif) and convert to gif later
or use a palette of your choice.

Please find out what top-posting means and avoid it here.

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] Cutting out part of a video does not work

2021-03-26 Thread Carl Eugen Hoyos
Am Fr., 26. März 2021 um 17:28 Uhr schrieb Cecil Westerhof via
ffmpeg-user :

> ffmpeg -y -ss 1189 -i 2021-03-25ToastmastersClubAvond.mp4
> -to 442 -acodec copy -vcodec libx264 -crf 8 -async 1 speech.mp4

The x264 documentation states that there is no good
reason to use "crf 8" and please don't use "acodec copy"
with "async 1", these two options are exclusive.

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] Removing black beams

2021-03-26 Thread Carl Eugen Hoyos
Am Fr., 26. März 2021 um 10:05 Uhr schrieb Cecil Westerhof via
ffmpeg-user :
>
> Because people have different resolutions there are sometimes black
> beams to the side of a video. What is the best way to remove them?

Did you test the cropdetect filter?
https://ffmpeg.org/ffmpeg-filters.html#cropdetect

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] 1080i AVC-I 100 frame rate conversion

2021-03-26 Thread Carl Eugen Hoyos
Am Fr., 26. März 2021 um 15:32 Uhr schrieb Bruce Roberts :

> I'm looking for advice on the best ways to convert 23.976fps
> and 29.97fps AVC-I 100Mbps content to 25fps

The single most important question is:
What do you mean with "convert"?

Usually, changing the speed of the video is completely
unacceptable, but if it is acceptable for you, you can
test the input option "-r" which (is different from the
output option "-r" and) allows you to save the intermediate
step to change the speed (and duration) of the output
file (but does not always work, please test).

Please provide an input sample file to allow debugging
of the bands you see with the framerate filter.

Generally, please always post the command lines
you tested together with the complete, uncut console
output.

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] ffmpeg bottleneck, thread-safe ?

2021-03-25 Thread Carl Eugen Hoyos
Am Do., 25. März 2021 um 17:04 Uhr schrieb :

> 76 vCPUs (Skylake Gold 6161 v5 bi-pro 2.2Ghz) | 304 GB | cc3.19xlarge.4 | OBS 
> CentOS 7.7

> o   /home/local/ffmpeg_build/bin/ffmpeg -i 
> /data/testjulien/iss_ep01telco_DT_video360_h265_7680x7680_10b_250Mbps_stereo_v001.mp4
>  -maxrate 25M -bufsize 200M  -b:v 25000k -c:v libx265 -pix_fmt yuvj420p -c:a 
> copy  -f hls -hls_time 4 -hls_flags independent_segments -hls_list_size 5 
> -strftime 1 -hls_segment_filename 
> /data/www/httpsvmmalo/test_capa/file_%m-%d_%H-%M-%S.m4s 
> /data/www/httpsvmmalo/test_capa/stream.m3u8

When asking questions on this mailing list, you are expected to
provide the command
line you tested together with the complete, uncut console output,
attachments are
rarely useful-

> o   ffmpeg version 4.3.2

Please test current FFmpeg git head.

In general, video decoding can be parallelized (although restrictions
exist), encoding
parallelization has limitations, it is therefore likely that you found
a bottleneck of x265.
But to be able to clearly decide if this is true, you can first test
decoding speed (only),
then test encoding from testsrc2 (which should be faster than decoding
an 8k video),
and don't use hls muxing to rule out any bottleneck there.

> Ce message et ses pieces jointes peuvent contenir des informations 
> confidentielles

Please remove this nonsense from emails sent to a public mailing list.

I wonder what "thread-safe" means in your subject...

Carl Eugen

PS:
Before you ask the x265 developers why they are not maxing out your CPUs:
There was a patch once that allowed the x265 encoder to use more cpu cycles
but since it reduced encoding speed it was decided not to merge it...
___
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] Split stream in equal chunks

2021-03-25 Thread Carl Eugen Hoyos
Am Do., 25. März 2021 um 08:03 Uhr schrieb Marian Klymov :
>
> I want to receive rtmp stream (using nginx-rtmp module), transcode
> it and save it in chunks.
> I would like to have splitting at specific times and to have all chunks
> equal to 30.00 seconds (except first and last obviously). I've tried
> playing with different parameters. segment_atclocktime looked like
> it should do what I want but it creates chunks of different sizes.

Either I misunderstand or this makes no sense:
You write that you want 30-second-chunks which is not unusual I
guess. With each real encoder (like x264), each 30-second-chunk
has a different size (in bytes). Then you write that you expect that
your chunks all have the same size.
You would that be possible?

Generally, when asking questions here, always post the command
line you used together with the complete, uncut console output in
your email, do not use external resources.

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] How to use the diff of palettegen with screen capturen

2021-03-24 Thread Carl Eugen Hoyos
Am Mi., 24. März 2021 um 08:38 Uhr schrieb jun li :
>
> ffmpeg -f gdigrab -framerate 30 -i desktop -ss 1 -lavfi
> palettegen=stats_mode=*diff*:transparency_color=ff[pal],[0:v][pal]paletteuse=new=1:dither=bayer:bayer_scale=1
> default.gif

This is not how palettegen / paletteuse work, see:
https://ffmpeg.org/ffmpeg-filters.html#palettegen-1

The examples you found only work for short input files.

For future questions:
Never attach screen shots, post the complete, uncut console
output as text instead.

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] Impossible to convert between... formats... 'Parsed_null_0' and 'auto_scaler_0'

2021-03-22 Thread Carl Eugen Hoyos
Am Mo., 22. März 2021 um 13:33 Uhr schrieb Andrews, Vincent
:

> We are trying to setup ffmpeg on a CentOS7 system without hardware 
> acceleration so that we can convert *.mov files to *.mp4.
>
> ffmpeg V4.3.2 was configured with:

Please test current FFmpeg git head, if you use a precompiled binary,
it will probably fix
your issue.

> “./configure --prefix=/opt/vince --disable-cuda-llvm --disable-cuvid 
> --disable-hwaccels”

> $ ffmpeg -i /scratch/general/video/CE11009_232.mov -c:v h264  CE11009_231.mp4

Which encoder is this command line supposed to use given above configure line?

[...]

> This email and any attachments are intended solely for the use of the named 
> recipients.

Please remove this nonsense from emails sent to a public mailing list.

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] Recorded Frame Timestamps are Inconsistent! How to Fix it?

2021-03-22 Thread Carl Eugen Hoyos
Am Mo., 22. März 2021 um 20:36 Uhr schrieb Hassan :

> Given the discussion above and the question under discussion, can you
> please give a command to achieve the accurate timestamping of the frames?

You should start with something like the following:
$ ffmpeg -f gdigrab -i desktop -vcodec libx264 -pix_fmt yuv420p
-preset ultrafast out.mkv

mkv is not ideal for many framerates, the mov muxer is believed by its original
developer to not work correctly for vfr, so it is not easy to suggest an ideal
file format, consider testing nut.

If your system is fast enough, you can switch to libx264rgb and
increase the framerate,
In a second step, you can then write the timestamp on the frames if
you believe that
this is needed.

If you need more support, please do not forget to post the command line you
tested together with the complete, uncut console output.

Note that many systems are not fast enough to do what you want.

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] Recorded Frame Timestamps are Inconsistent! How to Fix it?

2021-03-22 Thread Carl Eugen Hoyos
Am Mo., 22. März 2021 um 14:51 Uhr schrieb Hassan :

> > ffmpeg -f gdigrab  -i desktop

> > -vf "settb=expr=1/72, setpts=N*12000, fps=60"

This filter chain looks either useless or broken.

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] Recorded Frame Timestamps are Inconsistent! How to Fix it?

2021-03-21 Thread Carl Eugen Hoyos
Am So., 21. März 2021 um 23:55 Uhr schrieb Mark Filipak (ffmpeg)
:
>
> On 2021-03-21 18:36, Carl Eugen Hoyos wrote:
> > Am So., 21. März 2021 um 23:31 Uhr schrieb Mark Filipak (ffmpeg)
> > :
> >>
> >> On 2021-03-21 17:50, Carl Eugen Hoyos wrote:
> >>> Am So., 21. März 2021 um 22:13 Uhr schrieb Mark Filipak (ffmpeg)
> >>> :
> >>>
> >>>> I think '-framerate 60' may not be needed at all.
> >>>
> >>> It is only needed if 60fps recording is wanted.
> >
> >>> As said before, setpts should generally be avoided and
> >>> this is even more true for settb.
> >>
> >> Serious questions:
> >>
> >> 'setpts=N/FR/TB' seems to be reliable, and is the only way
> >> I've gotten some of my frame gymnastics to work.
> >
> > Serious question:
> > What does this tell you?
>
> You are "answering" a question with a question.

This is clearly a "lie" to quote another contributor ;-)

> I don't know what your "answer" means.

It was a (too?) subtle way to indicate that what you try to
do makes no sense.

> >> What is wrong/dangerous about 'setpts"?
> >
> > I can only work for input that is strictly cfr,...
>
> Of course, that's true.
>
> >...this is typically not true for screen recordings.

> What are "screen recordings"?

The topic of this mailing list thread.

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] Recorded Frame Timestamps are Inconsistent! How to Fix it?

2021-03-21 Thread Carl Eugen Hoyos
Am So., 21. März 2021 um 23:31 Uhr schrieb Mark Filipak (ffmpeg)
:
>
> On 2021-03-21 17:50, Carl Eugen Hoyos wrote:
> > Am So., 21. März 2021 um 22:13 Uhr schrieb Mark Filipak (ffmpeg)
> > :
> >
> >> I think '-framerate 60' may not be needed at all.
> >
> > It is only needed if 60fps recording is wanted.

> > As said before, setpts should generally be avoided and
> > this is even more true for settb.
>
> Serious questions:
>
> 'setpts=N/FR/TB' seems to be reliable, and is the only way
> I've gotten some of my frame gymnastics to work.

Serious question:
What does this tell you?

> What is wrong/dangerous about 'setpts"?

I can only work for input that is strictly cfr, this is typically
not true for screen recordings.

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] Recorded Frame Timestamps are Inconsistent! How to Fix it?

2021-03-21 Thread Carl Eugen Hoyos
Am So., 21. März 2021 um 22:13 Uhr schrieb Mark Filipak (ffmpeg)
:

> I think '-framerate 60' may not be needed at all.

It is only needed if 60fps recording is wanted.

As said before, setpts should generally be avoided and
this is even more true for settb. If you have to smooth
timestamps, use the fps filter or the ffmpeg option -r.

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] libaom - first frame not lossless when > 7 frames in source

2021-03-21 Thread Carl Eugen Hoyos
Am Sa., 6. Juni 2020 um 21:05 Uhr schrieb Kieran O Leary
:

> I was doing some tests with libaom and lossness encoding and with synthetic
> files and some real world files, I kept finding that the framemd5s for the
> first frame was different than the source, but every other libaom encoded
> frame produced matching framemd5s for source and output.
> I then tried with smaller frame counts, and with synthetic files, I found
> that all frames would produce matching framemd5s when there was between 1
> and 7 frames in the input. Once you went to 8 frames and above, the first
> frame would produce a framemd5 mismatch.

Should be fixed, work-around was to set qmax to 0.

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] Repeatable output?

2021-03-20 Thread Carl Eugen Hoyos
Am Sa., 20. März 2021 um 22:10 Uhr schrieb amindfv--- via ffmpeg-user
:
>
> When can I expect the output of ffmpeg to be byte-for-byte identical
> across runs given the same input and command-line flags?

Command line and complete, uncut console output missing but "real"
encoders do not to produce deterministic output with threads > 1.

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] ffmpeg srt to udp

2021-03-19 Thread Carl Eugen Hoyos
Am Di., 16. März 2021 um 13:28 Uhr schrieb Javier Fuentes
:

> ffmpeg -i "srt://xx.xx.xx.xx:9002?mode=listener" -map 0 -codec copy  -tune
> zerolatency -f mpegts udp://xx.xx.xx.xx:9000?pkt_size=1316

(-tune zerolatency looks disturbing here...)

Complete, uncut console output missing.

It should be possible with something like the following, untested:
$ ffmpeg -f data -i input -f data -map 0 -c copy udp://...

This should avoid the remuxing, if it does not work, ffmpeg is
probably the wrong tool, there should be a utility to receive
the raw content of the srt stream, you can pipe that to udp.

> *AVISO LEGAL:* Todo el contenido de este correo y sus adjuntos proviene de
> FLUMOTION SERVICES, S.A. (en adelante, “FLUMOTION”).

> La información contenida en este e-mail es confidencial

Please remove such nonsense from emails sent to a public
mailing list.

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] [FPGA HEVC Encode Plugin] Tutorial and Performance Review

2021-03-19 Thread Carl Eugen Hoyos
Am Fr., 19. März 2021 um 08:56 Uhr schrieb tai truong :

> Sorry for my first naive question. As googling, I found some talk about
> fpga hevc encode plugin for ffmpeg from Xilinx.

I have no idea if this is your question but a patch is attached to this ticket:
https://trac.ffmpeg.org/ticket/7214

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] How to pipe png output from FFmpeg into cavif.

2021-03-15 Thread Carl Eugen Hoyos



> Am 15.03.2021 um 16:17 schrieb bat guano :
> 
> How do I make FFmpeg send it's png output to stdout?

-f rawvideo -vcodec png -

FFmpeg accepts such streams as input, other programs may fail.

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] How to scale FFmpeg

2021-03-12 Thread Carl Eugen Hoyos


> Am 12.03.2021 um 08:27 schrieb  :
> 
> I'm trying to run the following command:

When asking questions on this mailing list, please do not attach screenshots of 
your console output, instead post the command line you tested (without using 
the hidebanner option!) together with the complete, uncut console output.

A few random comments:
mpegts and mp4 are not the same things.
You generally cannot request an FPS rate.
When you use the x264 preset „slow“ do not expect it to work in real-time.
There is a tee muxer and it is mentioned in the documentation.

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] Question regarding "Thread message queue blocking"

2021-03-09 Thread Carl Eugen Hoyos


> Am 10.03.2021 um 07:01 schrieb  :
> 
> I have a question

Please (test current FFmpeg git head, the only version supported here, and) 
provide the command line you tested together with the complete, uncut console 
output as text, do not attach images.

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] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Carl Eugen Hoyos
Am Mo., 8. März 2021 um 23:32 Uhr schrieb Anders Degerberg
:
>
> On Mon, Mar 8, 2021 at 10:44 PM Carl Eugen Hoyos  wrote:
>
> > Just to make sure that our assumption that this would need
> > changes in libswscale is correct, please also test the following:
> > -pix_fmt yuv444p16 -vcodec rawvideo -an -f null -
> > -i "Decklink ..." -an -f null -
> > and compare the speed (or fps) indicator.
>
> Hi Carl Eugen,
>  thanks for looking into this, and my apologies for the top-posting mistake.
>
> - With pix_fmt yuv444p16 and rawvideo, auto_scaler engages, and I get
> 15fps/0.6x. One cpu thread at 100%, a few other threads around 10-20%.
> - Without changing pix_fmt, passing on the rgb data straight to null
> pipe, I get full framerate, 25fps/1x. One or two cpu-threads around
> 20-40%.

This shows that the assumption was correct, libswscale is the culprit.

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] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Carl Eugen Hoyos
Am Mo., 8. März 2021 um 21:46 Uhr schrieb Anders Degerberg
:
>
> Hi, see output below:
> $ ffmpeg -loglevel verbose -f decklink -raw_format rgb10 -i "DeckLink
> 8K Pro (1)" -sws_flags bilinear -sws_flags print_info -c:v hevc_nvenc
> -an -b:v 30M -f null -

Just to make sure that our assumption that this would need
changes in libswscale is correct, please also test the following:
-pix_fmt yuv444p16 -vcodec rawvideo -an -f null -
-i "Decklink ..." -an -f null -
and compare the speed (or fps) indicator.

Please find out what top-posting means and avoid it here, 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] A VisualStudio solution to build the libraries

2021-03-07 Thread Carl Eugen Hoyos
Am So., 7. März 2021 um 23:26 Uhr schrieb Zolotarev, Michael
:

> Tight deadline

Did you install wsl (1) and run the configure script?

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] filter pipeline 'PTS' -- int64_t?

2021-03-02 Thread Carl Eugen Hoyos
Am Di., 2. März 2021 um 21:42 Uhr schrieb Paul B Mahol :
>
> On Tue, Mar 2, 2021 at 8:59 PM Carl Eugen Hoyos  wrote:

> > There is no AVFrac in the (current) codebase.
> >
> Funny how he look at ultra old svn code dump, good luck with that,
>
> How he even managed to find links to svn stuff 

svn.ffmpeg.org is just an alias for ffmpeg.org, the
documentation for old releases is available.

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] repeat a frame

2021-03-02 Thread Carl Eugen Hoyos
Am Di., 2. März 2021 um 20:51 Uhr schrieb Mark Filipak (ffmpeg)
:
>
> On 2021-03-02 13:31, Carl Eugen Hoyos wrote:
> > Am Di., 2. März 2021 um 17:50 Uhr schrieb Mark Filipak (ffmpeg)
> > :
> >>
> >> I've searched the docs one-by-one. I seek a simpler way to repeat a frame.
> >
> > Increase the frame rate, either with the fps filter or the ffmpeg option 
> > "-r".
> > They differ in their greediness and verbosity on the status line.
>
> Thank you, Carl Eugen, I have noted that reality.
>
> Since I've assumed that AVFrame *is* the format of the frames in the filter
> pipeline (and therefore int64_t), and based on an assumption that TB is
> also 64 bits, I've adopted TB = 1/(72 ticks/s)...

timebase is not 64bit, I believe this was already mentioned.

> ...so, for a 24fps CFR INPUT to a 24fps CFR OUTPUT for example,

If your input is cfr and you want cfr output, there should be no reason to mess
with timestamps.

> ffmpeg -i INPUT -vf 
> settb=expr=1/72,setpts=N*3...setpts=N/24/TB,fps=24 OUTPUT

In addition to above, note that setpts is rarely a good idea as it is supposed
to break A/V sync. Using the filter several times does not improve the
situation.

Perhaps you should go back several (dozen) steps:
You have already explained that you have little interest in becoming a
C programmer (which is 100% reasonable), you therefore should not
be interested in the internal representations of FFmpeg (no, you cannot
improve them: The people who have written this code most likely
understand analog video as good as you but they are light years
ahead of you concerning digital video).
It is possible you have found other bugs in FFmpeg (many exist and
you have already found two or three). If you want us to improve the
project, simply post the command line you tested including the
complete, uncut console output and explain what you don't like in
the output file.
(You would have avoided a lot of flames lately...)

The fact that you cannot force a timebase when writing to Matroska
is not a bug that you have to report.

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] filter pipeline 'PTS' -- int64_t?

2021-03-02 Thread Carl Eugen Hoyos
Am Di., 2. März 2021 um 01:47 Uhr schrieb Mark Filipak (ffmpeg)
:
>
> The ffmpeg filter pipeline assigns a 'PTS' to each frame,
> frame by frame.

This may not be completely unreasonable but some
comments are still necessary:
The sentence sounds to me as if the the filter pipeline always
assigns timestamps to frames, but this is neither true (many
filters do not care about timestamps and you do not have to
insert a filter which does) nor does it make the filter pipeline
special: Timestamps often come from the demuxer and / or
the decoder and may or may not change in the filterchain
(and - as I believe you realized by now - because of the
chosen output format; and also the chosen encoder - for
which you did not post a question yet).

Frames may not have a timestamp assigned - you posted
the relevant part of the documentation.

Concerning some of your other comments:

The timestamps in MPEG streams may be negative.

There is no AVFrac in the (current) codebase.

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] repeat a frame

2021-03-02 Thread Carl Eugen Hoyos
Am Di., 2. März 2021 um 17:50 Uhr schrieb Mark Filipak (ffmpeg)
:
>
> I've searched the docs one-by-one. I seek a simpler way to repeat a frame.

Increase the frame rate, either with the fps filter or the ffmpeg option "-r".
They differ in their greediness and verbosity on the status line.

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] [help]does ffmpeg support AJA kona as input devices

2021-03-02 Thread Carl Eugen Hoyos


> Am 02.03.2021 um 07:37 schrieb 梦开始的地方 <382607...@qq.com>:
> 
> I use it on linux,how to compile ffmpeg with video4linux support kona

Every Linux binary by default comes with video4linux2 support, you have to 
actively disable it if you don’t want it.

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] Linux 64 bit ffmpeg compilation

2021-03-02 Thread Carl Eugen Hoyos


> Am 02.03.2021 um 03:41 schrieb KRISHNAKUMAR N K :
> 
> 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.

This only depends on your toolchain:
If you don’t specify a compiler when calling configure the default system 
compiler will be used.
On Intel 64bit systems, the system compiler most likely will default to 64bit. 
But this is not necessarily always the case, and on non-Intel 64bit systems it 
is common for the system compiler to default to 32bit.

There is a configure option „--cc“ that you can use to force 32 or 64 bit 
compilation:
./configure --cc=gcc -m32
(Needs parentheses around gcc -m32!!)

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

  1   2   3   4   5   6   7   8   9   10   >