[FFmpeg-user] FFMpeg User preset

2019-07-16 Thread Weng Kien Chan
Hi, Is there a way for my to input my mxf file and grab the meeting to create a user preset? Currently, the wizard can only allow video passthru but not audio. I would like to have a preset base on my approve mxd file. Thank you Chan ___ ffmpeg-user

Re: [FFmpeg-user] PSNR for lossless JPEG2000 doesn't match

2019-07-16 Thread Paul B Mahol
rst from the encode, then from the > comparison. > > D:\temp>ffmpeg -i 1920x1080p23.97_YUV422_Legal_60s.avi -c:v libopenjpeg > -psnr -an openjpeg.mxf > ffmpeg version N-94303-g7cb4f8c962 Copyright (c) 2000-2019 the FFmpeg > developers > built with gcc 9.1.1 (GCC) 20190716 > co

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Stéphane Chauveau
Right. I was under the impression that TB was not always available in setpts because I tried the incorrect formula 'N*TB" on a short video and I obtained pts=0 in all the frames. I forgot that TB is typically a very small value and that the pts is rounded down to an integer value. Facepalm!

[FFmpeg-user] PSNR for lossless JPEG2000 doesn't match

2019-07-16 Thread Elliott Balsley
-i 1920x1080p23.97_YUV422_Legal_60s.avi -c:v libopenjpeg -psnr -an openjpeg.mxf ffmpeg version N-94303-g7cb4f8c962 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.1.1 (GCC) 20190716 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-lib

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Gyan
On 17-07-2019 12:08 AM, Stéphane Chauveau wrote: It seems that the pts value depends of the stream time_base so the formula 'N*30' is probably not valid in the general case. So if FR is not available in you meg file then I propose the following: Find the time_base value with ffprobe

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Stéphane Chauveau
It seems that the pts value depends of the stream time_base so the formula 'N*30' is probably not valid in the general case. So if FR is not available in you meg file then I propose the following: Find the time_base value with ffprobe -hide_banner -show_streams -select_streams v  input.mpg |

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Ted Park
> On Jul 16, 2019, at 3:29 AM, Gyan wrote: > > On 16-07-2019 12:05 PM, Carl Eugen Hoyos wrote: >> >> Am 16.07.2019 um 03:26 schrieb Ted Park : >> $ ffmpeg -i video.mpg ... Input #0, mpeg, from 'video.mpg': Duration: 00:03:17.53, start: 95444.217689, bitrate: 3602 kb/s >>>

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Stéphane Chauveau
The documenation to setpts says that the FR value may is only defined in constant frame-rate videos. If its does not exists in your mpeg file then you could try something like 'setpts=N*30' ps: the -vf argument in the first command in my previous message was supposed to be showideo (so

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Reino Wijnsma wrote: > On 16-7-2019 18:56, Paul B Mahol wrote: >> On 7/16/19, Reino Wijnsma wrote: >>> Let me ask you this: How can I do MixAudio(clip1,clip2,1.0,1.0) with >>> ffmpeg >>> leaving the volume completely untouched? >> There is currently no way. > > Hmm, alright. That's

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Stéphane Chauveau
In your ffmpeg output, all frames have the same time=26:19:06.00 and that could indicate an overflow in the PTS (presentation time stamp) values probably because your video is part of a very long video stream. Add the filter showinfo to your command. ffmpeg -i input.mpg -vf 

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Reino Wijnsma
On 16-7-2019 18:56, Paul B Mahol wrote: > On 7/16/19, Reino Wijnsma wrote: >> Let me ask you this: How can I do MixAudio(clip1,clip2,1.0,1.0) with ffmpeg >> leaving the volume completely untouched? > There is currently no way. Hmm, alright. That's very clear. I'm no expert, but isn't/wasn't

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Reino Wijnsma wrote: > On 16-7-2019 17:45, Paul B Mahol wrote: >> On 7/16/19, Reino Wijnsma wrote: >>> I can't use these filters. Have a look at the Youtube video please. >>> I wish it was a simple matter of just concatenating all segments, but it >>> isn't, because the segments

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Reino Wijnsma
On 16-7-2019 17:45, Paul B Mahol wrote: > On 7/16/19, Reino Wijnsma wrote: >> I can't use these filters. Have a look at the Youtube video please. >> I wish it was a simple matter of just concatenating all segments, but it >> isn't, because the segments don't align perfectly. >> Each segments has

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Paul B Mahol wrote: > On 7/16/19, Reino Wijnsma wrote: >> On 16-7-2019 15:36, Paul B Mahol wrote: >>> On 7/16/19, Reino Wijnsma wrote: About 7 years ago I've used Audacity to assemble the soundtrack of the videogame No One Lives Forever 2. See

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Stéphane Chauveau
Really? That is strange because your original log seems to indicate that mutiple frames are decoded. Did you try to generate a raw file instead of using a pipe as shown in my first comment? If so, what is the size of that raw file and can you successfully inspect its content using the ffplay

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Reino Wijnsma wrote: > On 16-7-2019 15:36, Paul B Mahol wrote: >> On 7/16/19, Reino Wijnsma wrote: >>> About 7 years ago I've used Audacity to assemble the soundtrack of the >>> videogame No One Lives Forever 2. See >>> https://www.youtube.com/watch?v=4Y3aKcQ0HK4 for example. >> Why

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Reino Wijnsma
On 16-7-2019 15:36, Paul B Mahol wrote: > On 7/16/19, Reino Wijnsma wrote: >> About 7 years ago I've used Audacity to assemble the soundtrack of the >> videogame No One Lives Forever 2. See >> https://www.youtube.com/watch?v=4Y3aKcQ0HK4 for example. > Why you use adelay? > Perhaps you want

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Ted Park wrote: > Whatever filter is being used, this has me curious what the limits of a > filter chain are in terms of number of in/out pads, if any. Usually number of inputs is limited by your memory and not by number of pads, as that can be very high 31bit number. Everything is

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Nicolas George
Griffin Smith (12019-07-16): > Unfortunately I can't legally. The output of ffprobe -show_streams -show_format -show_packets -show_frames FILE would be the next best thing. You can add "-of compact" and trim similar lines if there are. Regards, -- Nicolas George signature.asc

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Griffin Smith
On Mon, Jul 15 at 2:42 AM Carl Eugen Hoyos wrote: > > Am Mo., 15. Juli 2019 um 20:08 Uhr schrieb Griffin Smith : > > I've got a few hundred video files I'm working with that have an issue > > where ffmpeg -i reports them as having a duration of a few minutes, > > but when I try to split them into

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Ted Park
Whatever filter is being used, this has me curious what the limits of a filter chain are in terms of number of in/out pads, if any. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe,

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Reino Wijnsma wrote: > Hello ffmpeg-user, > > About 7 years ago I've used Audacity to assemble the soundtrack of the > videogame No One Lives Forever 2. See > https://www.youtube.com/watch?v=4Y3aKcQ0HK4 for example. > The soundtrack comprised of lots of small segments that can all

[FFmpeg-user] Video jumps after segmenting, transcoding, and rejoining video

2019-07-16 Thread Paul Cruickshank
Hi, We're working on a project to have a highly parallelized video rescaling pipeline but we're finding that small audio and video jumps are being introduced into the video when we put the video back together. Can anyone point out anything we're doing wrong? The pipeline has 3 stages. First we

[FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Reino Wijnsma
Hello ffmpeg-user, About 7 years ago I've used Audacity to assemble the soundtrack of the videogame No One Lives Forever 2. See https://www.youtube.com/watch?v=4Y3aKcQ0HK4 for example. The soundtrack comprised of lots of small segments that can all dynamically be loaded by the videogame. A

Re: [FFmpeg-user] Error psz_cqm_file=8-0-8

2019-07-16 Thread Ted Park
> I would like to know the difference between psz_cqm_file and cqmfile. This is more of an x264 question than an ffmpeg one, but if I were to guess they changed the parameter name at some point because, like, what does psz_cqm_file even stand for, right?

Re: [FFmpeg-user] Error psz_cqm_file=8-0-8

2019-07-16 Thread abhishek punjabi
Dear Sir, As referred by Moritz below command is working fine for FFmpeg 4.1 -x264opts cqmfile=filename I would like to know the difference between psz_cqm_file and cqmfile. From notes I got /* JM format reads the external quantization matrix file in JM format, automatically ignores other -cqm

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Stéphane Chauveau
In my previous comment, the change of framerate is done during the transcoding to raw yuv which could be problematic with your  mpeg stream. An alternative could be to convert all frames  to YUV and then drop some of them during the second transcoding.  Of course, the intermediate raw file

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Stéphane Chauveau
I am no expert but something is obviously messing up with the frame number (a bug in ffmpeg?) So looking at your dump, it seems to me that the frames are produced correctly except that they all have the frame number 1. A solution to your problem could be to drop the frame information by

Re: [FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

2019-07-16 Thread Gyan
On 16-07-2019 12:05 PM, Carl Eugen Hoyos wrote: Am 16.07.2019 um 03:26 schrieb Ted Park : $ ffmpeg -i video.mpg ... Input #0, mpeg, from 'video.mpg': Duration: 00:03:17.53, start: 95444.217689, bitrate: 3602 kb/s The start time on the input file seems strange. Start times != 0 are not