[FFmpeg-user] missing a selected frame

2019-07-18 Thread Ulf Zibis
Hi, my command is: ./ffmpeg -y -v warning -i debug/CYD_1.5m_x264.mp4 -vf select='eq(t\,10.16)+eq(t\,10.2)+eq(t\,10.24)+eq(t\,10.28)+eq(t\,10.32)+eq(t\,10.36)+eq(t\,10.4)+eq(t\,10.44)+eq(t\,17.52)+eq(t\,47.96)+eq(t\,49.08)+eq(t\,49.2)+eq(t\,55.72)+eq(t\,83.0)' -q 5 -c:a copy -vsync vfr

Re: [FFmpeg-user] best way to transform SD to HD w/ pillarbox and yadif

2019-07-18 Thread Kieran O Leary
On Thu, 18 Jul 2019, 21:25 William Caulfield, < william.caulfi...@contentbridge.tv> wrote: > I hope I'm getting your intention right here. I had to do this a while back > for some PAL files. Split the fields, scale, pad, then interlace. > > -filter_complex >

Re: [FFmpeg-user] best way to transform SD to HD w/ pillarbox and yadif

2019-07-18 Thread William Caulfield
I hope I'm getting your intention right here. I had to do this a while back for some PAL files. Split the fields, scale, pad, then interlace. -filter_complex "yadif=1:0,scale=1440:1080,pad=1920:1080:240:0:black,interlace,setdar=16/9" I think old-timers called this Bob & Weave(?) On Thu, Jul 18,

Re: [FFmpeg-user] best way to transform SD to HD w/ pillarbox and yadif

2019-07-18 Thread Marton Balint
On Thu, 18 Jul 2019, Benjamin Turkus via ffmpeg-user wrote: Hi All, I was hoping for some advice regarding the best way to sequence video filters when transcoding SD video to HD, de-interlacing, scaling, padding (pillar-box), etc. I know the order of filters is critical, but I haven't been

Re: [FFmpeg-user] best way to transform SD to HD w/ pillarbox and yadif

2019-07-18 Thread Ted Park
> I was hoping for some advice regarding the best way to sequence video > filters when transcoding SD video to HD, de-interlacing, scaling, padding > (pillar-box), etc. Is a pillar-box recommended when transcoding to HD? I thought they were generally discouraged or am I mistaken?

[FFmpeg-user] best way to transform SD to HD w/ pillarbox and yadif

2019-07-18 Thread Benjamin Turkus via ffmpeg-user
Hi All, I was hoping for some advice regarding the best way to sequence video filters when transcoding SD video to HD, de-interlacing, scaling, padding (pillar-box), etc. I know the order of filters is critical, but I haven't been able to determine if one way of doing this is better than another.

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-18 Thread Griffin Smith
Gyan writes: If a framerate value has been set then -vf setpts=N/FR/TB It worked!!! Thank you so much for your help, this is awesome. I'm building an application that splits user-supplied videos into frames - what would I look for / did you look for in ffprobe output that indicated

Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Moritz Barsnick
On Thu, Jul 18, 2019 at 15:23:32 +0200, Robert Keir wrote: > I need to convert with the following settings: > > Bitrate of 19.1kbps > 1 channel > Sample rate of 16.0khz > > How would that look in: > > ffmpeg -i audio.mp3 -c:a libopus newfilename.ogg The bitrate probably doesn't matter to the

Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Reino Wijnsma
First of all (again), stop top-posting here! On 18-7-2019 15:36, Robert Keir wrote: > I'm trying to convert an mp3 file to ogg file to send through to a WhatApp > contact through their API. The Whatsapp API only accepts " audio ogg-file in > opus codec". So if I understand correctly, you're

Re: [FFmpeg-user] Problem with signbit()

2019-07-18 Thread Nicolas George
Ulf Zibis (12019-07-18): > I'm developing a video filter. And it depends on fine details of the sign of 0? That seems suspicious, design-wise. > Is it possible to compile and build a filter separate off FFmpeg and > link it with the command line application to use it? No, filters need access to

Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Ted Park
> I'm trying to convert an mp3 file to ogg file to send through to a WhatApp > contact through their API. The Whatsapp API only accepts " audio ogg-file in > opus codec". I convert it using > > ffmpeg -i audio.mp3 -c:a libopus newfilename.ogg > > newfilename.ogg does not play in whatsapp when

Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Robert Keir
Thank you. I'm trying to convert an mp3 file to ogg file to send through to a WhatApp contact through their API. The Whatsapp API only accepts " audio ogg-file in opus codec". I convert it using ffmpeg -i audio.mp3 -c:a libopus newfilename.ogg newfilename.ogg does not play in whatsapp when I

Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Ted Park
> Thank you. I'm new and still learning. :-) That’s good, but in that spirit, you should look up what top-posting is and avoid doing it in this mailing list. > I need to convert with the following settings: > > Bitrate of 19.1kbps > 1 channel > Sample rate of 16.0khz That would look like

Re: [FFmpeg-user] Problem with signbit()

2019-07-18 Thread Ulf Zibis
Am 18.07.19 um 09:24 schrieb Moritz Barsnick: > On Thu, Jul 18, 2019 at 01:41:02 +0200, Ulf Zibis wrote: >> Given this code snippet: >>     float a = 0.0F; >>     float b = -0.0F; >>     printf("a: %f, signbit(a): %d\n", a, signbit(a)); >>     printf("b: %f, signbit(b): %d\n", b, signbit(b)); >>

Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Robert Keir
Thank you. I'm new and still learning. :-) I need to convert with the following settings: Bitrate of 19.1kbps 1 channel Sample rate of 16.0khz How would that look in: ffmpeg -i audio.mp3 -c:a libopus newfilename.ogg Is the Writing library " Lavf58.28.102" the same as "WhatsApp"? Thanks for

Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Ted Park
> Except for the dash you forgot ( -c:a libopus) this is indeed a very basic > conversion to opus. Good catch, it probably tried to write a file named “c:a” and asked for an explicit format ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Ted Park
> I get this error in windows when converting mp3 to ogg (opus codec) Ah, i was a bit too late, but yes, take Reino’s advice and you should be all set… but, > Whatsapp is only accepting opus contained in ogg. I highly doubt this??? WhatsApp sends any file it doesn't care iirc. Unless you want

Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Nicolas George
Robert Keir (12019-07-18): > I get this error in windows when converting mp3 to ogg (opus codec) 1. Do not make screenshots of text, copy-paste the text itself. 2. Re-read this bit in the mail you answered: >> Except for the dash you forgot ( -c:a libopus) 3. Do not top-post here. If you do

Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Reino Wijnsma
On 18-7-2019 14:37, Robert Keir wrote: > I need to convert an MP3 to OGG (opus codec). I need to execute this (below) > in PHP. > > ffmpeg -i filename.mp3 c:a libopus newfilename.ogg > > Is this correct? Except for the dash you forgot ( -c:a libopus) this is indeed a very basic conversion to

Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Ted Park
> ffmpeg -i filename.mp3 c:a libopus newfilename.ogg Seems fine to me, you might want to add some encoding options and obviously wrap it in a shell exec function or backticks(?) to do it in PHP. Sorry I’m not up to speed on PHP, but that notwithstanding you didn’t even mention which version of

[FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

2019-07-18 Thread Robert Keir
Hi There, I need to convert an MP3 to OGG (opus codec). I need to execute this (below) in PHP. ffmpeg -i filename.mp3 c:a libopus newfilename.ogg Is this correct? Can you please let me know. Thanks, Rob ___ ffmpeg-user mailing

Re: [FFmpeg-user] Problem with signbit()

2019-07-18 Thread Moritz Barsnick
On Thu, Jul 18, 2019 at 01:41:02 +0200, Ulf Zibis wrote: > Given this code snippet: >     float a = 0.0F; >     float b = -0.0F; >     printf("a: %f, signbit(a): %d\n", a, signbit(a)); >     printf("b: %f, signbit(b): %d\n", b, signbit(b)); > Result: >     a: 0.00, signbit(a): 0 >     b: