[FFmpeg-user] Can the video orientation be adjusted for part of an Mp4 ?

2017-01-25 Thread Peter
: handler_name: SoundHandler Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org

Re: [FFmpeg-user] Can the video orientation be adjusted for part of an Mp4 ?

2017-01-26 Thread Peter
On Thursday, 26 January 2017 9:13:42 AM AEDT Carl Eugen Hoyos wrote: > 2017-01-25 23:51 GMT+01:00 Peter <peter...@users.sourceforge.net>: > > We have a video that was taken from a mobile phone. The first part of the > > video is not orientated properly, and needs to be mo

[FFmpeg-user] Help with extracting audio from MP4

2017-01-18 Thread Peter
be improved ? Regards, Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://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 with extracting audio from MP4

2017-01-18 Thread Peter
On Thursday, 19 January 2017 6:15:01 AM AEDT Carl Eugen Hoyos wrote: > 2017-01-19 5:40 GMT+01:00 Peter <peter...@users.sourceforge.net>: > > If I simply supply an output filename, it results in the codec of > > MPEG Audio Layer 1 > > That's impossible, no layer

Re: [FFmpeg-user] Help with extracting audio from MP4

2017-01-19 Thread Peter
Hz, mono, fltp, 66 kb/s (default) Metadata: handler_name: SoundHandler = Can someone please provide the ffmpeg code/parameters to extract the audio from this MP4 ? Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Help with extracting audio from MP4

2017-01-19 Thread Peter
dify this one .. ffmpeg -i dv_infile.mp4 -vn -acodec copy audio.aac so that the output is mp3 please ? Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffm

Re: [FFmpeg-user] Help with extracting audio from MP4

2017-01-19 Thread Peter
_4400528164682465280_n.mp4 -q:a 1 -map a audio.mp3 and the output is 64 kb/s . This is the audio specs within the mp4: Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 66 kb/s (default) Playing the audio now, it is very clear and g

Re: [FFmpeg-user] When capturing rawvideo from camera (avfoundation), ffmpeg adds extra 32 bytes for each frame.

2018-09-19 Thread Peter
Yes, it is default internal camera. -- Peter Gusev gpeet...@gmail.com +1 213 5872748 peetonn_ (skype) > On Sep 19, 2018, at 2:31 PM, Carl Eugen Hoyos wrote: > > 2018-09-19 15:33 GMT+02:00, Peter Gusev : > >> As a part of figuring out the problem I have wit

[FFmpeg-user] Explanation of how -r affects frame rate of filtergraph

2020-02-26 Thread Peter
fix" is actually reliable or just a lucky coincidence? Thanks, Peter Full console output from the commands listed above: $ cat filtergraph [1]drawtext=fontfile=Arial.ttf: text='start %{frame_num}': start_number=1: x=10: y=h-(2*lh): fontcolor=black: fontsize=20: box=1: boxcolor=white: boxborder

[FFmpeg-user] timestamps

2020-09-26 Thread Peter
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] 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

Re: [FFmpeg-user] MPEG-PS

2020-09-27 Thread Peter
: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 :-) Thanks :-

[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] Loop filter producing off by one errors?

2020-06-15 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 trouble

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

[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

Re: [FFmpeg-user] Why does encoding a file on different VM hosts result in different file size?

2014-08-17 Thread Peter B.
On 08/15/2014 06:46 PM, Moritz Barsnick wrote: BTW, the codec being lossless doesn't mean the video size needs to be the same, varying compression is certainly a feature. You're right that lossless encoding can still have different filesizes - *but* depending on the encoding options [1]. I

Re: [FFmpeg-user] ffprobe: Not using full CPU, regardless of -threads parameter

2014-09-17 Thread Peter B.
On 09/17/2014 04:27 PM, tim nicholson wrote: Try using a simpler ffprobe command and compare like with like. Your example includes a complex filter chain and not all filters multi-thread afaik. That's a good point. I'll try that. Thanks! Pb ___

[FFmpeg-user] c:v copy - output file is empty, nothing was encoded

2014-10-10 Thread Peter Trompeter
copy snippet.mp4 however, this does not seem to work. error message: Output file is empty, nothing was encoded what am I doing wrong? sample file can be found at: http://s000.tinyupload.com/?file_id=78774328066008732903 thanks peter --- full cmdline + output for reference: crs@vbox:~/data

[FFmpeg-user] Problems getting the very last frames of videos using av_read_frame

2014-10-30 Thread Peter Rennert
working with the code I have got from the other guy. Let me know if you need something else to start tracing the problem. Thanks, Peter Stuff to test the problem: Wrapper code with line calling av_read_frame: === https://bitbucket.org/groakat/ffvideo/src

Re: [FFmpeg-user] Problems getting the very last frames of videos using av_read_frame

2014-10-30 Thread Peter Rennert
Hi Moritz, Thanks for looking into this. On 30/10/14 13:40, Moritz Barsnick wrote: On Thu, Oct 30, 2014 at 12:15:34 +, Peter Rennert wrote: except for the last frames. It seems as av_read_frame only reads until the last key frame and does not go beyond it. Do you ever see Unable

Re: [FFmpeg-user] Problems getting the very last frames of videos using av_read_frame

2014-10-30 Thread Peter Rennert
I rebuild ffmpeg and cleared the issues with WARNING: library configuration mismatch (there was indeed libav installed because of a dependency..) After rebuilding the wrapper, the issue is exactly the same. On 30/10/14 13:48, Peter Rennert wrote: Hi Moritz, Thanks for looking

Re: [FFmpeg-user] Problems getting the very last frames of videos using av_read_frame

2014-10-30 Thread Peter Rennert
that at all, because it should just return the next frame in the stream, regardless of any dts, no? Anyway, I will continue the bug hunt at Monday. Any suggestions are still welcome :) On 31/10/14 01:09, Peter Rennert wrote: I rebuild ffmpeg and cleared the issues with WARNING: library configuration

[FFmpeg-user] Compiling ffmpeg to be portable

2014-11-17 Thread Peter Rennert
. This does not work for files like libavformat, which references libavcodec with its absolute, rather than relative path, which then leads to import errors like Library not loaded: /usr/local/Cellar/ffmpeg/2.4.2/lib/libavcodec.56.dylib Referenced from: /Users/peter/anaconda/lib/libavformat.56.4.101

Re: [FFmpeg-user] How To Play YouTube Videos using FFPLAy

2014-11-30 Thread Peter B.
On 11/30/2014 04:31 PM, kranthi kumar wrote: This is very Important to me, for playing or receiving live streaming videos from YouTube .So,please tell me How to play YouTube videos using FFplay. For the non-commandline, non-FFmpeg side of things: VLC can play Youtube links directly: Media

[FFmpeg-user] Choppy (hanging) video when writing C920 h264 to a file (no issues streaming)

2014-12-05 Thread Peter Rabbitson
I am completely baffled. I have a Logitech C920 which is capable of providing a hardware encoded h264 stream. If I capture video from it as described below, I can see properl smooth video on my laptop screen. But the resulting rec.mkv has a small ~0.5s freeze every ~2.5 secs. I uploaded the

Re: [FFmpeg-user] Help needed to work around incorrect DTS when capturing H264 from a Logitech C920

2014-12-15 Thread Peter Rabbitson
On 12/15/2014 06:49 PM, Carl Eugen Hoyos wrote: Peter Rabbitson rabbit+list at rabbit.us writes: ffmpeg -r 30 -f v4l2 -s 1920x1080 -vcodec h264 I believe -r 30 does not do what you think it does and it may be the reason for the issues you see. Is there a problem if you remove it? If I

Re: [FFmpeg-user] Help needed to work around incorrect DTS when capturing H264 from a Logitech C920

2014-12-16 Thread Peter Rabbitson
On 12/15/2014 06:49 PM, Carl Eugen Hoyos wrote: Peter Rabbitson rabbit+list at rabbit.us writes: ffmpeg -r 30 -f v4l2 -s 1920x1080 -vcodec h264 I believe -r 30 does not do what you think it does and it may be the reason for the issues you see. Is there a problem if you remove it? -i /dev

Re: [FFmpeg-user] Help needed to work around incorrect DTS when capturing H264 from a Logitech C920

2014-12-16 Thread Peter Rabbitson
On 12/16/2014 11:25 AM, Georgi Chorbadzhiyski wrote: On 12/16/2014 11:07 AM, Peter Rabbitson wrote: On 12/15/2014 06:49 PM, Carl Eugen Hoyos wrote: Peter Rabbitson rabbit+list at rabbit.us writes: ffmpeg -r 30 -f v4l2 -s 1920x1080 -vcodec h264 I believe -r 30 does not do what you think

Re: [FFmpeg-user] Help needed to work around incorrect DTS when capturing H264 from a Logitech C920

2014-12-16 Thread Peter Rabbitson
On 12/16/2014 01:11 PM, Carl Eugen Hoyos wrote: Peter Rabbitson rabbit+list at rabbit.us writes: I've used Logitech C920 and noticed that the camera drops it's frame rate without signaling it. Then -r is definitely wrong: It assumes a constant from rate. Does ffmpeg even have a provision

Re: [FFmpeg-user] (Solved-ish: NMP) Choppy (hanging) video when writing C920 h264 to a file (no issues streaming)

2014-12-17 Thread Peter Rabbitson
Followup for the sake of search engines: none of this has nothing to do with ffmpeg, nor with the -r setting, nor with the size of the picture, nor with the amount of light in the room. Kernel 3.2 (wheezy) - everything is fine, video smooth as silk Kernel 3.16 (jessie) - the observed stutter

Re: [FFmpeg-user] LLossless (10 Bit RGB 444) and (10 Bit YUV 422) Compression

2014-12-26 Thread Peter B.
Dear Jason, I haven't done much with RGB 10bit yet, but I'm working with FFV1 a lot, so if you send me a sample and your commandlines, I could take a look. Late Merry-Christmas to you :) Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http

Re: [FFmpeg-user] LLossless (10 Bit RGB 444) and (10 Bit YUV 422) Compression

2014-12-29 Thread Peter B.
On 12/29/2014 04:34 AM, Jason Freets wrote: So yes, I'm not at all saying that there is anything wrong with FFV1. Carl was guessing correctly - and I'm indeed happy to hear that there's nothing wrong with FFV1 :) Yet, I find this thread incredibly interesting. Especially the Little/Big Endian

Re: [FFmpeg-user] Fastest lossless codec and settings.

2015-01-03 Thread Peter B.
On 01/02/2015 01:31 PM, Zsolt wrote: [...] So far UT-Video seemed to be the fastest. Interesting. I haven't had time to check out UT-Video yet, and my last knowledge was that most of the information about it is in Japanese only :( I'd be curious to hear about your experiences with it. Testing

[FFmpeg-user] Problem specifying libx265 profile with ffmpeg

2015-01-23 Thread Peter Rabbitson
I seem to be unable to set a specific profile with either of the commands as shown below: rabbit@Ahasver:~$ ffmpeg -hide_banner -y -filter_complex 'color=red' -t 1 -c:v libx265 -strict experimental -profile:v main444-10 -f mp4 /dev/null [libx265 @ 0x161e240] [Eval @ 0x7fff58510210] Undefined

Re: [FFmpeg-user] Questions about readout important metadata from DPX files (logarthmic/linear) and recreate DPX with same metadata

2015-03-09 Thread Peter B.
On 03/09/2015 09:35 PM, Dave Rice wrote: Using framemd5 verification after ffv1 encoding, I’ve found about 3 frames that weren’t lossless. This is out of probably millions of frames, but computer problems happen. In all of the cases the a local computer was using an input and an output that

Re: [FFmpeg-user] Framemd5s of file before and after transcode in the one command line

2015-08-05 Thread Peter B.
On 08/05/2015 03:34 PM, Kieran O'Leary wrote: Here was my command line: ffmpeg -i Sequence.01.mov -f framemd5 Sequence.01.framemd5 -c:v h264 -c:a copy Sequence.01.mkv -f framemd5 Sequence.01h264.framemd5 It produced identical framemd5s. Is it possible to get ffmpeg to produce a framemd5

Re: [FFmpeg-user] Running multiple ffmpeg commands with minimal loss in quality

2015-07-27 Thread Peter B.
On 07/25/2015 11:53 AM, MrNice wrote: The standard approach to this kind of issue is to use (as close to) losslessly encoded intermediate files as possible. I.e. either use a codec designed for lossless encoding such as HuffYUV, or use something like x264 with lossless settings. Why do you

Re: [FFmpeg-user] Copy-capturing h264 input while force-rewriting the PTS

2015-07-26 Thread Peter Rabbitson
On 07/25/2015 01:50 AM, Peter Rabbitson wrote: Hello! I have a Logitech C920 affected by a know-yet-wontfix kernel uvc-video bug[1]. Given That I need a relatively recent kernel and it looks like the problematic patch in 3.17+ will not be reverted, I am hoping that ffmpeg can somehow help me

[FFmpeg-user] Copy-capturing h264 input while force-rewriting the PTS

2015-07-24 Thread Peter Rabbitson
Hello! I have a Logitech C920 affected by a know-yet-wontfix kernel uvc-video bug[1]. Given That I need a relatively recent kernel and it looks like the problematic patch in 3.17+ will not be reverted, I am hoping that ffmpeg can somehow help me with a workaround. The problem in short is

Re: [FFmpeg-user] Copy-capturing h264 input while force-rewriting the PTS

2015-07-25 Thread Peter Rabbitson
On 07/25/2015 12:54 PM, Henk D. Schoneveld wrote: On 25 Jul 2015, at 01:50, Peter Rabbitson rabbit+l...@rabbit.us wrote: Hello! I have a Logitech C920 affected by a know-yet-wontfix kernel uvc-video bug[1]. Given That I need a relatively recent kernel and it looks like the problematic

[FFmpeg-user] Timed Metadata extraction/insertions

2015-07-17 Thread Larsen, Peter
(Id3v2UserTextInformation(TXXX,, *** THIS IS Timed MetaData @ -- 00:19:15.0 *** ),) Next question is; how do I insert a timed metadata at a specific time, ID, and text? Options like -metadata TITLE=foo does not seem to do what I want (e.g. I cannot specify a timestamp). Peter

Re: [FFmpeg-user] Compiling on OSX from scratch: error: use of undeclared identifier 'O_SEQUENTIAL'

2015-09-07 Thread Peter Rennert
On 7 Sep 2015, at 15:13, Moritz Barsnick <barsn...@gmx.net <mailto:barsn...@gmx.net>> wrote: > > On Mon, Sep 07, 2015 at 14:06:37 +, Carl Eugen Hoyos wrote: >> Peter Rennert rennert.io> writes: >> >>> libavformat/file.c:190:29: error: >

[FFmpeg-user] Compiling on OSX from scratch: error: use of undeclared identifier 'O_SEQUENTIAL'

2015-09-07 Thread Peter Rennert
encies into a PREFIX, except pkg-config (because I had problems compiling glib). So I installed pkg-config as a binary and I can use it from the terminal: $ pkg-config --version 0.28 I ran configure PKG_CONFIG_PATH="/Users/peter/Documents/phd/projects/sources/ffmepg_dependencies_build/li

[FFmpeg-user] How to seek frame-acurate into the very end of video-file

2015-09-08 Thread Peter Rennert
ecoded packets seems to be -9223372036854775808. So they themselves do not give me a timestamp I can work on after seeking. Is there any way of fixing that? Cheers, Peter PS Output of a slightly modified demuxing_decoding.c example, where I inserted prints to check the dts and pts of the vide

[FFmpeg-user] h264 (yuv420p) to ffv1: "Assertion s->bits_per_raw_sample >= 8 failed"

2015-09-09 Thread Peter B.
I've just received a request, regarding an error message when converting from h264/PCM/MOV to FFV1/PCM/AVI. The transcoding doesn't start and exits with the following error message: [quote] "Assertion s->bits_per_raw_sample >= 8 failed at

Re: [FFmpeg-user] h264 (yuv420p) to ffv1: "Assertion s->bits_per_raw_sample >= 8 failed"

2015-09-09 Thread Peter B.
On 09/09/2015 03:15 PM, Moritz Barsnick wrote: > On Wed, Sep 09, 2015 at 12:56:31 +, Carl Eugen Hoyos wrote: >> Peter B. das-werkstatt.com> writes: >> >>> ffmpeg version N-73648-g90dd6ad >> How should we fix this? >> >> Of course it is nuisan

Re: [FFmpeg-user] ffprobe: "bpr" = bits_per_sample?

2015-09-13 Thread Peter B.
On 09/13/2015 08:24 PM, Reto Kromer wrote: > Peter B. wrote: > >> The value of "bpr" seems to stand for bits_per_sample. > "bits_per_raw_sample" is the number of bits for each sample, > commonly 8, 9, 10 or 16. Ah! &quo

[FFmpeg-user] ffprobe: "bpr" = bits_per_sample?

2015-09-13 Thread Peter B.
Hello :) I've added information to the wiki [1] about reading FFV1 encoding parameters from existing files. The value of "bpr" seems to stand for bits_per_sample. What does the abbreviation "bpr" stand for exactly? Thanks in advance, Pb == References: [1]

Re: [FFmpeg-user] ffprobe: "bpr" = bits_per_sample?

2015-09-13 Thread Peter B.
On 09/13/2015 08:21 PM, Francois Visagie wrote: >> == References: >> [1] https://trac.ffmpeg.org/wiki/Encode/FFV1 > How about also specifying default values? Sorry for not addressing your > original question; I don't know either. Nice idea, but since current output for different FFV1 versions

[FFmpeg-user] How do I concat MP4 without losing audio sync?

2015-09-29 Thread Peter Watkins
mp4 https://drive.google.com/open?id=0B01AJq-CMtNMYnUyQVVZYTBsS1U one_through_ten-timestamped.mp4 https://drive.google.com/open?id=0B01AJq-CMtNMZzJpQTZPQWVuMk0 Thanks, Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mail

Re: [FFmpeg-user] Remux MPEG-TS file fails: Mid-stream changes?

2015-12-12 Thread Peter B.
On 12/03/2015 03:26 PM, Carl Eugen Hoyos wrote: >> The error it returned seemed more like an invalid input, rather than a >> non-specification conform output choice: >> [quote] >> [aac @ 0x37a4720] channel element 2.0 is not allocated >> Error while decoding stream #0:1: Invalid data found

Re: [FFmpeg-user] Decode FFV1 AVI back to DPX

2015-12-12 Thread Peter B.
On 12/08/2015 04:15 PM, Dave Rice wrote: >> It is indeed possible to decode back to DPX- I've losslessly >> compressed 10bit RGB DPX to FFV1.mkv and back with matching framemd5s >> all the way. It's a beautiful thing. > But it's some context loss. For instance if the source DPX is logarithmic I'd

Re: [FFmpeg-user] Remux MPEG-TS file fails: Mid-stream changes?

2015-12-14 Thread Peter B.
On 12/13/2015 11:49 PM, Carl Eugen Hoyos wrote: >> I was mainly looking for a way to normalize the format/behavior of the >> audio track, because it couldn't be opened properly in NLEs or most >> players it was opened with. > I still don't think this is true (just disable libfaad in all these >

Re: [FFmpeg-user] Remux MPEG-TS file fails: Mid-stream changes?

2015-11-30 Thread Peter B.
On 11/30/2015 01:52 AM, Carl Eugen Hoyos wrote: > On Monday 30 November 2015 12:09:41 am Peter B. wrote: >> $ ffmpeg -i esdn_audio_problem-20151128.ts -c:v copy >> -c:a pcm_s16le output.ts > pcm is not an allowed audio codec for mpeg-ts, this is a limitation > of the spec

Re: [FFmpeg-user] Decode FFV1 AVI back to DPX

2015-11-26 Thread Peter B.
On 11/26/2015 04:36 PM, Christoph Gerstbauer wrote: > color format has your DPX original source? > RGB 10bit? Linear or logarithmic? > > And which color format has the FFv1? Christoph Gerstbauer's questions are good. As far as I know, you might need to provide additional details when transcoding

Re: [FFmpeg-user] considering image sequence+audio for video preservation

2016-06-12 Thread Peter B.
filesystem overhead, independent of compression size. I will get back in more detail to your question as early as possible. Kind regards, Peter B. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To u

Re: [FFmpeg-user] considering image sequence+audio for video preservation

2016-06-13 Thread Peter B.
On 06/12/2016 05:57 PM, Carl Eugen Hoyos wrote: > If uncompressed video is acceptable for you, I may not understand > your question: I believe the reason why ffv1 is discussed is that > uncompressed video is generally not acceptable. Uncompressed is indeed acceptable, but there are many

[FFmpeg-user] problem with -txt_top

2016-06-18 Thread Peter Münster
the subtitles disappear completely. How could I resolve this issue please? Please find here the example files, ffmpeg command lines and outputs: http://pmrb.free.fr/tmp/ffmpeg/ TIA for any help, -- Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpe

Re: [FFmpeg-user] Valid number of slices for libx264 and FFV1

2016-04-26 Thread Peter B.
On 04/26/2016 08:49 AM, Kal Sze wrote: > And what is the valid number of slices when encoding as FFV1 level 3? > The wiki says 4, 6, 9, 12, 16, 24, or 30; but I have not seen ffmpeg > complain if I try to specify something like 25 slices for a 512x424 > video. Does ffmpeg just coerce the value to

[FFmpeg-user] Apparently the ffmpeg software scaler "sucks"

2016-05-17 Thread Peter Rabbitson
According to a test image taken from http://www.4p8.com/eric.brasseur/gamma.html ffmpeg's scaler does not properly deal with... well scaling. The following pipeline produces a "SUCKS" verdict on ffmpeg 2.8.6: curl -s http://www.4p8.com/eric.brasseur/gamma-1.0-or-2.2.png \ | ffmpeg -f

Re: [FFmpeg-user] The internal ffmpeg rgb=>yuv pipeline and conversion matrices

2016-05-09 Thread Peter Rabbitson
Thank you very much for confirming at least a part of my mental model ;) Followup questions inlined below: On 05/09/2016 10:29 AM, Paul B Mahol wrote: On 5/6/16, Peter Rabbitson <rabbit+l...@rabbit.us> wrote: ... == Questions - What is the "default" conversion matrix us

Re: [FFmpeg-user] The internal ffmpeg rgb=>yuv pipeline and conversion matrices

2016-05-09 Thread Peter Rabbitson
On 05/09/2016 01:33 PM, Thomas Worth wrote: Here's your cheat sheet if you want perfect decoding of YCbCr to RGB: 1. Encode RGB to YCbCr using the Poynton-approved RGB->709 matrix coefficients (don't mess with 601, trust me, unless you think apples should look like oranges) 2. Subsample the

Re: [FFmpeg-user] The internal ffmpeg rgb=>yuv pipeline and conversion matrices

2016-05-09 Thread Peter Rabbitson
On 05/09/2016 03:01 PM, Peter Rabbitson wrote: scale=in_color_matrix=bt601:out_color_matrix=bt709:in_range=full:out_range=tv Correction. Testing indicates the specification of in_* confuses ffmpeg even more. What seems to be "the way forward" is: ffmpeg -y -r 30 \ -filt

Re: [FFmpeg-user] The internal ffmpeg rgb=>yuv pipeline and conversion matrices

2016-05-09 Thread Peter Rabbitson
On 05/09/2016 02:10 PM, Andy Furniss wrote: yuv444p is not very compatible it may just fail or the player may need to convert to 420 anyway. In the words of Poynton (IIRC) the only reason to convert rgb to yuv is to enable sub-sampling (though I guess it may be better supported than if you

Re: [FFmpeg-user] The internal ffmpeg rgb=>yuv pipeline and conversion matrices

2016-05-09 Thread Peter Rabbitson
On 05/09/2016 04:34 PM, Andy Furniss wrote: Don't test with color src - use something real and you may see different. Nod. For completeness below is *literally* what my pipeline looks like, except of course it isn't "all green". The command as-is produces satisfactory results for both

Re: [FFmpeg-user] The internal ffmpeg rgb=>yuv pipeline and conversion matrices

2016-05-09 Thread Peter Rabbitson
On 05/09/2016 08:02 PM, Carl Eugen Hoyos wrote: Peter Rabbitson <rabbit+list rabbit.us> writes: scale=320x240 Scaling makes very little sense with lossless encoding. Could you elaborate? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.or

Re: [FFmpeg-user] Apparently the ffmpeg software scaler "sucks"

2016-05-17 Thread Peter Rabbitson
On 05/18/2016 06:45 AM, Reuben Martin wrote: curl -s http://www.4p8.com/eric.brasseur/gamma-1.0-or-2.2.png | \ ffmpeg -f image2pipe -i - \ -vf 'eq=gamma=0.454545,scale=w=iw/2:h=ih/2,eq=gamma=2.2' \ -vframes 1 -c:v bmp -f image2pipe - | ffplay -i - This is also suggested in the article from

[FFmpeg-user] The internal ffmpeg rgb=>yuv pipeline and conversion matrices

2016-05-06 Thread Peter Rabbitson
Hello! I am having trouble finding info on how to properly control color reproduction, both in terms of "reference manual" and in terms of "best practice guides". If I missed a resource neatly explaining everything I am confused about below, please do not hesitate to "RTFM" me ;) ==

Re: [FFmpeg-user] Meaning of key/values in output of progress option

2016-07-21 Thread Peter White
ow the FPS of your input, then it is fps/FPS. Progress as in % done is not provided but you can get that by dividing out_time_ms by total time of the input. > What can I learn from these values? I need this for monitoring > purposes of the health/qual

Re: [FFmpeg-user] Adding metadata at the stream level for a multi-stream media file

2016-07-25 Thread Peter White
know too little about this format. > What am I doing wrong? Is this even possible or am I flogging a dead > horse? Not necessarily a dead but perhaps the wrong horse. ;) Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman

Re: [FFmpeg-user] Need help resolving concat error

2016-07-24 Thread Peter White
Am 24.07.2016 um 17:16 schrieb Moritz Barsnick: On Sun, Jul 24, 2016 at 16:49:30 +0200, Peter White wrote: <(for f in ./*.MOV; do echo "file '$PWD/$f'"; done) is a very fancy way of saying *.MOV. ;) Essentially that is what happens there: ffmpeg -i *.MOV No, it isn't at all. It

Re: [FFmpeg-user] Need help resolving concat error

2016-07-24 Thread Peter White
rpreted as a Video of 40 ms length. I guess that is not intended. Also have a look at what Cley Faye wrote in their reply. To concatenate files you need the concat filter. Just using "-c:v copy -c:a copy" only gets you what ffmpeg deems the best quality input. And

Re: [FFmpeg-user] Prove that video file does not have content removed or added

2016-07-23 Thread Peter White
André Luís Duarte wrote: > Hi guys > > I am involved with another project in computer forensic where I have > to prove that several video files are intact (was not added or > removed content). I thought it would be easy but I'm a little > difficulty. I am pretty certain you cannot prove anything

Re: [FFmpeg-user] watermark text with background at the bottom center of video

2016-07-22 Thread Peter White
Am 22.07.2016 um 01:58 schrieb davidjesse: > But I get the following errors when I change the x and y params > > drawbox="x=(w-text_w)/2:y=(h-text_h):w=3000:h=10:color=black@1:t=max" That's because the drawbox filter does not know anything about text_w or text_h. Also w and h are the desired

Re: [FFmpeg-user] How to convert music into DTS encoded WAV file?

2016-08-10 Thread Peter White
800] Specified sample format fltp is invalid or not supported This is the problem. fltp seems not to be supported (yet) by this codec. I get the same with the git master from today (N-81311-g75e7f20). Am 10.08.16 um 16:09 schrieb Peter White: Is there a reason you did this in two steps? ffmpeg sho

Re: [FFmpeg-user] Some guidence on finding this problem.

2016-08-03 Thread Peter White
obal headers:0kB muxing overhead: unknown Conversion failed! So my money is on the recorder. Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://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 convert music into DTS encoded WAV file?

2016-08-10 Thread Peter White
certainly possible. > Can somebody help me on how to generate a properly dts-encoded WAV file > using ffmpeg that imports into iTunes? It might help, if you can get some info which formats iTunes accepts. I cannot imagine that it is that narrow in playing such files. Best, Peter _

Re: [FFmpeg-user] new error

2016-08-10 Thread Peter White
Last try. Really! 10.08.2016 01:31 juan carlos Rebate: 2016-08-10 0:05 GMT+02:00 Peter White <peter.wh...@posteo.net>: I if I try to cooperate, but you are wrong, I read all the documentation says about the http protocol and there is nothing that serves as support for this error solvetar

Re: [FFmpeg-user] change defaults for subtitle streams

2016-08-11 Thread Peter White
So, for the time being, take it with a grain of salt. :) Best, Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Command Line Input - Read from Memory

2016-08-09 Thread Peter White
ou got some data somewhere in memory that you want to feed into ffmpeg? In the first case pipelining to stdin comes to mind: $ command_that_writes_to_stdout | ffmpeg -i - output Best, Peter ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmp

Re: [FFmpeg-user] How to convert music into DTS encoded WAV file?

2016-08-10 Thread Peter White
10.08.2016 20:05, Moritz Barsnick: On Wed, Aug 10, 2016 at 19:31:28 +0200, Peter White wrote: That does not make much sense, since the final file is supposed to be fltp, which is 32 bit, anyway. This may be a misconception. I believe the "fltp" ffmpeg prints for its inputs is

Re: [FFmpeg-user] change defaults for subtitle streams

2016-08-12 Thread Peter White
e. > ps. I don't receive mails from 'my' thread so this message may appear as separate thread. Yes, I noticed. Please change your list settings or use the link in the archive, i.e.: https://ffmpeg.org/pipermail/ffmpeg-user/2016-August/033175.html Right below the subject line is the link,

Re: [FFmpeg-user] [OT] test

2016-08-12 Thread Peter White
nothing here ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] watermark text with background at the bottom center of video

2016-07-21 Thread Peter White
Am 21.07.2016 um 04:48 schrieb davidjesse: > ffmpeg -i myvideo.flv -vf > drawtext="fontfile=/root/video/Bristol.otf: > text='Stack Overflow': fontcolor=white: fontsize=24: box=1: > boxcolor=black@1: x=(w-text_w)/2: y=(h-text_h)/2" -codec:a copy > output.flv > > I want to have a full black

Re: [FFmpeg-user] libopus encoder produces bigger files than opusenc with 6-channel audio

2016-07-18 Thread Peter White
Am 18.07.2016 14:40 schrieb Carl Eugen Hoyos: > Peter White posteo.net> writes: > >> And as far as I can tell, not providing any options should >> result in the same default setting and hence the same bitrate. > > No, this not correct. > > If you don't provi

Re: [FFmpeg-user] libopus encoder produces bigger files than opusenc with 6-channel audio

2016-07-18 Thread Peter White
Am 18.07.2016 um 18:51 schrieb Carl Eugen Hoyos: > Peter White posteo.net> writes: > >> So both programs autoselect 320 kbit/s as the nominal >> bitrate, yet opusenc produces a considerably smaller file. > > So you are reporting a bug in opusenc on our mailing l

Re: [FFmpeg-user] libopus encoder produces bigger files than opusenc with 6-channel audio

2016-07-18 Thread Peter White
Am 18.07.2016 um 18:56 schrieb Carl Eugen Hoyos: > Peter White posteo.net> writes: > >> For 6-channel audio the "target" bitrate is 320 kbit/s >> in both applications. > > From a (very) quick look at the source, I don't think this > is correct bu

[FFmpeg-user] libopus encoder produces bigger files than opusenc with 6-channel audio

2016-07-16 Thread Peter White
can anybody tell me why that is and what can be done about it? Best, Peter $ ffmpeg -y -i 6c.flac -c libopus 6c.ffmpeg_libopus.opus ffmpeg version n3.1.1-3-g7da5900 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-10) configuration: --enable-gpl --enable

Re: [FFmpeg-user] numerous bugs-80117-N gdac030d version

2016-08-05 Thread Peter White
It is a seemingly arbitrary and rather old git version, more than 1000 commits behind current git master. The bug(s) that may be there could well be fixed in the meantime. So, please try the latest release and, if the problem persists, the latest git master vers

Re: [FFmpeg-user] numerous bugs-80117-N gdac030d version

2016-08-05 Thread Peter White
Again with the full quote?! juan carlos Rebate wrote: 2016-08-05 23:07 GMT+02:00 Peter White <peter.wh...@posteo.net>: Am 05.08.2016 um 22:29 schrieb juan carlos Rebate: 2016-08-05 21:29 GMT+02:00 Peter White <peter.wh...@posteo.net>: juan carlos Rebate wrote: 2016-08-05 19:

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Peter White
Carl Eugen Hoyos wrote: 2016-08-08 15:26 GMT+02:00 Peter White <peter.wh...@posteo.net>: Carl Eugen Hoyos wrote: WMP does not support lossless h264. LOL, another "surprise". ;) Not really: I forgot to mention that nothing except x264 and FFmpeg supports lossless h264 a

Re: [FFmpeg-user] numerous bugs-80117-N gdac030d version

2016-08-05 Thread Peter White
Am 05.08.2016 um 22:29 schrieb juan carlos Rebate: 2016-08-05 21:29 GMT+02:00 Peter White <peter.wh...@posteo.net>: juan carlos Rebate wrote: 2016-08-05 19:46 GMT+02:00 Paul B Mahol <one...@gmail.com>: On Friday, August 5, 2016, juan carlos Rebate <nerus...@g

Re: [FFmpeg-user] numerous bugs-80117-N gdac030d version

2016-08-06 Thread Peter White
juan carlos Rebate wrote: 2016-08-06 23:21 GMT+02:00 Moritz Barsnick : On Sat, Aug 06, 2016 at 03:45:04 +0200, juan carlos Rebate wrote: [libx264 @ 0253a860] kb/s:1030.90 That is less than one percent off your target. And it is to be expected. That is definetly no

[FFmpeg-user] [BUG] libopus "mapping family" option breaks encoding of audio streams with more than 2 channels

2016-08-07 Thread Peter White
by bisecting or any other means, since I could only find two "bad" commits. I have attached the full output of the two ffmpeg commands above with -v 9 -loglevel 99 added. I think this way the mail stays reasonably readable without losing any information. Best, Peter White ffmpeg versio

Re: [FFmpeg-user] [BUG] libopus "mapping family" option breaks encoding of audio streams with more than 2 channels

2016-08-07 Thread Peter White
Peter White wrote: Apparently the -mapping_family option for the libopus encoder ... Oops, I just now realized that bug reports are supposed to be submitted to the bug tracker. Sorry about that. I will open a report there. ___ ffmpeg-user mailing

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Peter White
have done so, why not tell us what you have already tried? ;) Makes things a whole lot easier. And just out of pure curiosity and spite I would like to know what that unholy WMP complains about. :P Best, Peter ___ ffmpeg-user mailing list ffmpeg-user@f

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Peter White
Kieran O Leary wrote: On Mon, Aug 8, 2016 at 10:07 AM, Peter White <peter.wh...@posteo.net> wrote: $ ffmpeg -i input.mp4 -c copy -metadata:s:v rotate=270 target.mp4 But this obviously needs to be respected by the playback application, so YMMV. VLC does work with this. WMP 1

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Peter White
Peter White wrote: Elie Grouchko wrote: I have been trying to rotate an mp4 video file on Windows, without affecting the quality, encoding, etc. ... I believe that is not possible. At least I cannot think of a way of doing it without re-encoding. Huh, apparently it is possible to do

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Peter White
Carl Eugen Hoyos wrote: Hi! 2016-08-08 10:34 GMT+02:00 Peter White <peter.wh...@posteo.net>: But for completeness' sake, a command that rotates and compresses the video losslessly: $ ffmpeg -i input.mp4 -vf "transpose=2" -c:v libx264 -crf 0 target.mp4 WMP does not suppo

  1   2   3   >