Re: [FFmpeg-user] FFmpeg DASH Optional Adaptation Set

2021-07-15 Thread Carl Zwanzig

On 7/15/2021 7:58 AM, Mar Andrés López wrote:

The version I am using is 4.3.1


Please test with the most recent ffmpeg available (see 
https://ffmpeg.org/download.html); whatever you're trying -might- have been 
changed/fixed.


Always post the full command output, that gives the readers a lot of useful 
info about what's going on, and do not top-post on this mailing list (see 
https://ffmpeg.org/mailing-list-faq.html),


Later,

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] FFmpeg DASH Optional Adaptation Set

2021-07-15 Thread Mar Andrés López
The version I am using is 4.3.1


De: ffmpeg-user  en nombre de Dennis Mungai 

Enviado: jueves, 15 de julio de 2021 16:30:21
Para: FFmpeg user questions
Asunto: Re: [FFmpeg-user] FFmpeg DASH Optional Adaptation Set

On Thu, 15 Jul 2021 at 16:52, Mar Andrés López  wrote:

> Dear All,
>
>
> I am using the following FFmpeg command for dash generation,
>
>
> ffmpeg -i video.mpeg -preset superfast -r 30 -vcodec libx264 -acodec aac
> -b:a 128k -ac 1 -ar 44100 -map v:0 -b:v:0 150 -s:v:0 768x432 -map v:0
> -b:v:1 75 -s:v:1 640x360 -map v:0 -b:v:2 50 -s:v:2 512x288 -map
> 0:a? -f dash -adaptation_sets "id=0,streams=v id=1,streams=a"
> -utc_timing_url manifest-mpd.
>
>
> Currently the manifest is creating an empty adaptation set for videos
> which do not contain audio:
>
>
>  segmentAlignment="true" bitstreamSwitching="true">
>
>
> I thougth that by using -map 0:a? i would make it optional but it is not
> the case. As you see above the adaptation set is still created.
>
>
>
What version of FFmpeg are you using?

>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://urldefense.com/v3/__https://ffmpeg.org/mailman/listinfo/ffmpeg-user__;!!MvyJQugb!RiVnkQ3dtufpj3btxYFvpM6ou83UkFmuhx1_Sf1pyk_aXYOOUSp5WQwOJjOe3Rk$

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

P Please consider the environment before printing this e-mail.
___
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] FFmpeg DASH Optional Adaptation Set

2021-07-15 Thread Dennis Mungai
On Thu, 15 Jul 2021 at 16:52, Mar Andrés López  wrote:

> Dear All,
>
>
> I am using the following FFmpeg command for dash generation,
>
>
> ffmpeg -i video.mpeg -preset superfast -r 30 -vcodec libx264 -acodec aac
> -b:a 128k -ac 1 -ar 44100 -map v:0 -b:v:0 150 -s:v:0 768x432 -map v:0
> -b:v:1 75 -s:v:1 640x360 -map v:0 -b:v:2 50 -s:v:2 512x288 -map
> 0:a? -f dash -adaptation_sets "id=0,streams=v id=1,streams=a"
> -utc_timing_url manifest-mpd.
>
>
> Currently the manifest is creating an empty adaptation set for videos
> which do not contain audio:
>
>
>  segmentAlignment="true" bitstreamSwitching="true">
>
>
> I thougth that by using -map 0:a? i would make it optional but it is not
> the case. As you see above the adaptation set is still created.
>
>
>
What version of FFmpeg are you using?

>
>
___
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] FFmpeg DASH Optional Adaptation Set

2021-07-15 Thread Mar Andrés López
Then, is possible to make an audio adaptation set optional?


De: Mar Andrés López
Enviado: jueves, 15 de julio de 2021 15:51:49
Para: ffmpeg-user@ffmpeg.org
Asunto: FFmpeg DASH Optional Adaptation Set


Dear All,


I am using the following FFmpeg command for dash generation,


ffmpeg -i video.mpeg -preset superfast -r 30 -vcodec libx264 -acodec aac -b:a 
128k -ac 1 -ar 44100 -map v:0 -b:v:0 150 -s:v:0 768x432 -map v:0 -b:v:1 
75 -s:v:1 640x360 -map v:0 -b:v:2 50 -s:v:2 512x288 -map 0:a? -f dash 
-adaptation_sets "id=0,streams=v id=1,streams=a" -utc_timing_url manifest-mpd.


Currently the manifest is creating an empty adaptation set for videos which do 
not contain audio:





I thougth that by using -map 0:a? i would make it optional but it is not the 
case. As you see above the adaptation set is still created.


A lot of thanks,


Best regards.

P Please consider the environment before printing this e-mail.
___
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 DASH Optional Adaptation Set

2021-07-15 Thread Mar Andrés López
Dear All,


I am using the following FFmpeg command for dash generation,


ffmpeg -i video.mpeg -preset superfast -r 30 -vcodec libx264 -acodec aac -b:a 
128k -ac 1 -ar 44100 -map v:0 -b:v:0 150 -s:v:0 768x432 -map v:0 -b:v:1 
75 -s:v:1 640x360 -map v:0 -b:v:2 50 -s:v:2 512x288 -map 0:a? -f dash 
-adaptation_sets "id=0,streams=v id=1,streams=a" -utc_timing_url manifest-mpd.


Currently the manifest is creating an empty adaptation set for videos which do 
not contain audio:





I thougth that by using -map 0:a? i would make it optional but it is not the 
case. As you see above the adaptation set is still created.


A lot of thanks,


Best regards.

P Please consider the environment before printing this e-mail.
___
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] Modify i frame placement in videos

2021-07-15 Thread Nicolas George
Jaeho Bang (12021-07-15):
> I want to 'convert' originally chosen I frames to P frames because the
> newly encoded video will be bloated in size if I end up keeping the
> original set of I frames along with my new set of I frames. By the I->P
> conversion there is the possibility that the newly encoded video
> has smaller overall size.

You are engaging in premature optimization. Just let the codec choose,
it knows best, and "convert" the I-frame by understanding there is
nothing to do.

Then, if you have performance or size issues, come back.

> On Thu, Jul 15, 2021 at 12:02 AM Nicolas George  wrote:

... but learn what top-posting means, because it is forbidden here and
you will not get useful help if you do it again.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature
___
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] Modify i frame placement in videos

2021-07-15 Thread Jaeho Bang
> I was wondering if there is a way in ffmpeg to convert I frames to P
frames. Why?

I work in the space of video analytics and basically I want to replace I
frames generated by the traditional encoder with frames my analytics engine
considers 'important'. These frames will be the primary focus in analyzing
the videos onward and as we all know decoding I frames is much faster
compared to decoding P frames.
I want to 'convert' originally chosen I frames to P frames because the
newly encoded video will be bloated in size if I end up keeping the
original set of I frames along with my new set of I frames. By the I->P
conversion there is the possibility that the newly encoded video
has smaller overall size.

Thanks,
Jaeho

On Thu, Jul 15, 2021 at 12:02 AM Nicolas George  wrote:

> Jaeho Bang (12021-07-14):
> > I was wondering if there is a way in ffmpeg to convert I frames to P
> frames.
>
> Why?
>
> > I would like to convert the I frame at 200 to a P frame, so as a result
> we
> > have 4 I frames.
>
> Why?
>
> While it makes sense to want an I-frame instead of a P-frame, because
> there are things you can do with an I-frame that you cannot with a
> P-frame, the symmetric does not apply: an I-frame is functionally a
> P-frame, just one that only has new blocks.
>
> So, before you ask how to do it, you need to explain, possibly to
> yourself, why you think you need to do it.
>
> Odds are you will realize your exact need is somewhat different.
>
> Regards,
>
> --
>   Nicolas George
> ___
> 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".
>


-- 
*Jaeho Bang*
*PhD Student in Computer Science*
Georgia Institute of Technology
North Ave NW, Atlanta, GA 30332, USA
___
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".