Re: [FFmpeg-user] FFmpeg is shutting down when concating segmented files and outputting to UDP

2019-01-14 Thread Dennis Mungai
On Tue, Jan 15, 2019, 07:38 Sagar Lakhani  hello,
> I am new to this community, i have used ffmpeg in my server in which i have
> live streams and i am segmenting them and then storing after a while i
> concat the segmented files and then output these to udp.
> Firstly i got a problem of open file limit which i had solved but then
> again i got a problem in which the ffmpeg shut down automatically in 2-3
> days, time is not random. I am using xeon processor with 16 gb ram, ffmpeg
> version 3.4. earlier i have noticed that cpu utility increases but exactly
> don't knw the reason. i have also generated the log file with -report
> option but these log files are generated in order of 100s of gbs but i have
> managed to grab some end file lines and there is no error message before
> quitting, i also tried hardware accel qsv but i am still getting same
> problem. i have doubt that this is bug in ffmpeg. Please help me with
> solving this issue.
> Thanks,
>
> Regards
> Sagar
> ___
> 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".



Hello there,

Show us the full, uncut command and the console output.
Reminder: Only git head is supported here, FYI.
___
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".

[FFmpeg-user] FFmpeg is shutting down when concating segmented files and outputting to UDP

2019-01-14 Thread Sagar Lakhani
hello,
I am new to this community, i have used ffmpeg in my server in which i have
live streams and i am segmenting them and then storing after a while i
concat the segmented files and then output these to udp.
Firstly i got a problem of open file limit which i had solved but then
again i got a problem in which the ffmpeg shut down automatically in 2-3
days, time is not random. I am using xeon processor with 16 gb ram, ffmpeg
version 3.4. earlier i have noticed that cpu utility increases but exactly
don't knw the reason. i have also generated the log file with -report
option but these log files are generated in order of 100s of gbs but i have
managed to grab some end file lines and there is no error message before
quitting, i also tried hardware accel qsv but i am still getting same
problem. i have doubt that this is bug in ffmpeg. Please help me with
solving this issue.
Thanks,

Regards
Sagar
___
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] Meaning of ffprobe output

2019-01-14 Thread Ulf Zibis
Hi,

Am 13.01.19 um 00:25 schrieb Carl Eugen Hoyos:
 tbn
>>> This is the container timebase, 90k for mpeg streams.
>> For what stands 90k? For 90,000 milli seconds?
> It stands for a timebase of 1/9

Is it 1/9 second?

> which is the timebase
> for all mpeg streams (and cannot be changed afaik).
Do you mean MPEG-2 with "mpeg"?
My MPEG-4 stream has

12800 tbn


>> Does 50 tbc mean, that I still have 50 interlaced half-frames per
>> second, or why is the codecs timebase 50?
> No, it means that the codec timebase is 1/50.
>
> (The reason that these answers do not really help you
> is that the values are not necessarily meant for you,
> they typically have more meaning for developers.)
>
> [...]
>
>>>  libx264 does not support PAFF encoding.
>> What is PAFF?
> H.264 field-encoding, another method of h.264 interlaced
> encoding exists, MBAFF (which is supported by libx264).

So if I want to retain the interlacing from the vob file, I should use
MBAFF. What is the ffmpeg option for this?

Which is the de-interlacing method, libx264 uses by default?

I'm interested in that, because I imagine, that it would be better for
the quality to retain the interlacing, i.e. then the video player is
able to write 50 half-frames per second to the output display, which
provides better quality than 25 merged progressive frames per second.
Does my assumption hold?
But unfortunately I do not know, if my video (DVD-R recorded from a VHS
cassette) originally was telecined from an analogue celluloid film or
was produced directly on video tape (which should be true interlaced).
Any idea, how I can detect this? It was a low budget production in 1982.

-Ulf


___
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 correctly chain filters

2019-01-14 Thread Carl Eugen Hoyos
2019-01-15 2:07 GMT+01:00, Ulf Zibis :

> Am 15.01.19 um 01:30 schrieb Carl Eugen Hoyos:
>> 2018-12-07 3:22 GMT+01:00, Ulf Zibis :
>>
>>> I have tried 2 forms:
>>> $ ffmpeg -i in.vob -movflags +faststart -vf bwdif -vf hqdn3d
>>> -q 3 -c:a copy out_bwdif_hqdn3d.vob
>> Should have improved in current FFmpeg git head.
>
> But what has improved?

A warning is shown.

Carl Eugen
___
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 correctly chain filters

2019-01-14 Thread Ulf Zibis
Carl Eugen, thanks for remembering the question ..

Am 15.01.19 um 01:30 schrieb Carl Eugen Hoyos:
> 2018-12-07 3:22 GMT+01:00, Ulf Zibis :
>
>> I have tried 2 forms:
>> $ ffmpeg -i in.vob -movflags +faststart -vf bwdif -vf hqdn3d
>> -q 3 -c:a copy out_bwdif_hqdn3d.vob
> Should have improved in current FFmpeg git head.


But what has improved?
Are the 2 filter options now chained instead overridden?

-Ulf

___
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 correctly chain filters

2019-01-14 Thread Carl Eugen Hoyos
2018-12-07 3:22 GMT+01:00, Ulf Zibis :

> I have tried 2 forms:
> $ ffmpeg -i in.vob -movflags +faststart -vf bwdif -vf hqdn3d
> -q 3 -c:a copy out_bwdif_hqdn3d.vob

Should have improved in current FFmpeg git head.

Carl Eugen
___
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] Converting CAF file

2019-01-14 Thread Carl Eugen Hoyos
2019-01-14 23:14 GMT+01:00, Hafez Adnan :
> Thank you for the reply, please find the link below:
>
> https://drive.google.com/file/d/1HbEZp5YcWLZjFWBpF-Cr2GliLaRg7uM-/view?usp=sharing

I just sent a patch to support such files, work-around is to use the pipe:
$ cat file | ffmpeg -i - out.wav

Please do not top-post here, Carl Eugen
___
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] Converting CAF file

2019-01-14 Thread Hafez Adnan
thanks for the help but 2 things, it works fine with Quick time and how can
I fix a large number of files automatically.

Best
Hafez

On Tue, Jan 15, 2019 at 12:52 AM Paul B Mahol  wrote:

> On 1/14/19, Paul B Mahol  wrote:
> > On 1/14/19, Hafez Adnan  wrote:
> >> Thank you for the reply, please find the link below:
> >>
> >>
> https://drive.google.com/file/d/1HbEZp5YcWLZjFWBpF-Cr2GliLaRg7uM-/view?usp=sharing
> >>
> >
> > Looks like invalid file.
>
> Can be easily fixed, by hex editor...
>
> >
> >> Best regards,
> >> Hafez
> >>
> >> On Tue, Jan 15, 2019 at 12:08 AM Paul B Mahol  wrote:
> >>
> >>> On 1/14/19, Hafez Adnan  wrote:
> >>> > Thank you  Dear, I upgrade the FFmpeg, but I getting sometimes the
> >>> > following error:
> >>> >
> >>>
> >>> Please upload this CAF sample somewhere. And post link here.
> >>>
> >>> > ffmpeg -y -i 6090fd7f711c12ca0d0d975dd80e44b0..caf
> >>> > 6090fd7f711c12ca0d0d975dd80e44b0.mp3
> >>> > ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
> >>> >   built with gcc 7 (GCC)
> >>> >   configuration: --enable-libmp3lame --enable-libtheora
> >>> --enable-libvorbis
> >>> > --enable-libilbc --enable-libass --enable-libfreetype
> >>> >   libavutil  56. 22.100 / 56. 22.100
> >>> >   libavcodec 58. 35.100 / 58. 35.100
> >>> >   libavformat58. 20.100 / 58. 20.100
> >>> >   libavdevice58.  5.100 / 58.  5.100
> >>> >   libavfilter 7. 40.101 /  7. 40.101
> >>> >   libswscale  5.  3.100 /  5.  3.100
> >>> >   libswresample   3.  3.100 /  3.  3.100
> >>> > [caf @ 0x247e4c0] skipping CAF chunk: 3783EAA1 (7[131][234][161]),
> >>> > size
> >>> > -1097267016323801658
> >>> > 6090fd7f711c12ca0d0d975dd80e44b0..caf: Invalid data found when
> >>> > processing
> >>> > input
> >>> >
> >>> > Any Ideas,
> >>> >
> >>> > Thank you,
> >>> > Hafez
> >>> >
> >>> > On Sun, Jan 13, 2019 at 1:11 PM Paul B Mahol 
> wrote:
> >>> >
> >>> >> On 1/13/19, Hafez Adnan  wrote:
> >>> >> > Hi All,
> >>> >> >
> >>> >> > Kindly I need your support to convert the CAF file to MP3 format.
> >>> >> >
> >>> >> > I am using the following command, but I getting the following
> >>> >> > error:
> >>> >> >
> >>> >> > ffmpeg -i 40c90a1b16acc9f88ee700d2d812af63..caf test.caf
> >>> >> >
> >>> >> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
> >>> >>
> >>> >> Too old version.
> >>> >>
> >>> >>
> >>> >> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
> >>> >> >   configuration: --prefix=/usr --bindir=/usr/bin
> >>> >> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
> >>> >> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
> >>> >> > --optflags='-O2
> >>> >> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> >>> >> > -fstack-protector-strong --param=ssp-buffer-size=4
> >>> -grecord-gcc-switches
> >>> >> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
> >>> --enable-gnutls
> >>> >> > --enable-ladspa --enable-libass --enable-libcdio
> --enable-libdc1394
> >>> >> > --enable-libfaac --enable-nonfree --enable-libfdk-aac
> >>> >> > --enable-nonfree
> >>> >> > --disable-indev=jack --enable-libfreetype --enable-libgsm
> >>> >> > --enable-libmp3lame --enable-openal --enable-libopenjpeg
> >>> >> > --enable-libopus
> >>> >> > --enable-libpulse --enable-libschroedinger --enable-libsoxr
> >>> >> > --enable-libspeex --enable-libtheora --enable-libvorbis
> >>> --enable-libv4l2
> >>> >> > --enable-libx264 --enable-libx265 --enable-libxvid
> --enable-x11grab
> >>> >> > --enable-avfilter --enable-avresample --enable-postproc
> >>> >> > --enable-pthreads
> >>> >> > --disable-static --enable-shared --enable-gpl --disable-debug
> >>> >> > --disable-stripping --shlibdir=/usr/lib64
> >>> >> > --enable-runtime-cpudetect
> >>> >> >   libavutil  54. 20.100 / 54. 20.100
> >>> >> >   libavcodec 56. 26.100 / 56. 26.100
> >>> >> >   libavformat56. 25.101 / 56. 25.101
> >>> >> >   libavdevice56.  4.100 / 56.  4.100
> >>> >> >   libavfilter 5. 11.102 /  5. 11.102
> >>> >> >   libavresample   2.  1.  0 /  2.  1.  0
> >>> >> >   libswscale  3.  1.101 /  3.  1.101
> >>> >> >   libswresample   1.  1.100 /  1.  1.100
> >>> >> >   libpostproc53.  3.100 / 53.  3.100
> >>> >> > [caf @ 0x1b5a100] Estimating duration from bitrate, this may be
> >>> >> inaccurate
> >>> >> > Guessed Channel Layout for  Input Stream #0.0 : mono
> >>> >> > Input #0, caf, from '40c90a1b16acc9f88ee700d2d812af63..caf':
> >>> >> >   Duration: 00:00:18.62, start: 0.00, bitrate: 16 kb/s
> >>> >> > Stream #0:0: Audio: ilbc (ilbc / 0x63626C69), 8000 Hz, 1
> >>> >> > channels,
> >>> >> > 15
> >>> >> > kb/s
> >>> >> > *No decoder for stream #0:0, filtering impossible*
> >>> >> > Error opening filters!
> >>> >> >
> >>> >> >
> >>> >> > --
> >>> >> > *Sometimes I get the below errors :*
> >>> >> >
> >>> >> >
> >>> >> > *[root@test]# ffmpeg -i 8387fe50349724b2d4a9ff9052b47355..caf
> >>> test1.mp3*
> >>> >> >
> >>> >> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 

Re: [FFmpeg-user] Converting CAF file

2019-01-14 Thread Paul B Mahol
On 1/14/19, Paul B Mahol  wrote:
> On 1/14/19, Hafez Adnan  wrote:
>> Thank you for the reply, please find the link below:
>>
>> https://drive.google.com/file/d/1HbEZp5YcWLZjFWBpF-Cr2GliLaRg7uM-/view?usp=sharing
>>
>
> Looks like invalid file.

Can be easily fixed, by hex editor...

>
>> Best regards,
>> Hafez
>>
>> On Tue, Jan 15, 2019 at 12:08 AM Paul B Mahol  wrote:
>>
>>> On 1/14/19, Hafez Adnan  wrote:
>>> > Thank you  Dear, I upgrade the FFmpeg, but I getting sometimes the
>>> > following error:
>>> >
>>>
>>> Please upload this CAF sample somewhere. And post link here.
>>>
>>> > ffmpeg -y -i 6090fd7f711c12ca0d0d975dd80e44b0..caf
>>> > 6090fd7f711c12ca0d0d975dd80e44b0.mp3
>>> > ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>>> >   built with gcc 7 (GCC)
>>> >   configuration: --enable-libmp3lame --enable-libtheora
>>> --enable-libvorbis
>>> > --enable-libilbc --enable-libass --enable-libfreetype
>>> >   libavutil  56. 22.100 / 56. 22.100
>>> >   libavcodec 58. 35.100 / 58. 35.100
>>> >   libavformat58. 20.100 / 58. 20.100
>>> >   libavdevice58.  5.100 / 58.  5.100
>>> >   libavfilter 7. 40.101 /  7. 40.101
>>> >   libswscale  5.  3.100 /  5.  3.100
>>> >   libswresample   3.  3.100 /  3.  3.100
>>> > [caf @ 0x247e4c0] skipping CAF chunk: 3783EAA1 (7[131][234][161]),
>>> > size
>>> > -1097267016323801658
>>> > 6090fd7f711c12ca0d0d975dd80e44b0..caf: Invalid data found when
>>> > processing
>>> > input
>>> >
>>> > Any Ideas,
>>> >
>>> > Thank you,
>>> > Hafez
>>> >
>>> > On Sun, Jan 13, 2019 at 1:11 PM Paul B Mahol  wrote:
>>> >
>>> >> On 1/13/19, Hafez Adnan  wrote:
>>> >> > Hi All,
>>> >> >
>>> >> > Kindly I need your support to convert the CAF file to MP3 format.
>>> >> >
>>> >> > I am using the following command, but I getting the following
>>> >> > error:
>>> >> >
>>> >> > ffmpeg -i 40c90a1b16acc9f88ee700d2d812af63..caf test.caf
>>> >> >
>>> >> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
>>> >>
>>> >> Too old version.
>>> >>
>>> >>
>>> >> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
>>> >> >   configuration: --prefix=/usr --bindir=/usr/bin
>>> >> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
>>> >> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
>>> >> > --optflags='-O2
>>> >> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>>> >> > -fstack-protector-strong --param=ssp-buffer-size=4
>>> -grecord-gcc-switches
>>> >> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
>>> --enable-gnutls
>>> >> > --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
>>> >> > --enable-libfaac --enable-nonfree --enable-libfdk-aac
>>> >> > --enable-nonfree
>>> >> > --disable-indev=jack --enable-libfreetype --enable-libgsm
>>> >> > --enable-libmp3lame --enable-openal --enable-libopenjpeg
>>> >> > --enable-libopus
>>> >> > --enable-libpulse --enable-libschroedinger --enable-libsoxr
>>> >> > --enable-libspeex --enable-libtheora --enable-libvorbis
>>> --enable-libv4l2
>>> >> > --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab
>>> >> > --enable-avfilter --enable-avresample --enable-postproc
>>> >> > --enable-pthreads
>>> >> > --disable-static --enable-shared --enable-gpl --disable-debug
>>> >> > --disable-stripping --shlibdir=/usr/lib64
>>> >> > --enable-runtime-cpudetect
>>> >> >   libavutil  54. 20.100 / 54. 20.100
>>> >> >   libavcodec 56. 26.100 / 56. 26.100
>>> >> >   libavformat56. 25.101 / 56. 25.101
>>> >> >   libavdevice56.  4.100 / 56.  4.100
>>> >> >   libavfilter 5. 11.102 /  5. 11.102
>>> >> >   libavresample   2.  1.  0 /  2.  1.  0
>>> >> >   libswscale  3.  1.101 /  3.  1.101
>>> >> >   libswresample   1.  1.100 /  1.  1.100
>>> >> >   libpostproc53.  3.100 / 53.  3.100
>>> >> > [caf @ 0x1b5a100] Estimating duration from bitrate, this may be
>>> >> inaccurate
>>> >> > Guessed Channel Layout for  Input Stream #0.0 : mono
>>> >> > Input #0, caf, from '40c90a1b16acc9f88ee700d2d812af63..caf':
>>> >> >   Duration: 00:00:18.62, start: 0.00, bitrate: 16 kb/s
>>> >> > Stream #0:0: Audio: ilbc (ilbc / 0x63626C69), 8000 Hz, 1
>>> >> > channels,
>>> >> > 15
>>> >> > kb/s
>>> >> > *No decoder for stream #0:0, filtering impossible*
>>> >> > Error opening filters!
>>> >> >
>>> >> >
>>> >> > --
>>> >> > *Sometimes I get the below errors :*
>>> >> >
>>> >> >
>>> >> > *[root@test]# ffmpeg -i 8387fe50349724b2d4a9ff9052b47355..caf
>>> test1.mp3*
>>> >> >
>>> >> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
>>> >> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
>>> >> >   configuration: --prefix=/usr --bindir=/usr/bin
>>> >> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
>>> >> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
>>> >> > --optflags='-O2
>>> >> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>>> >> > -fstack-protector-strong --param=ssp-buffer-size=4
>>> 

Re: [FFmpeg-user] Converting CAF file

2019-01-14 Thread Paul B Mahol
On 1/14/19, Hafez Adnan  wrote:
> Thank you for the reply, please find the link below:
>
> https://drive.google.com/file/d/1HbEZp5YcWLZjFWBpF-Cr2GliLaRg7uM-/view?usp=sharing
>

Looks like invalid file.

> Best regards,
> Hafez
>
> On Tue, Jan 15, 2019 at 12:08 AM Paul B Mahol  wrote:
>
>> On 1/14/19, Hafez Adnan  wrote:
>> > Thank you  Dear, I upgrade the FFmpeg, but I getting sometimes the
>> > following error:
>> >
>>
>> Please upload this CAF sample somewhere. And post link here.
>>
>> > ffmpeg -y -i 6090fd7f711c12ca0d0d975dd80e44b0..caf
>> > 6090fd7f711c12ca0d0d975dd80e44b0.mp3
>> > ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>> >   built with gcc 7 (GCC)
>> >   configuration: --enable-libmp3lame --enable-libtheora
>> --enable-libvorbis
>> > --enable-libilbc --enable-libass --enable-libfreetype
>> >   libavutil  56. 22.100 / 56. 22.100
>> >   libavcodec 58. 35.100 / 58. 35.100
>> >   libavformat58. 20.100 / 58. 20.100
>> >   libavdevice58.  5.100 / 58.  5.100
>> >   libavfilter 7. 40.101 /  7. 40.101
>> >   libswscale  5.  3.100 /  5.  3.100
>> >   libswresample   3.  3.100 /  3.  3.100
>> > [caf @ 0x247e4c0] skipping CAF chunk: 3783EAA1 (7[131][234][161]), size
>> > -1097267016323801658
>> > 6090fd7f711c12ca0d0d975dd80e44b0..caf: Invalid data found when
>> > processing
>> > input
>> >
>> > Any Ideas,
>> >
>> > Thank you,
>> > Hafez
>> >
>> > On Sun, Jan 13, 2019 at 1:11 PM Paul B Mahol  wrote:
>> >
>> >> On 1/13/19, Hafez Adnan  wrote:
>> >> > Hi All,
>> >> >
>> >> > Kindly I need your support to convert the CAF file to MP3 format.
>> >> >
>> >> > I am using the following command, but I getting the following error:
>> >> >
>> >> > ffmpeg -i 40c90a1b16acc9f88ee700d2d812af63..caf test.caf
>> >> >
>> >> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
>> >>
>> >> Too old version.
>> >>
>> >>
>> >> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
>> >> >   configuration: --prefix=/usr --bindir=/usr/bin
>> >> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
>> >> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
>> >> > --optflags='-O2
>> >> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>> >> > -fstack-protector-strong --param=ssp-buffer-size=4
>> -grecord-gcc-switches
>> >> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
>> --enable-gnutls
>> >> > --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
>> >> > --enable-libfaac --enable-nonfree --enable-libfdk-aac
>> >> > --enable-nonfree
>> >> > --disable-indev=jack --enable-libfreetype --enable-libgsm
>> >> > --enable-libmp3lame --enable-openal --enable-libopenjpeg
>> >> > --enable-libopus
>> >> > --enable-libpulse --enable-libschroedinger --enable-libsoxr
>> >> > --enable-libspeex --enable-libtheora --enable-libvorbis
>> --enable-libv4l2
>> >> > --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab
>> >> > --enable-avfilter --enable-avresample --enable-postproc
>> >> > --enable-pthreads
>> >> > --disable-static --enable-shared --enable-gpl --disable-debug
>> >> > --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
>> >> >   libavutil  54. 20.100 / 54. 20.100
>> >> >   libavcodec 56. 26.100 / 56. 26.100
>> >> >   libavformat56. 25.101 / 56. 25.101
>> >> >   libavdevice56.  4.100 / 56.  4.100
>> >> >   libavfilter 5. 11.102 /  5. 11.102
>> >> >   libavresample   2.  1.  0 /  2.  1.  0
>> >> >   libswscale  3.  1.101 /  3.  1.101
>> >> >   libswresample   1.  1.100 /  1.  1.100
>> >> >   libpostproc53.  3.100 / 53.  3.100
>> >> > [caf @ 0x1b5a100] Estimating duration from bitrate, this may be
>> >> inaccurate
>> >> > Guessed Channel Layout for  Input Stream #0.0 : mono
>> >> > Input #0, caf, from '40c90a1b16acc9f88ee700d2d812af63..caf':
>> >> >   Duration: 00:00:18.62, start: 0.00, bitrate: 16 kb/s
>> >> > Stream #0:0: Audio: ilbc (ilbc / 0x63626C69), 8000 Hz, 1
>> >> > channels,
>> >> > 15
>> >> > kb/s
>> >> > *No decoder for stream #0:0, filtering impossible*
>> >> > Error opening filters!
>> >> >
>> >> >
>> >> > --
>> >> > *Sometimes I get the below errors :*
>> >> >
>> >> >
>> >> > *[root@test]# ffmpeg -i 8387fe50349724b2d4a9ff9052b47355..caf
>> test1.mp3*
>> >> >
>> >> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
>> >> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
>> >> >   configuration: --prefix=/usr --bindir=/usr/bin
>> >> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
>> >> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
>> >> > --optflags='-O2
>> >> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>> >> > -fstack-protector-strong --param=ssp-buffer-size=4
>> -grecord-gcc-switches
>> >> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
>> --enable-gnutls
>> >> > --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
>> >> > --enable-libfaac --enable-nonfree 

Re: [FFmpeg-user] Converting CAF file

2019-01-14 Thread Hafez Adnan
Thank you for the reply, please find the link below:

https://drive.google.com/file/d/1HbEZp5YcWLZjFWBpF-Cr2GliLaRg7uM-/view?usp=sharing

Best regards,
Hafez

On Tue, Jan 15, 2019 at 12:08 AM Paul B Mahol  wrote:

> On 1/14/19, Hafez Adnan  wrote:
> > Thank you  Dear, I upgrade the FFmpeg, but I getting sometimes the
> > following error:
> >
>
> Please upload this CAF sample somewhere. And post link here.
>
> > ffmpeg -y -i 6090fd7f711c12ca0d0d975dd80e44b0..caf
> > 6090fd7f711c12ca0d0d975dd80e44b0.mp3
> > ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
> >   built with gcc 7 (GCC)
> >   configuration: --enable-libmp3lame --enable-libtheora
> --enable-libvorbis
> > --enable-libilbc --enable-libass --enable-libfreetype
> >   libavutil  56. 22.100 / 56. 22.100
> >   libavcodec 58. 35.100 / 58. 35.100
> >   libavformat58. 20.100 / 58. 20.100
> >   libavdevice58.  5.100 / 58.  5.100
> >   libavfilter 7. 40.101 /  7. 40.101
> >   libswscale  5.  3.100 /  5.  3.100
> >   libswresample   3.  3.100 /  3.  3.100
> > [caf @ 0x247e4c0] skipping CAF chunk: 3783EAA1 (7[131][234][161]), size
> > -1097267016323801658
> > 6090fd7f711c12ca0d0d975dd80e44b0..caf: Invalid data found when processing
> > input
> >
> > Any Ideas,
> >
> > Thank you,
> > Hafez
> >
> > On Sun, Jan 13, 2019 at 1:11 PM Paul B Mahol  wrote:
> >
> >> On 1/13/19, Hafez Adnan  wrote:
> >> > Hi All,
> >> >
> >> > Kindly I need your support to convert the CAF file to MP3 format.
> >> >
> >> > I am using the following command, but I getting the following error:
> >> >
> >> > ffmpeg -i 40c90a1b16acc9f88ee700d2d812af63..caf test.caf
> >> >
> >> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
> >>
> >> Too old version.
> >>
> >>
> >> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
> >> >   configuration: --prefix=/usr --bindir=/usr/bin
> >> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
> >> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
> >> > --optflags='-O2
> >> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> >> > -fstack-protector-strong --param=ssp-buffer-size=4
> -grecord-gcc-switches
> >> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
> --enable-gnutls
> >> > --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
> >> > --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree
> >> > --disable-indev=jack --enable-libfreetype --enable-libgsm
> >> > --enable-libmp3lame --enable-openal --enable-libopenjpeg
> >> > --enable-libopus
> >> > --enable-libpulse --enable-libschroedinger --enable-libsoxr
> >> > --enable-libspeex --enable-libtheora --enable-libvorbis
> --enable-libv4l2
> >> > --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab
> >> > --enable-avfilter --enable-avresample --enable-postproc
> >> > --enable-pthreads
> >> > --disable-static --enable-shared --enable-gpl --disable-debug
> >> > --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
> >> >   libavutil  54. 20.100 / 54. 20.100
> >> >   libavcodec 56. 26.100 / 56. 26.100
> >> >   libavformat56. 25.101 / 56. 25.101
> >> >   libavdevice56.  4.100 / 56.  4.100
> >> >   libavfilter 5. 11.102 /  5. 11.102
> >> >   libavresample   2.  1.  0 /  2.  1.  0
> >> >   libswscale  3.  1.101 /  3.  1.101
> >> >   libswresample   1.  1.100 /  1.  1.100
> >> >   libpostproc53.  3.100 / 53.  3.100
> >> > [caf @ 0x1b5a100] Estimating duration from bitrate, this may be
> >> inaccurate
> >> > Guessed Channel Layout for  Input Stream #0.0 : mono
> >> > Input #0, caf, from '40c90a1b16acc9f88ee700d2d812af63..caf':
> >> >   Duration: 00:00:18.62, start: 0.00, bitrate: 16 kb/s
> >> > Stream #0:0: Audio: ilbc (ilbc / 0x63626C69), 8000 Hz, 1 channels,
> >> > 15
> >> > kb/s
> >> > *No decoder for stream #0:0, filtering impossible*
> >> > Error opening filters!
> >> >
> >> >
> >> > --
> >> > *Sometimes I get the below errors :*
> >> >
> >> >
> >> > *[root@test]# ffmpeg -i 8387fe50349724b2d4a9ff9052b47355..caf
> test1.mp3*
> >> >
> >> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
> >> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
> >> >   configuration: --prefix=/usr --bindir=/usr/bin
> >> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
> >> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
> >> > --optflags='-O2
> >> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> >> > -fstack-protector-strong --param=ssp-buffer-size=4
> -grecord-gcc-switches
> >> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
> --enable-gnutls
> >> > --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
> >> > --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree
> >> > --disable-indev=jack --enable-libfreetype --enable-libgsm
> >> > --enable-libmp3lame --enable-openal --enable-libopenjpeg
> >> > --enable-libopus
> >> > --enable-libpulse 

Re: [FFmpeg-user] Converting CAF file

2019-01-14 Thread Paul B Mahol
On 1/14/19, Hafez Adnan  wrote:
> Thank you  Dear, I upgrade the FFmpeg, but I getting sometimes the
> following error:
>

Please upload this CAF sample somewhere. And post link here.

> ffmpeg -y -i 6090fd7f711c12ca0d0d975dd80e44b0..caf
> 6090fd7f711c12ca0d0d975dd80e44b0.mp3
> ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>   built with gcc 7 (GCC)
>   configuration: --enable-libmp3lame --enable-libtheora --enable-libvorbis
> --enable-libilbc --enable-libass --enable-libfreetype
>   libavutil  56. 22.100 / 56. 22.100
>   libavcodec 58. 35.100 / 58. 35.100
>   libavformat58. 20.100 / 58. 20.100
>   libavdevice58.  5.100 / 58.  5.100
>   libavfilter 7. 40.101 /  7. 40.101
>   libswscale  5.  3.100 /  5.  3.100
>   libswresample   3.  3.100 /  3.  3.100
> [caf @ 0x247e4c0] skipping CAF chunk: 3783EAA1 (7[131][234][161]), size
> -1097267016323801658
> 6090fd7f711c12ca0d0d975dd80e44b0..caf: Invalid data found when processing
> input
>
> Any Ideas,
>
> Thank you,
> Hafez
>
> On Sun, Jan 13, 2019 at 1:11 PM Paul B Mahol  wrote:
>
>> On 1/13/19, Hafez Adnan  wrote:
>> > Hi All,
>> >
>> > Kindly I need your support to convert the CAF file to MP3 format.
>> >
>> > I am using the following command, but I getting the following error:
>> >
>> > ffmpeg -i 40c90a1b16acc9f88ee700d2d812af63..caf test.caf
>> >
>> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
>>
>> Too old version.
>>
>>
>> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
>> >   configuration: --prefix=/usr --bindir=/usr/bin
>> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
>> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
>> > --optflags='-O2
>> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>> > -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
>> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls
>> > --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
>> > --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree
>> > --disable-indev=jack --enable-libfreetype --enable-libgsm
>> > --enable-libmp3lame --enable-openal --enable-libopenjpeg
>> > --enable-libopus
>> > --enable-libpulse --enable-libschroedinger --enable-libsoxr
>> > --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2
>> > --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab
>> > --enable-avfilter --enable-avresample --enable-postproc
>> > --enable-pthreads
>> > --disable-static --enable-shared --enable-gpl --disable-debug
>> > --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
>> >   libavutil  54. 20.100 / 54. 20.100
>> >   libavcodec 56. 26.100 / 56. 26.100
>> >   libavformat56. 25.101 / 56. 25.101
>> >   libavdevice56.  4.100 / 56.  4.100
>> >   libavfilter 5. 11.102 /  5. 11.102
>> >   libavresample   2.  1.  0 /  2.  1.  0
>> >   libswscale  3.  1.101 /  3.  1.101
>> >   libswresample   1.  1.100 /  1.  1.100
>> >   libpostproc53.  3.100 / 53.  3.100
>> > [caf @ 0x1b5a100] Estimating duration from bitrate, this may be
>> inaccurate
>> > Guessed Channel Layout for  Input Stream #0.0 : mono
>> > Input #0, caf, from '40c90a1b16acc9f88ee700d2d812af63..caf':
>> >   Duration: 00:00:18.62, start: 0.00, bitrate: 16 kb/s
>> > Stream #0:0: Audio: ilbc (ilbc / 0x63626C69), 8000 Hz, 1 channels,
>> > 15
>> > kb/s
>> > *No decoder for stream #0:0, filtering impossible*
>> > Error opening filters!
>> >
>> >
>> > --
>> > *Sometimes I get the below errors :*
>> >
>> >
>> > *[root@test]# ffmpeg -i 8387fe50349724b2d4a9ff9052b47355..caf test1.mp3*
>> >
>> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
>> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
>> >   configuration: --prefix=/usr --bindir=/usr/bin
>> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
>> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
>> > --optflags='-O2
>> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>> > -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
>> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls
>> > --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
>> > --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree
>> > --disable-indev=jack --enable-libfreetype --enable-libgsm
>> > --enable-libmp3lame --enable-openal --enable-libopenjpeg
>> > --enable-libopus
>> > --enable-libpulse --enable-libschroedinger --enable-libsoxr
>> > --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2
>> > --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab
>> > --enable-avfilter --enable-avresample --enable-postproc
>> > --enable-pthreads
>> > --disable-static --enable-shared --enable-gpl --disable-debug
>> > --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
>> >   libavutil  

Re: [FFmpeg-user] Converting CAF file

2019-01-14 Thread Hafez Adnan
Thank you  Dear, I upgrade the FFmpeg, but I getting sometimes the
following error:

ffmpeg -y -i 6090fd7f711c12ca0d0d975dd80e44b0..caf
6090fd7f711c12ca0d0d975dd80e44b0.mp3
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7 (GCC)
  configuration: --enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libilbc --enable-libass --enable-libfreetype
  libavutil  56. 22.100 / 56. 22.100
  libavcodec 58. 35.100 / 58. 35.100
  libavformat58. 20.100 / 58. 20.100
  libavdevice58.  5.100 / 58.  5.100
  libavfilter 7. 40.101 /  7. 40.101
  libswscale  5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
[caf @ 0x247e4c0] skipping CAF chunk: 3783EAA1 (7[131][234][161]), size
-1097267016323801658
6090fd7f711c12ca0d0d975dd80e44b0..caf: Invalid data found when processing
input

Any Ideas,

Thank you,
Hafez

On Sun, Jan 13, 2019 at 1:11 PM Paul B Mahol  wrote:

> On 1/13/19, Hafez Adnan  wrote:
> > Hi All,
> >
> > Kindly I need your support to convert the CAF file to MP3 format.
> >
> > I am using the following command, but I getting the following error:
> >
> > ffmpeg -i 40c90a1b16acc9f88ee700d2d812af63..caf test.caf
> >
> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
>
> Too old version.
>
>
> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
> >   configuration: --prefix=/usr --bindir=/usr/bin
> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> > -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls
> > --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
> > --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree
> > --disable-indev=jack --enable-libfreetype --enable-libgsm
> > --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus
> > --enable-libpulse --enable-libschroedinger --enable-libsoxr
> > --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2
> > --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab
> > --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads
> > --disable-static --enable-shared --enable-gpl --disable-debug
> > --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
> >   libavutil  54. 20.100 / 54. 20.100
> >   libavcodec 56. 26.100 / 56. 26.100
> >   libavformat56. 25.101 / 56. 25.101
> >   libavdevice56.  4.100 / 56.  4.100
> >   libavfilter 5. 11.102 /  5. 11.102
> >   libavresample   2.  1.  0 /  2.  1.  0
> >   libswscale  3.  1.101 /  3.  1.101
> >   libswresample   1.  1.100 /  1.  1.100
> >   libpostproc53.  3.100 / 53.  3.100
> > [caf @ 0x1b5a100] Estimating duration from bitrate, this may be
> inaccurate
> > Guessed Channel Layout for  Input Stream #0.0 : mono
> > Input #0, caf, from '40c90a1b16acc9f88ee700d2d812af63..caf':
> >   Duration: 00:00:18.62, start: 0.00, bitrate: 16 kb/s
> > Stream #0:0: Audio: ilbc (ilbc / 0x63626C69), 8000 Hz, 1 channels, 15
> > kb/s
> > *No decoder for stream #0:0, filtering impossible*
> > Error opening filters!
> >
> >
> > --
> > *Sometimes I get the below errors :*
> >
> >
> > *[root@test]# ffmpeg -i 8387fe50349724b2d4a9ff9052b47355..caf test1.mp3*
> >
> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
> >   configuration: --prefix=/usr --bindir=/usr/bin
> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> > -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls
> > --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
> > --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree
> > --disable-indev=jack --enable-libfreetype --enable-libgsm
> > --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus
> > --enable-libpulse --enable-libschroedinger --enable-libsoxr
> > --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2
> > --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab
> > --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads
> > --disable-static --enable-shared --enable-gpl --disable-debug
> > --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
> >   libavutil  54. 20.100 / 54. 20.100
> >   libavcodec 56. 26.100 / 56. 26.100
> >   libavformat56. 25.101 / 56. 25.101
> >   libavdevice56.  4.100 / 56.  4.100
> >   libavfilter 5. 11.102 /  5. 11.102
> >   libavresample   2.  1.  0 /  2.  1.  0
> >   

Re: [FFmpeg-user] Unable To Transcode 8 sources simultaneously Real Time In One Instance

2019-01-14 Thread Gabriel Balaich
I've decided to post this same question on Superuser in an attempt to get
more eyes on the issue:
https://superuser.com/questions/1394234/unable-to-transcode-8-sources-in-one-instance-real-time

If I receive any possible solutions from here or there I will update both
parties.

Any insight would be greatly appreciated.

>
___
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] overlaying a clut over a picture

2019-01-14 Thread Michael Koch

Am 14.01.2019 um 09:48 schrieb Paul B Mahol:

On 1/14/19, Michael Koch  wrote:

Am 14.01.2019 um 08:40 schrieb Michael Koch:

Am 14.01.2019 um 07:28 schrieb Michael Koch:

When I create a color-look-up-table with this command line, the
result is a 512x512 clut saved as 16-bit PNG. It works as expected
and I checked that the top left pixel is black (R=0, G=0, B=0) and
the bottom right pixel is white (R=65026, G=65026, B=65026).

c:\ffmpeg\ffmpeg -f lavfi -i haldclutsrc=8 -frames 1 -pix_fmt rgb48be
-y clut.png


In the next example I wanted to extract one frame from a video,
overlay the clut in the top left corner, and save it as 16-bit PNG. I
need 16-bit PNG because my video is 10-bit. At first glimpse the
result looks good, but a closer examination finds that the top left
pixel is not pure black, it's R=0, G=1285, B=0, and the bottom right
pixel of the clut (at coordinates 511,511) is not pure white, it's
R=65535, G=63736, B=65535. Why are the colors wrong?

c:\ffmpeg\ffmpeg -ss 5 -i P199.mov -f lavfi -i haldclutsrc=8
-filter_complex overlay -frames 1 -pix_fmt rgb48be -y
Image_with_CLUT.png

I found a solution myself:  overlay=format=rgb

But the output of the overlay filter seems to be RGB24. Is it possible
to get RGB48 out of the overlay filter? Or is there any other filter for
overlaying two RGB48 images?

Try maskedmerge filter with gbrp16 pixel format.


In the meantime a found this solution with the xstack filter:

c:\ffmpeg\ffmpeg -ss 5 -i P199.mov -f lavfi -i haldclutsrc=8 
-filter_complex 
"[1]format=pix_fmts=rgb48be[a];[a][0]xstack=inputs=2:layout=0_0|w0_0" 
-frames 1 -y Image_with_CLUT.png


It's not an overlay but a horizontal stack, but that doesn't care. It's 
only important that I have the clut and the picture combined in one 
16-bit picture, so that they can be processed simultaneously. By the way 
xstack is much better than hstack because it accepts pictures of 
different height. Problem solved!


Thanks,
Michael

___
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] overlaying a clut over a picture

2019-01-14 Thread Paul B Mahol
On 1/14/19, Michael Koch  wrote:
> Am 14.01.2019 um 08:40 schrieb Michael Koch:
>> Am 14.01.2019 um 07:28 schrieb Michael Koch:
>>> When I create a color-look-up-table with this command line, the
>>> result is a 512x512 clut saved as 16-bit PNG. It works as expected
>>> and I checked that the top left pixel is black (R=0, G=0, B=0) and
>>> the bottom right pixel is white (R=65026, G=65026, B=65026).
>>>
>>> c:\ffmpeg\ffmpeg -f lavfi -i haldclutsrc=8 -frames 1 -pix_fmt rgb48be
>>> -y clut.png
>>>
>>>
>>> In the next example I wanted to extract one frame from a video,
>>> overlay the clut in the top left corner, and save it as 16-bit PNG. I
>>> need 16-bit PNG because my video is 10-bit. At first glimpse the
>>> result looks good, but a closer examination finds that the top left
>>> pixel is not pure black, it's R=0, G=1285, B=0, and the bottom right
>>> pixel of the clut (at coordinates 511,511) is not pure white, it's
>>> R=65535, G=63736, B=65535. Why are the colors wrong?
>>>
>>> c:\ffmpeg\ffmpeg -ss 5 -i P199.mov -f lavfi -i haldclutsrc=8
>>> -filter_complex overlay -frames 1 -pix_fmt rgb48be -y
>>> Image_with_CLUT.png
>>
>> I found a solution myself:  overlay=format=rgb
>
> But the output of the overlay filter seems to be RGB24. Is it possible
> to get RGB48 out of the overlay filter? Or is there any other filter for
> overlaying two RGB48 images?

Try maskedmerge filter with gbrp16 pixel format.
___
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] problems consuming live single file hls

2019-01-14 Thread Daniel Oberhoff
 Since hls is a streaming format i would actually expect this to work.
>>> It does work for "multi file" which is what hls is meant to be.
>> Byte-range is part of the standard (see
>> https://tools.ietf.org/html/draft-pantos-http-live-streaming-08#section-3.4.1),
>> so single file is as much "meant to be" as multi-file afaict.
> But the playlist does not change or does it?

Ah, I think now I understand where we missed each other: Yes it does!
That is one of the central points in HLS: Video is produced in segments
(either in separate files or by appending to one file, but in either
case playable individually). After a segment is produced it is
"published" via the playlist by appending some lines to it. To do this
atomic the file is usually copied, appended to, and then "swapped" back
in via rename.

The single file hls implementation in ffmpeg somehow fails to properly
order these things, i.e. segments become visible in the playlist before
they are fully written, breaking the standard hls consumer pattern.

>
>>> If you use single file, I don't see how the behaviour can be
>>> different, you can reproduce it using mpegts on your local
>>> file system.
>> What do you mean? The desire is for new entries in the playlist to
>> become visible only after the data is visible to open/read. You are
>> saying this is impossible? I cant imagine that to be honest. Would you
>> accept a patch if i can get this to work?
> Patches are always preferred over bug reports (but bug reports
> are very welcome), and there is no doubt that I may completely
> misunderstand the issue.

I think to some extent that happened (see above where i try to
reconcile), but that my be entirely my fault. I will see what I can do.


Best


Daniel Oberhoff



pEpkey.asc
Description: application/pgp-keys
___
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".