Re: [FFmpeg-user] Would it be possible to load xattr-related media-files like a container?

2025-08-02 Thread Peter B.
Audio/Video/Subtitle/Data could be in the same folder - or spread around the globe: it wouldn't matter anymore... media streams would be annotated (and related) as plain filesystem attributes. Sounds interesting now? Opinions? Coding interests? Would be happy to hear from you! Pe

[FFmpeg-user] Full Hardware Acceleration for USB Webcam 1080p@30fps to H.264 RTSP Stream on Raspberry Pi 4

2025-02-12 Thread Peter Kálóczy
Description: I’m trying to achieve full GPU hardware acceleration for encoding video from a USB webcam (1920x1080@30fps) to H.264 RTSP stream using ffmpeg via MediaMTX Docker on a Raspberry Pi 4 Model B (4GB with PoE+ HAT and fan). Current Setup: Raspberry Pi 4B 4GB with PoE+ HAT OS: Debian GNU/

[FFmpeg-user] Would it be possible to load xattr-related media-files like a container?

2024-11-20 Thread Peter B.
iner? I imagine this to be quite fun (and useful actually). One could then drag-and-drop to remux tracks, and right-click-edit metadata, I imagine. Feedback greatly appreciated :) Have a great day! Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.o

[FFmpeg-user] Metadata: map key-to-key for different (container) formats?

2024-07-10 Thread Peter B.
ITCH (Technician) I'm aware of "-map_metadata", but it seems to only be able to copy metadata as-is (same key). Any way I could tell ffmpeg that "INAM=title" and "ICRD=date", etc during encoding? Thank you

[FFmpeg-user] concat muxer: Preserve embedded metadata?

2024-07-10 Thread Peter B.
which* metadata from which source file(s) to keep, but is there any way to at least say "use metadata from the 1st file"? (which may probably satisfy a lot of use-cases, as the descriptive metadata will probably match the rest too?) Grateful for any suggestions :)

[FFmpeg-user] Newbie with Anosognosic's Dilemma

2023-11-14 Thread Peter Keschner
stproc    57.  1.100 / 57.  1.100Could find no file with path 'TintGeburt-*..jpg' and index in the range 0-4 TintGeburt-*..jpg: No such file or directory" So, please, what would be the right syntax then? Appreciating already any help I send greet

Re: [FFmpeg-user] ffmpeg retry failed segments

2023-09-27 Thread Peter van den Houten
Hi, reply below. On 27/09/2023 11:03, Torsten Kaiser wrote: Waiting longer might not be helping. What if the first entry is indeed up to 5 seconds long, then immediately switching the source to the next URL? New URL, new TLS-handshake. Browsers do indeed wait longer and retry multiple times to

Re: [FFmpeg-user] How to extract video from .rf file from surveillance camera and convert to mp4

2023-09-09 Thread Peter L via ffmpeg-user
am getting some "Invalid NAL unit size" errors and some "missing picture in access unit" errors, but it doesn't seem to be visibly affecting the output files. I'll report if there's something that doesn't work. Peter On 9/09/2023 5:12 pm, Peter L via

[FFmpeg-user] How to extract video from .rf file from surveillance camera and convert to mp4

2023-09-09 Thread Peter L via ffmpeg-user
Hi I have a video surveillance camera, that exports its video as a .rf file (RealFlash?) How can I extract the video from that and save it as a MP4 using FFmpeg? Thanks Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org

Re: [FFmpeg-user] Retrieve duration of an m2v >MPEG>2 elementary stream file

2023-03-02 Thread Peter van Houten
-probesize 1000M >> /Users/krueger/lesspain/samples/software/compressor/compressor_dvd_mpeg2_480_24p.m2v >> >> > Thanks. I tried that and used values that were way beyond the actual file > duration and size and that didn't change the result, i.e. I still get "

[FFmpeg-user] SILK codec

2022-11-09 Thread Peter West
Hi, Is there a technical or licensing issue that precludes development of a SILK codec? As I understand it, SILK was developed by Skype, and is currently used by WeChat as the codex for voice messages. Thanks — Peter West p...@pbw.id.au “So you also, when you have done all that you were

Re: [FFmpeg-user] Can ffmpeg calculate the min and max bitrate of a video?

2022-05-05 Thread Peter van den Houten
On 05/05/2022 02:37, smu johnson wrote: On Wed, May 4, 2022 at 1:31 AM Peter van den Houten wrote: FFmpeg will not always report bitrate, depending on the container format. Mediainfo is available for Windows and will scan an entire file and you might be able to change the switches for min

Re: [FFmpeg-user] Can ffmpeg calculate the min and max bitrate of a video?

2022-05-04 Thread Peter van den Houten
On 04/05/2022 05:11, smu johnson wrote: Hi, ffprobe / ffmpeg can show a video's avg. bitrate easily enough but I would like the option for ffmpeg to scan an entire video file (if need be, I don't think this info is stored anywhere) to find out the lowest (min) bitrate of a video stream as well a

Re: [FFmpeg-user] How to get video duration in a script using ffmpeg?

2022-01-19 Thread Peter van den Houten
On 19/01/2022 20:12, Shupert, Jim via ffmpeg-user wrote: I have used mediainfo mediainfo --Inform="Video;%Duration/String3%" $SrcDir/${f%.*}.* > $HOME/t.txt trt=$(<$HOME/t.txt) This is more accurate for bitrate as it doesn't read headers but does sample reads of the file (some formats do not

[FFmpeg-user] extracting captions from .m3u8 link to .txt file

2021-11-30 Thread Breeze, Alexander Peter
Hello, I am trying to take a .m3u8 link https://parlvulivec.azureedge.net/HOC-HD-RAZOR01/WB_Chamber/VL/FL/Playlist.m3u8 and extract the captions into one .txt file (or similar plaintext) the closest I have come is ffmpeg -i -an -vn -c:s copy -f rawvideo -map 0:2 sub.txt but the output to said fil

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-27 Thread Peter White
On Sat, Mar 27, 2021 at 05:18:18PM +0100, Bo Berglund wrote: > On Sat, 27 Mar 2021 10:06:03 +0100, Peter White > wrote: > > >> But it all looks the same with the time incrementing at exactly 5 > >> seconds... > > > >Looks like someone took extra care to

Re: [FFmpeg-user] How to detect commercials in recorded TV stream?

2021-03-27 Thread Peter White
r than skipping by a fixed amount of time. I also seem to remember that there are some filters that can detect the start of commercials, by leveraging the logo of the station which usually is not shown during those breaks. But I have no idea if such filters exist for ffmpeg. Cheers, Peter _

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-27 Thread Peter White
On Sat, Mar 27, 2021 at 09:13:10AM +0100, Bo Berglund wrote: > On Sat, 27 Mar 2021 02:50:13 +0100, Peter White > wrote: > > >> I tested your command ona typical video file and found that the output > >> looks > >> basically like this: > >>

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-27 Thread Peter White
. But this is out of scope for this mailing list, I guess, since it is unrelated to ffmpeg. Cheers, Peter ___ 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-27 Thread Peter White
On Sat, Mar 27, 2021 at 08:29:26AM +0100, Cecil Westerhof via ffmpeg-user wrote: > Peter White writes: > > > On Sat, Mar 27, 2021 at 06:18:59AM +0100, Cecil Westerhof via ffmpeg-user > > wrote: > >> Peter White writes: > >> > >> > On Fri, Mar 2

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Sat, Mar 27, 2021 at 05:53:56AM +0100, Cecil Westerhof via ffmpeg-user wrote: > Peter White writes: > > > You can compile it yourself as well. It is not that difficult. Might > > need to hunt down some libraries, but that is basically just looking at > > the error m

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Sat, Mar 27, 2021 at 06:18:59AM +0100, Cecil Westerhof via ffmpeg-user wrote: > Peter White writes: > > > On Fri, Mar 26, 2021 at 05:28:40PM +0100, Cecil Westerhof via ffmpeg-user > > wrote: > >> Peter White writes: > >> > >> > On Fri, Mar 2

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Sat, Mar 27, 2021 at 05:53:56AM +0100, Cecil Westerhof via ffmpeg-user wrote: > Peter White writes: > > > On Fri, Mar 26, 2021 at 07:02:13PM +0100, Cecil Westerhof via ffmpeg-user > > wrote: > >> Carl Zwanzig writes: > >> > >> > On 3/26/202

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Fri, Mar 26, 2021 at 05:28:40PM +0100, Cecil Westerhof via ffmpeg-user wrote: > Peter White writes: > > > On Fri, Mar 26, 2021 at 09:55:21AM +0100, Cecil Westerhof via ffmpeg-user > > wrote: > >> I want to publish a speech I gave during a Zoom meeting. But cuttin

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
ed to hunt down some libraries, but that is basically just looking at the error messages of configure and finding the appropriate packages. Also, config.log and apt-file can help a great deal. Cheers, Peter ___ ffmpeg-user mailing list ffmpeg-user@ff

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Fri, Mar 26, 2021 at 04:40:26PM +0100, Bo Berglund wrote: > On Fri, 26 Mar 2021 10:59:23 +0100, Peter White > wrote: > > >You can use ffprobe to find the keyframe timestamps: > > > >ffprobe -select_streams V:0 -show_frames -skip_frame nokey -show_entries > >

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
On Fri, Mar 26, 2021 at 10:59:23AM +0100, Peter White wrote: > If you can live with further quality loss in the video, you can > transcode it, i.e. -c:v libx264. Forgot one thing. You can, and maybe should, use -ss as an input option. This way ffmpeg does not decode the whole file un

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
eams V:0 -show_frames -skip_frame nokey -show_entries frame=best_effort_timestamp_time 2021-03-25ToastmastersClubAvond.mp4 Cheers, Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, vi

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Peter White
-vcodec copy -async 1 speech.mp4 > > > > which is five seconds earlier. I get the same output. > > > > Am I doing something wrong? > > Without re-encoding you can only cut at keyframes. > If you want to cut at exact time

Re: [FFmpeg-user] segment muxer deprecation warning: "Timestamps are unset in a packet for stream 0"

2021-03-24 Thread Peter B.
Hi Paul. On 23.03.21 19:35, Paul B Mahol wrote: On Tue, Mar 23, 2021 at 4:58 PM Peter B. wrote: Thanks for the info. What is the "fresh setts bitstream filter" - and could you point me to an example how to use it in this case? See the top of the page for general descrip

Re: [FFmpeg-user] 'mix=nb_inputs=2' provokes error...

2021-03-24 Thread Peter White
On Wed, Mar 24, 2021 at 05:00:09AM -0400, Mark Filipak (ffmpeg) wrote: > ...contrary to https://ffmpeg.org/ffmpeg-filters.html#mix > > [Parsed_mix_29 @ 025771c709c0] Option 'nb_inputs' *not found* > [AVFilterGraph @ 025772b53dc0] Error initializing filter 'mix' with args > 'nb_inputs=2:we

Re: [FFmpeg-user] segment muxer deprecation warning: "Timestamps are unset in a packet for stream 0"

2021-03-23 Thread Peter B.
to use it in this case? Thank you very much in advance! Peter ___ 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] segment muxer deprecation warning: "Timestamps are unset in a packet for stream 0"

2021-03-22 Thread Peter B.
the future. Fix your code to set the timestamps properly -- Whom is this warning for, and which "code" needs to be changed "to set the timestamps properly"? Any information is greatly appreciated :) Thanks in advance! Peter B. FFmpeg commandline and

Re: [FFmpeg-user] How to get he total number of frames

2021-03-12 Thread Peter White
On Fri, Mar 12, 2021 at 03:51:11PM +0100, Nicolas George wrote: > Peter White (12021-03-12): > > but that is because a packet needs to be decoded first to get the frame. > > Please be complete in your statements: > > ... with some obscure codecs or if libavcodec happens to

Re: [FFmpeg-user] How to scale FFmpeg

2021-03-12 Thread Peter White
First off, please do not top-post here. On Fri, Mar 12, 2021 at 10:50:51AM +0200, imalkev...@gmail.com wrote: > Hi, > > Here are the three commands used: > ffmpeg -threads 0 -loglevel repeat+level+verbose -f lavfi -i > testsrc2=s=1920x1080:r=30 -f lavfi -i sine -c:a aac -ar 48000 -b:a 64k -c:v

Re: [FFmpeg-user] How to get he total number of frames

2021-03-12 Thread Peter White
On Fri, Mar 12, 2021 at 02:11:14AM -0500, Mark Filipak (ffmpeg) wrote: > On 2021-03-11 18:37, Reino Wijnsma wrote: > > On 2021-03-09T20:43:21+0100, Mark Filipak (ffmpeg) > > wrote: > > > On 2021-03-09 03:58, Michael Koch wrote: > > > > These links might help: > > > > https://stackoverflow.com/que

Re: [FFmpeg-user] I am a new ffmpeg user...

2021-03-11 Thread Peter White
On Wed, Mar 10, 2021 at 09:30:20PM -0500, Barry Smith wrote: > There is absolutely NOTHING about putting all of the package together > where a PATH could find the files correctly That is because *you* need to set up the PATH accordingly. Windows by design is rather stupid in that regard since there

Re: [FFmpeg-user] Frame counting is too slow

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 04:27:14PM +0100, Peter White wrote: > Hi all, > > as a follow-up to this discussion: > https://ffmpeg.org/pipermail/ffmpeg-user/2021-March/052358.html > > I would like to ask, if frame counting with ffprobe can be made faster. > The way it don

Re: [FFmpeg-user] Frame counting is too slow

2021-03-09 Thread Peter White
ied, definition of "frame" in avcodec.h terms?: A frame is what the decoder returns in avcodec_receive_frame(). If that is true, then I cannot see, how to work around that without breaking something. Or am I looking at it wrong? > On Tue, Mar 9, 2021 at 4:27 PM Peter White wrot

Re: [FFmpeg-user] FFmpeg list footer

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 08:13:03PM +, Phil Rhodes via ffmpeg-user wrote: > One of the other issues with this is that nobody ever seems to bother > enforcing any rule whatsoever on this list in any case, so I view the entire > discussion as pointless. You are one of those meant by the OP. m(

[FFmpeg-user] Frame counting is too slow

2021-03-09 Thread Peter White
v:0 -show_entries stream=nb_read_packets -of default=nokey=1:noprint_wrappers=1 input.mkv It takes but a blink of an eye to finish. There is a catch, though, since packets are not frames, there might be some scenario in which the number of packets is greater than the number of frames.

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 11:26:49PM +1030, Rodney Baker wrote: > On Tuesday, 9 March 2021 23:17:34 ACDT Peter White wrote: > > On Tue, Mar 09, 2021 at 01:07:41PM +0100, Nicolas George wrote: > > > Peter White (12021-03-09): > > > > ffmpeg -i input.mkv -an -sn -c copy

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 01:50:20PM +0100, Nicolas George wrote: > Peter White (12021-03-09): > > I have now, but it returns 'N/A'. Now that I see that, I might have > > tried it way back when, even, and have forgotten about it. > > > > ffprobe -count_pack

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 01:41:38PM +0100, Nicolas George wrote: > Peter White (12021-03-09): > > Is there a meaningful difference in this context? > > The fact that you need to ask is proof enough that it is needed. I understand that a packet is what the demuxer sends to the d

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 01:07:41PM +0100, Nicolas George wrote: > Peter White (12021-03-09): > > ffmpeg -i input.mkv -an -sn -c copy -f null - > > -c copy tells ffmpeg to dispense with the decoder, which means it does > not count frames but packets. Have you tried tellin

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 01:07:41PM +0100, Nicolas George wrote: > Peter White (12021-03-09): > > Would you mind answering the OP's question with a command line example, > > then? > > I help people who help themselves, thus avoiding Russel's paradox. Sorry, I don&#

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 12:39:09PM +0100, Nicolas George wrote: > Peter White (12021-03-09): > > Sorry, I didn't mean to offend. > > I was not offended, I was amused. > > > Is there a proper universal way to do this with ffprobe that does not > > take ages to

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 12:13:53PM +0100, Nicolas George wrote: > Peter White (12021-03-09): > > Unless it happens to be one of those special cases that don't have that > > info in their metadata, like matroska: > > Did I suggest to limit to the output of -show_format o

Re: [FFmpeg-user] FFmpeg list footer

2021-03-09 Thread Peter White
yle, otherwise you get full quotes, which are only marginally better than top-posts. Peter ___ 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 list footer

2021-03-09 Thread Peter White
ignorant ones (as in: "sorry, didn't know that"). > you only insult the others explaining them daily how to walk Do you really think that? I, for one, do not even notice the footer anymore, since I know its content. Maybe other subscribers do the same. Peter ___ 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 get he total number of frames

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 10:41:41AM +0100, Nicolas George wrote: > Peter White (12021-03-09): > > If anybody on this list knows a better one, step up, please. > > ffprobe, of course. Unless it happens to be one of those special cases that don't have that info in their met

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 11:07:21AM +0100, Ulf Zibis wrote: > > Am 09.03.21 um 10:43 schrieb Ulf Zibis: > > > > Am 09.03.21 um 09:57 schrieb Peter White: > > > The frame count *is* exact. The way to get there is just not that > > > pretty. If anybody on t

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Peter White
On Tue, Mar 09, 2021 at 09:46:43AM +0100, Ulf Zibis wrote: > > Am 09.03.21 um 09:26 schrieb Peter White: > > On Tue, Mar 09, 2021 at 09:13:14AM +0100, Ulf Zibis wrote: > > > Hi,, > > > > > > can one please tell me, how I can get the total number of frames

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Peter White
tats line. Peter ___ 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 Peter White
On Tue, Mar 09, 2021 at 07:38:09AM +0100, Anders Degerberg wrote: > On Tue, Mar 9, 2021 at 4:52 AM Peter White wrote: > > > Just an aside, you need to specifiy the -sws_flags like this: > > -sws_flags bilinear+print_info > > Thanks Peter, > unfortunately it does

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Peter White
6e4540] bicubic scaler, from gbrp10le to yuv444p16le using > MMXEXT > [swscaler @ 0x46e4540] 4096x2160 -> 4096x2160 It is still using the default bicubic algoritm. Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Peter White
On Mon, Mar 08, 2021 at 07:58:44PM +0100, Anders Degerberg wrote: > Hi Peter, > > On Mon, 8 Mar 2021 at 19:18, Peter White wrote: > > Try: > > > > ffmpeg -i input_file -sws_flags show_info ... output_file > '-sws_flags print_info' gives: > [swscaler @

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Peter White
On Mon, Mar 08, 2021 at 03:19:46PM +0100, Anders Degerberg wrote: > Hi, > > I've come across a problem I really can't figure out when trying to stream > realtime a RGB 10-bit Decklink input, as YUV444 10-bit HEVC in 25fps. > In a 1920x1080 resolution on the Decklink input, it all works very well,

Re: [FFmpeg-user] hstack with one video offset in time?

2021-03-05 Thread Peter White
On Fri, Mar 05, 2021 at 11:07:32PM +0100, Paul B Mahol wrote: > On Fri, Mar 5, 2021 at 10:54 PM Peter White wrote: > > > On Fri, Mar 05, 2021 at 11:33:10AM -0800, Steven Kan wrote: > > > > > > >>> > > > >>> I’d like to assemble

Re: [FFmpeg-user] hstack with one video offset in time?

2021-03-05 Thread Peter White
y of doing > things, and I think that induces 2 generations of transcoding, so ideally I’d > like to know how to do it properly in the future. But here’s the end result: You need to map your input files to the appropriate filter pads in a complex graph. Since I use this

Re: [FFmpeg-user] hstack with one video offset in time?

2021-03-04 Thread Peter White
On 04.03.21 22:56, Peter White wrote: Something like this: ffmpeg -f lavfi -i ffmpeg -f lavfi -i color=size=960x720:rate=60:color=black -c libvpx-vp9 -t 50 offset.ts Sorry, there is a mistake here. This is what I actually meant: ffmpeg -f lavfi -i color=size=960x720:rate=60:color=black -c

Re: [FFmpeg-user] hstack with one video offset in time?

2021-03-04 Thread Peter White
ers (frame rate, dimensions) must match. Consider this a (very rough) proof of concept. Peter ___ 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...@

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Peter White
just ridiculous. If -crf won't do, there is also an abr (average bitrate) mode or even two-pass encoding, which provides the best control over final bitrate. If the final bitrate is not important CRF (constant rate factor) is the way to go.

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Peter White
0.mp4 in ${OUTDIR}/1080/, similarly the 720p version. Also, please do not top post. It makes it hard to keep the context and is frowned upon. Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscrib

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Peter White
be say? A simple: $ ffprobe Output.mp4 should show the a similar output to the above. Maybe try another program to play it back, like vlc or even ffplay. Or perhaps audio got muted between playing back the input and output? Peter ___ ffmpeg-user mai

Re: [FFmpeg-user] repeat a frame

2021-03-04 Thread Peter White
t you effectivly degrade crf to constant quantizer. Might as well use: -x265-params qp=16 See https://x265.readthedocs.io/en/master/cli.html#cmdoption-qcomp Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg

[FFmpeg-user] Auto segment using EDL?

2021-02-09 Thread Peter B.
List (EDL) [2], but I'd already be happy for some rudimentary support like "start/stop/name". I'd finally like to get rid of my yet-another-bash-wrapper hacks ;) I'm grateful for any suggestions, Peter B. # Links: [1] https://ffmpeg.org/ffmpeg-formats.html#segmen

Re: [FFmpeg-user] Correct conversion of yuvj420p?

2020-10-13 Thread Peter B.
or the two fields in each frame. @Mark: And thank you very much for pointing this out! If that is the case, then indeed that's a problem, because I definitely deal with interlaced material - and even better: all cases mixed! :) (progressive, tff, bff, and-whatever-else-someone-has-pr

Re: [FFmpeg-user] Correct conversion of yuvj420p?

2020-10-01 Thread Peter B.
fferent video collections - and every "if - then - else" adds extra points of failure (and work). You see my challenge? :) Kind regards, Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-use

Re: [FFmpeg-user] Correct conversion of yuvj420p?

2020-09-28 Thread Peter B.
Hi Paul! :) On 24.09.20 09:55, Paul B Mahol wrote: On Wed, Sep 23, 2020 at 11:31:43PM +0200, Peter B. wrote: Hi Ted, On 11.09.20 14:03, Ted Park wrote: My problem is, that I have literally hundreds (actually more than 1000+) of these H.264/yuvj420p files that are to be auto-converted to

Re: [FFmpeg-user] MPEG-PS

2020-09-27 Thread Peter
11:33:24 while other players give: 00:00:11 i.e relative time from the beginning. The only vague information I found is: https://dmeforensics.com/analysis-of-hikvision-date-time/ So I am trying to find a way to get this extra information about the absolute epoch/date time timestamp :-) Than

[FFmpeg-user] MPEG-PS

2020-09-26 Thread Peter
web friendlier audio codec i.e aac. 3. Play the files on web using Nginx and Video.js and be able to search by absolute timestamp. I am aware that most likely I will need to store absolute timestamp in separate files as I cannot put them in mp4. Any help/feedback is welcome :-) Thanks, Peter

[FFmpeg-user] timestamps

2020-09-26 Thread Peter
files on web using Nginx and Video.js and be able to search by absolute timestamp. I am aware that most likely I will need to store absolute timestamp in separate files as I cannot put them in mp4. Any help/feedback is welcome :-) Thanks, Peter

[FFmpeg-user] Which graphics card for FFmpeg + Linux?

2020-09-23 Thread Peter B.
oper.nvidia.com/ffmpeg), but I'd also be curious about the status with AMD GPUs? Thank you very much in advance! Peter B. -- # Some related links: https://stackoverflow.com/questions/44510765/gpu-accelerated-video-processing-with-ffmpeg https://www.phoronix.com/scan.php?page=news_item&am

Re: [FFmpeg-user] Correct conversion of yuvj420p?

2020-09-23 Thread Peter B.
e use content- and file-hashcodes to validate any changes to the archival recordings. That's also great fun, actually! :) Still grateful for a "-pix_fmt +" suggestion :) Thanks! Peter B. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.o

[FFmpeg-user] xfade filter - custom expressions

2020-09-23 Thread Peter
Hello, Can someone help me to understand the xfade filter documentation regarding custom expressions. I'm not really sure how to express a transition given the variables provided. "XY - The coordinates of the current sample." - Is the transition defined by selecting a color/state for each pixel?

Re: [FFmpeg-user] Correct conversion of yuvj420p?

2020-09-11 Thread Peter B.
Hi again :) I thought this was solved, but... On 10.09.20 15:53, Paul B Mahol wrote: On Tue, Sep 08, 2020 at 04:12:30PM +0200, Peter B. wrote: Dear Paul, On 07.09.20 23:57, Paul B Mahol wrote: On Mon, Sep 07, 2020 at 11:20:10PM +0200, Peter B. wrote: Thanks for pointing that out. I&#x

Re: [FFmpeg-user] Correct conversion of yuvj420p?

2020-09-11 Thread Peter B.
not reporting color range. Better check it matches. Will check. However, after reading "color_range" documentation on [1] do thought that the "pc" means "full-range". So I thought that is reporting the range (it thinks it has)? Kind regards, Peter [1] http

Re: [FFmpeg-user] Correct conversion of yuvj420p?

2020-09-08 Thread Peter B.
Dear Paul, On 07.09.20 23:57, Paul B Mahol wrote: On Mon, Sep 07, 2020 at 11:20:10PM +0200, Peter B. wrote: [...] The source video is: yuvj420p(pc, smpte170m/bt709/bt709) The output video is: yuv420p(pc, smpte170m/bt709/bt709) What would be the right commandline to losslessly convert this to

[FFmpeg-user] Correct conversion of yuvj420p?

2020-09-07 Thread Peter B.
ering streamhash MD5s for the video - regardless if I set the color range :( Thanks in advance for any hints! Peter B. Here's what I've tried so far: (Console output below) // FFMPEG="ffmpeg-4.3.1" VIDEO_IN="../MVI_1522.MOV

Re: [FFmpeg-user] Trouble grabbing from TV capture device

2020-08-27 Thread Peter van den Houten
On 27/08/2020 22:52, Simon Roberts wrote: > I have a little device that takes "old" composite video and sends it out to > USB. It's recognized by video4linux2 and I can watch the VHS tapes that I'm > trying to capture using xawtv simply using: > > v4lctl -c /dev/video2 setnorm NTSC > v4lctl -c /de

Re: [FFmpeg-user] MKV: parser not found for codec ffv1?

2020-08-27 Thread Peter B.
Dear Paul, On 26.08.20 21:56, Paul B Mahol wrote: On 8/25/20, Peter B. wrote: I would be very interested in more information about these messages. Especially regarding "parser not found for codec ffv1"? That is only relevant for codecs that actually work only if parsers are enable

[FFmpeg-user] MKV: parser not found for codec ffv1?

2020-08-25 Thread Peter B.
found for codec ffv1"? Thank you very much in advance, Peter B. Complete commandline and (hopefully) uncut console output as follows: // --- ffprobe started on 2020-08-25 at 15:14:58 Report written to "ffprobe-20200825-151458.log" Log level: 48

Re: [FFmpeg-user] Giving a title to an audio stream

2020-08-08 Thread Peter van den Houten
On 08/08/2020 17:35, PPRJ01 wrote: > Thank you Peter, but (in my understanding) the following syntax is right (at > least under Windows) : > > ffmpeg -i INPUT.mp4 -c copy -metadata:s:a:0 "title=5.1" OUTPUT.mp4 > > For 3 reasons : > 1- the ffmpeg stderr output

Re: [FFmpeg-user] Giving a title to an audio stream

2020-08-08 Thread Peter van den Houten
On 08/08/2020 13:21, PPRJ01 wrote: > Hello All, > > I don't understand how ffmpeg/ffprobe manage some metadata of audio streams. > > Let's take a simple example : > > ffmpeg -i INPUT.mp4 -c copy -metadata:s:a:0 "title=5.1" OUTPUT.mp4 > > The result is : > 1- ffprobe is not able to retrieve the

Re: [FFmpeg-user] How do I increase the playback size of a video without rescaling it?

2020-07-16 Thread Peter van den Houten
On 16/07/2020 14:22, fowman wrote: > Moritz Barsnick wrote >> Only the PS/3 is the issue, right? > > No, I have the same on all three. > > Does your video not need [black bar] cropping? Easiest is to open in HandBrake and select Preview, then Show Crop. -- PeterVDH ___

Re: [FFmpeg-user] Loop filter producing off by one errors?

2020-06-15 Thread Peter
On Mon, Jun 15, 2020 at 4:25 PM Peter wrote: > > > On Mon, Jun 15, 2020 at 3:20 PM Gyan Doshi wrote: > >> >> >> On 15-06-2020 07:38 am, Peter wrote: >> > Hello, >> > >> > I'm trying to create a video from a series of PNG frames a

Re: [FFmpeg-user] Loop filter producing off by one errors?

2020-06-14 Thread Peter
On Mon, Jun 15, 2020 at 3:20 PM Gyan Doshi wrote: > > > On 15-06-2020 07:38 am, Peter wrote: > > Hello, > > > > I'm trying to create a video from a series of PNG frames and then loop > > specific frames using the loop filter. It is giving me a bit of tr

[FFmpeg-user] Loop filter producing off by one errors?

2020-06-14 Thread Peter
Hello, I'm trying to create a video from a series of PNG frames and then loop specific frames using the loop filter. It is giving me a bit of trouble. Ffmpeg is dropping a single frame somewhere and I'm not sure why that is. Would appreciate it if someone could take a look. Essentially I have a c

[FFmpeg-user] understanding DVD subtitle palette (was: how to control quality of subtitles)

2020-06-11 Thread Peter Münster
On Mon, May 25 2020, Peter Münster wrote: > - How can I get information about the palette in an MKV-file? I've found it: ffprobe -v debug file.mkv > - How can I change such a palette? The -palette option seems to work as expected. The question is now rather, what the various view

Re: [FFmpeg-user] how to control quality of subtitles

2020-06-11 Thread Peter Münster
ved by minidlna. There is no way to change the name... -- Peter ___ 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 control quality of subtitles

2020-05-25 Thread Peter Münster
On Mon, May 25 2020, Carl Eugen Hoyos wrote: > Please provide an input sample. Here is a sample, this time without corruption: http://pmrb.free.fr/tmp/ffmpeg-test/sample.mkv -- Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.

Re: [FFmpeg-user] how to control quality of subtitles

2020-05-25 Thread Peter Münster
tte? TIA for any help, -- Peter ___ 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 control quality of subtitles

2020-05-25 Thread Peter Münster
ite with black outlines. Here is the output of my test: --8<---cut here---start->8--- peter@ws:/tmp/ffmpeg-tests> ~/tmp/FFmpeg/ffmpeg -y -i orig-dvbsub.ts -map 0:0 -map 0:1 -map 0:2 -c:v libx264 -c:a copy -c:s dvdsub -palette "0d00ee,ee450d,10101

Re: [FFmpeg-user] how to control quality of subtitles

2020-05-25 Thread Peter Münster
Sorry. Here is it: --8<---cut here---start----->8--- peter@ws:/tmp/ffmpeg-tests> ffmpeg -i orig-dvbsub.ts -map 0:0 -map 0:1 -map 0:2 -c:v libx264 -c:a copy -c:s dvdsub dvbsub2dvdsub.mkv ffmpeg version 3.4.5 Copyright (c) 2000-2018 the FFmpeg developers bu

[FFmpeg-user] how to control quality of subtitles

2020-05-22 Thread Peter Münster
ugly with a Samsung TV: http://pmrb.free.fr/tmp/ffmpeg-test/samsung.jpg How could I get nice looking subtitles on this kind of Samsung TV please? Thanks in advance for any hints, -- Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Subtitle metadata

2020-05-14 Thread Peter van den Houten
On 12/05/2020 17:29, Peter van den Houten wrote: > Hi, I'm seeing a change in the way FFmpeg handles metadata options, > particularly for subtitles. I can't say when and which version cause it to > change. > > FFmpeg now appears to ignore the "-disposition:s:s:0

Re: [FFmpeg-user] Subtitle metadata

2020-05-12 Thread Peter van den Houten
On 12/05/2020 22:18, Edward Park wrote: > Hi, >> Hi, I'm seeing a change in the way FFmpeg handles metadata options, >> particularly for subtitles. I can't say when and which version cause it to >> change. >> >> FFmpeg now appears to ignore the "-disposition:s:s:0 none" option which I >> would p

[FFmpeg-user] Subtitle metadata

2020-05-12 Thread Peter van den Houten
Hi, I'm seeing a change in the way FFmpeg handles metadata options, particularly for subtitles. I can't say when and which version cause it to change. FFmpeg now appears to ignore the "-disposition:s:s:0 none" option which I would previously use to copy but not display subtitles by default: ~/

Re: [FFmpeg-user] Change FPS on a clip without transcodng

2020-04-24 Thread Jens-Peter Sjöberg
Hoyos wrote: > Am Fr., 24. Apr. 2020 um 09:22 Uhr schrieb Jens-Peter Sjöberg > : > > > I have tried to find out a way to change the FPS in the metadata for clp > > with a certain FPS. > > For real containers, such "metadata" does not exist / can rarely > be ch

  1   2   3   4   >