Re: [FFmpeg-user] 360 degree VR video streaming support in ffmpeg+HLS

2020-06-27 Thread Tom Sparks
what is the viewing software you are using?
eg: krpano / video.js

On 27/06/2020, Rama Krishna Thelagathoti  wrote:
> could someone help me with this?
>
> On Thu, Jun 25, 2020 at 11:51 PM Rama Krishna Thelagathoti <
> mrk.ramakris...@gmail.com> wrote:
>
>> Hello ffmpeg team
>> Does ffmpeg support 360 degree VR video streaming through HLS/DASH?
>> I could see its being supported in libx264 under unofficial/experimental ,
>> but I do not see this support in HLS.
>>
>> when transcoding to HLS, looks like ffmpeg drops spatial metadata. please
>> confirm.
>>
>> --
>> Best Regards
>> *Rama krishna Thelagathoti*
>>
>
>
> --
> Best Regards
> *Rama krishna Thelagathoti*
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] 360 degree VR video streaming support in ffmpeg+HLS

2020-06-27 Thread Rama Krishna Thelagathoti
I am using VLC.

On Sat, Jun 27, 2020 at 2:47 AM Tom Sparks  wrote:

> what is the viewing software you are using?
> eg: krpano / video.js
>
> On 27/06/2020, Rama Krishna Thelagathoti 
> wrote:
> > could someone help me with this?
> >
> > On Thu, Jun 25, 2020 at 11:51 PM Rama Krishna Thelagathoti <
> > mrk.ramakris...@gmail.com> wrote:
> >
> >> Hello ffmpeg team
> >> Does ffmpeg support 360 degree VR video streaming through HLS/DASH?
> >> I could see its being supported in libx264 under
> unofficial/experimental ,
> >> but I do not see this support in HLS.
> >>
> >> when transcoding to HLS, looks like ffmpeg drops spatial metadata.
> please
> >> confirm.
> >>
> >> --
> >> Best Regards
> >> *Rama krishna Thelagathoti*
> >>
> >
> >
> > --
> > Best Regards
> > *Rama krishna Thelagathoti*
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

-- 
Best Regards
*Rama krishna Thelagathoti*
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] 360 degree VR video streaming support in ffmpeg+HLS

2020-06-27 Thread Tom Sparks
On 27/06/2020, Rama Krishna Thelagathoti  wrote:
> I am using VLC.

it looks like no, ffmpeg cant add spatial media metadata

if you were using a web based viewer (krpano/video.js) you would not
need to add the spatial media metadata to the video file.


>
> On Sat, Jun 27, 2020 at 2:47 AM Tom Sparks  wrote:
>
>> what is the viewing software you are using?
>> eg: krpano / video.js
>>
>> On 27/06/2020, Rama Krishna Thelagathoti 
>> wrote:
>> > could someone help me with this?
>> >
>> > On Thu, Jun 25, 2020 at 11:51 PM Rama Krishna Thelagathoti <
>> > mrk.ramakris...@gmail.com> wrote:
>> >
>> >> Hello ffmpeg team
>> >> Does ffmpeg support 360 degree VR video streaming through HLS/DASH?
>> >> I could see its being supported in libx264 under
>> unofficial/experimental ,
>> >> but I do not see this support in HLS.
>> >>
>> >> when transcoding to HLS, looks like ffmpeg drops spatial metadata.
>> please
>> >> confirm.
>> >>
>> >> --
>> >> Best Regards
>> >> *Rama krishna Thelagathoti*
>> >>
>> >
>> >
>> > --
>> > Best Regards
>> > *Rama krishna Thelagathoti*
>> > ___
>> > ffmpeg-user mailing list
>> > ffmpeg-user@ffmpeg.org
>> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> >
>> > To unsubscribe, visit link above, or email
>> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
> --
> Best Regards
> *Rama krishna Thelagathoti*
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Streaming quality

2020-06-27 Thread Carl Eugen Hoyos


> Am 27.06.2020 um 05:26 schrieb Simon Roberts :
> 
> ffmpeg -i  -f mpegts tcp://192.168.1.109:2000

Either specify a constant quantiser with “-qscale 10 -mbd 2” or a constant 
bitrate with “-b:v 1000k” or use “-vcodec libx264” for an encoder with a better 
default or “-vcodec copy” to avoid re-encoding.

Carl Eugen 
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Frequency response of an ffmpeg equalizer filter

2020-06-27 Thread Paul B Mahol
On 6/26/20, Nicolas VAMBAIRGUE  wrote:
>
> Le 26/06/2020 à 18:15, Paul B Mahol a écrit :
>> On 6/26/20, Nicolas VAMBAIRGUE  wrote:
>>> Hello,
>>>
>>>
>>> I'm starting to use the ffmpeg filters, using the documentation. It
>>> seems working but, I don't find the way to get the frequency response of
>>> a filter. For example, let's say I'm applying this filter :
>>>
>>> equalizer=f=7000:t=q:w=2:g=2,equalizer=f=1000:t=q:w=1:g=3,equalizer=f=80:t=q:w=2:g=-30
>>>
>>> in the following command :
>>>
>>> ffmpeg -re -i /home/dr_click/live.wav -acodec pcm_s16be -ar 44100 -ac 2
>>> -f rtp -af
>>> "equalizer=f=7000:t=q:w=2:g=2,equalizer=f=1000:t=q:w=1:g=3,equalizer=f=80:t=q:w=2:g=-30"
>>> rtp://127.0.0.1:1234
>>>
>>> It works, I'm hearing a distorted sound. And what I'd like to know, with
>>> such a filter, is the db gain for the 2000 Hz signal or for the 150Hz
>>> signal or any other frequency with a query like : give me your frequency
>>> and I'll tell you which gain is applied at this frequency with the
>>> defined filter.
>> Yes, with anequalizer filter.
>
>  => Ok, so let's say I'm using this command with an anequaliwer
>
>  =>_ffmpeg -re -i /home/dr_click/live.wav -af "anequalizer=c0
> f=200 w=100 g=-10 t=0|c1 f=200 w=100 g=-10 t=0 curves=true" -acodec
> pcm_s16be -ar 44100 -ac 2 -f rtp rtp://127.0.0.1:1234
>
>  => How do I get the frequency graph of such a filter ? Is it
> mandatory to get a video stream (and how to get / display it) ? Can't I
> get command with the frequency as input and the gain as output ? Of
> course, such a command would means I need to query the db output for
> each interesting frequency.

No, only way currently is inspecting graphical output of filter.

>
>>
>>>
>>> Thank you for your help,
>>>
>>>
>>> Nicolas
>>>
>>> ___
>>> ffmpeg-user mailing list
>>> ffmpeg-user@ffmpeg.org
>>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>>
>>> To unsubscribe, visit link above, or email
>>> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] 360 degree VR video streaming support in ffmpeg+HLS

2020-06-27 Thread Rama Krishna Thelagathoti
Ok thank you for your response, I will check and get back.

On Sat, Jun 27, 2020 at 3:16 AM Tom Sparks  wrote:

> On 27/06/2020, Rama Krishna Thelagathoti 
> wrote:
> > I am using VLC.
>
> it looks like no, ffmpeg cant add spatial media metadata
>
> if you were using a web based viewer (krpano/video.js) you would not
> need to add the spatial media metadata to the video file.
>
>
> >
> > On Sat, Jun 27, 2020 at 2:47 AM Tom Sparks 
> wrote:
> >
> >> what is the viewing software you are using?
> >> eg: krpano / video.js
> >>
> >> On 27/06/2020, Rama Krishna Thelagathoti 
> >> wrote:
> >> > could someone help me with this?
> >> >
> >> > On Thu, Jun 25, 2020 at 11:51 PM Rama Krishna Thelagathoti <
> >> > mrk.ramakris...@gmail.com> wrote:
> >> >
> >> >> Hello ffmpeg team
> >> >> Does ffmpeg support 360 degree VR video streaming through HLS/DASH?
> >> >> I could see its being supported in libx264 under
> >> unofficial/experimental ,
> >> >> but I do not see this support in HLS.
> >> >>
> >> >> when transcoding to HLS, looks like ffmpeg drops spatial metadata.
> >> please
> >> >> confirm.
> >> >>
> >> >> --
> >> >> Best Regards
> >> >> *Rama krishna Thelagathoti*
> >> >>
> >> >
> >> >
> >> > --
> >> > Best Regards
> >> > *Rama krishna Thelagathoti*
> >> > ___
> >> > ffmpeg-user mailing list
> >> > ffmpeg-user@ffmpeg.org
> >> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >> >
> >> > To unsubscribe, visit link above, or email
> >> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >> ___
> >> ffmpeg-user mailing list
> >> ffmpeg-user@ffmpeg.org
> >> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >>
> >> To unsubscribe, visit link above, or email
> >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >
> > --
> > Best Regards
> > *Rama krishna Thelagathoti*
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

-- 
Best Regards
*Rama krishna Thelagathoti*
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] newbie help - framerate

2020-06-27 Thread Carl Eugen Hoyos
Am Sa., 27. Juni 2020 um 03:58 Uhr schrieb Mark Foley :
>
> On Sat, 27 Jun 2020 01:48:53 +0200 Carl Eugen Hoyos  
> wrote:
> >
> > > Am 27.06.2020 um 00:14 schrieb Mark Foley :
> > >
> > > I am trying for the first time to use ffmpeg. I have a collection of .jpg 
> > > files
> > > starting at 000.jpg, numbered sequentially.
> > >
> > > On Windows 10 I've tried:
> > >
> > > ffmpeg.exe -start_number 000 -i %03d.jpg -r 1/6 mom.mp4
> > >
> > > This works (images displayed for 10 seconds), but only shows 3 of the 300+
> > > images. If I leave off the -r option it builds the .mp4 with all images, 
> > > but
> > > they flash by as fast as possible.
> > >
> > > How do I get all images to show for 10 seconds?
> >
> > Funny that the option name “-framerate” is part of your subject.
>
> Like I said, "newbie". I tried -framerate, but nothing happened.

(Command line and complete, uncut console output missing.)
ffmpeg -framerate 1/6 -i %03d.jpg -r 10 mom.mp4
(-r 10 is not strictly necessary but for example old vlc does not play
files with very low framerates.)

> > > The source .jpg images all vary in HxW size. How do I get them all to 
> > > display
> > > with the same height regardless of width?
> >
> > I believe you can only output one resolution but a shell script will help.
>
> How would a shell script help?

I slightly misunderstood the issue, the script would help if you wanted
jpg's with the same height as output.

Something similar to:
ffmpeg -framerate 1/6 -i %03d.jpg -vf scale=-1:512 -r 10 mom.mp4

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] ffmpeg-user@ffmpeg.org

2020-06-27 Thread stoica ionut via ffmpeg-user

Hi,

I am trying to avoid downloading entire file when generating a thumbnail at 
certain time

ffmpeg -v debug fflags fastseek+igndts -y -http_proxy http://localhost: -i 
http://devimages.apple.com/iphone/samples/bipbop/gear1/fileSequence3.ts -ss 0 
-vframes 1 -async 1 -vcodec png -an thumb.png
I want to make a server side service that creates thumbnails, but I want the 
server to avoid downloading anything than minimum required, even if the ts file 
is 263 kb, I want to avoid downloading it completely.Apparently this person had 
success Extracting Thumbnails Faster with FFmpeg - Wistia EngineeringBut I am 
unable, ffmpeg still downloads the entire file.

From what I see, ffmpeg is issuing 3 requests here

1. Content range 0 to end



2. Content range 13012 to 263011




3. Content range 0 to 263011






I don't understand why they are 3 and what is going on. Can this be optimized 
somehow ?



___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Encoding Warnings

2020-06-27 Thread Carl Eugen Hoyos
Am Fr., 26. Juni 2020 um 21:56 Uhr schrieb Ruler2112 :

> Step 3: Standardize Volume
> Not performed by ffmpeg

I am curious: Why?

[...]

> The two lines that are concerning to me are:
>
>  'Guessed Channel Layout for Input Stream #1.0 : stereo'
>
> Of course it's stereo - I jump dumped it to a 2-channel wave in the step 2!
> :)

>  I'm guessing that I can safely ignore this one

Obviously.
(The wav standard does not require writing the channel layout for some
mono and stereo files and we don't do it to maintain compatibility with
ancient software that fails if the information is present.)

> 'Timestamps are unset in a packet for stream 0. This is deprecated and
> will stop working in the future. Fix your code to set the timestamps
> properly'

This warning is not meant for you and you cannot fix it.

For future questions: Please understand that posting excerpts of the
console output is not acceptable, always post the command line(s)
together with the complete, uncut console output.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Encoding Warnings

2020-06-27 Thread PaulYurt

> On Jun 26, 2020, at 3:56 PM, Ruler2112  wrote:
> 

Guessed Channel Layout for Input Stream #1.0 : stereo

Try:  -guess_layout_max 0 
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Streaming quality

2020-06-27 Thread Simon Roberts
On Sat, Jun 27, 2020 at 1:46 AM Carl Eugen Hoyos  wrote:

> > Am 27.06.2020 um 05:26 schrieb Simon Roberts <
> si...@dancingcloudservices.com>:
> >
> > ffmpeg -i  -f mpegts tcp://192.168.1.109:2000
>
> Either specify a constant quantiser with “-qscale 10 -mbd 2” or a constant
> bitrate with “-b:v 1000k” or use “-vcodec libx264” for an encoder with a
> better default or “-vcodec copy” to avoid re-encoding.
>
>
Many thanks Carl that fixed it.

I guess the inference that I had missed is that there's some kind of
default encoding going on here--it's not just a network pipe. Is that a
general case for ffmpeg, or is it specific to streaming, or perhaps this
streaming mode? (and, far less important since I doubt I'll ever want to
use it, is the encoding predictable, or does it vary by build?)

Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".



-- 
Simon Roberts
(303) 249 3613
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Streaming quality

2020-06-27 Thread Carl Eugen Hoyos
Am Sa., 27. Juni 2020 um 17:08 Uhr schrieb Simon Roberts
:
>
> On Sat, Jun 27, 2020 at 1:46 AM Carl Eugen Hoyos  wrote:
>
> > > Am 27.06.2020 um 05:26 schrieb Simon Roberts <
> > si...@dancingcloudservices.com>:
> > >
> > > ffmpeg -i  -f mpegts tcp://192.168.1.109:2000
> >
> > Either specify a constant quantiser with “-qscale 10 -mbd 2” or a constant
> > bitrate with “-b:v 1000k” or use “-vcodec libx264” for an encoder with a
> > better default or “-vcodec copy” to avoid re-encoding.
> >
> >
> Many thanks Carl that fixed it.
>
> I guess the inference that I had missed is that there's some kind of
> default encoding going on here--it's not just a network pipe.

Yes, this would make no sense.

> Is that a general case for ffmpeg, or is it specific to streaming

Every format has a default encoder...

> or perhaps this streaming mode?

> (and, far less important since I doubt I'll ever want to
> use it, is the encoding predictable, or does it vary by build?)

... which in some cases depends on compilation options.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] "Four up" output?

2020-06-27 Thread Simon Roberts
I'm now able to take four input streams from my Blackmagic quad input card
and successfully map them into a single compressed output file. What I'd
like to do next is to "tee-off" a monitoring stream (literally for live
viewing). There are two features I'd like for this:

1) create a composite output that has all four of the inputs laid out one
per quadrant, so all can be seen on a single display

2) preferably simply send this output (in real time, probably obviously) to
a window on the host computer, which I can then position and resize like
any other window onto an actual display of my choosing.

Is this possible? And if it is, what docs will I need to read to understand
how to start on something like this?

Of course if anyone has a ready-to-hand command line that does this (I have
four streams that I use -map to send to the same output file), I won't turn
it down :)

Many thanks!
Simon
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] "Four up" output?

2020-06-27 Thread Carl Zwanzig

On 6/27/2020 8:53 AM, Simon Roberts wrote:

1) create a composite output that has all four of the inputs laid out one
per quadrant, so all can be seen on a single display


Google "ffmpeg multiviewer", you'll find a handful of ideas, including this-
https://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out%20of%20several%20input%20videos

That should get you started.

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] "Four up" output?

2020-06-27 Thread Simon Roberts
On Sat, Jun 27, 2020 at 10:02 AM Carl Zwanzig  wrote:

> On 6/27/2020 8:53 AM, Simon Roberts wrote:
> > 1) create a composite output that has all four of the inputs laid out one
> > per quadrant, so all can be seen on a single display
>
> Google "ffmpeg multiviewer", you'll find a handful of ideas, including
> this-
>
> https://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out%20of%20several%20input%20videos
>
>
Oh, that looks perfect in every respect. The example seems to be exactly
what I wanted, and an explanation to help me help myself later if I need to
fiddle.

Many thanks Carl!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".