Re: [FFmpeg-user] FFmpeg build

2021-10-05 Thread Jim DeLaHunt

On 2021-10-05 15:21, jackblev...@mchsi.com wrote:

I noticed on the FATE page that an x64 build for windows 10 was successful.
Where can I get the source file to build it myself?


Jack:

Start at . There are 
instructions on cloning the source code repo via git.


___
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 build

2021-10-05 Thread jackblevins
I noticed on the FATE page that an x64 build for windows 10 was successful.
Where can I get the source file to build it myself?

Jack

___
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] Regarding video compression

2021-10-05 Thread Michael Koch

Am 05.10.2021 um 12:55 schrieb Shailesh kumar Dangi via ffmpeg-user:

Please find an attachment as a command with the console.



ffmpeg version 2.8.17-0ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers

  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609


Your FFmpeg version is much too old. You should update it.

Michael

___
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] Regarding video compression

2021-10-05 Thread Shailesh kumar Dangi via ffmpeg-user
Please find an attachment as a command with the console.

On Tue, Oct 5, 2021 at 4:19 PM Michael Koch 
wrote:

> Am 05.10.2021 um 12:39 schrieb Shailesh kumar Dangi via ffmpeg-user:
> > Hi,
> >
> > When I use to stop rotation.  -noautorotate. it is working fine in my
> local
> > system, But when I upload the code on the Linux server after compression
> > video itself gets to rotate.
> >
> > Original Video-
> > https://maventus-us-east.s3.amazonaws.com/videos/6155981eac83d208.mp4
> >
> > Compressed Video -
> > https://maventus-us-east.s3.amazonaws.com/videos/615c22997dd6a208.mp4
> >
> > I don't want to be rotated after compression and it should look the same
> as
> > the original one.
>
> You should always show the command line and the console output when
> asking here.
>
> Michael
>
> ___
> 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 -y -noautorotate -i 
/var/www/laravel_5_8/public/video/6155981eac83d208.mov -b:v 4.5M -map_metadata 
0:s:0 -c:v libx264 -preset superfast -tune film -ac 2 -c:a aac -maxrate 4M 
-bufsize 3M -strict -2 -f mp4 test1.mp4 2<&1



ffmpeg version 2.8.17-0ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 
--build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu 
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl 
--enable-shared --disable-stripping --disable-decoder=libopenjpeg 
--disable-decoder=libschroedinger --enable-avresample --enable-avisynth 
--enable-gnutls --enable-ladspa --enable-libass --enable-libbluray 
--enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite 
--enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme 
--enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg 
--enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger 
--enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex 
--enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis 
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 
--enable-libxvid --enable-libzvbi --enable-openal --enable-opengl 
--enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq 
--enable-frei0r --enable-libx264 --enable-libopencv
  libavutil  54. 31.100 / 54. 31.100
  libavcodec 56. 60.100 / 56. 60.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'/var/www/laravel_5_8/public/video/6155981eac83d208.mov':
  Metadata:
major_brand : qt  
minor_version   : 0
compatible_brands: qt  
creation_time   : 2021-09-28 05:35:49
  Duration: 00:00:11.17, start: 0.00, bitrate: 15137 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, 
fltp, 85 kb/s (default)
Metadata:
  creation_time   : 2021-09-28 05:35:49
  handler_name: Core Media Data Handler
Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, 
bt709), 1920x1080, 15008 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
Metadata:
  rotate  : 90
  creation_time   : 2021-09-28 05:35:49
  handler_name: Core Media Data Handler
  encoder : H.264
Side data:
  displaymatrix: rotation of -90.00 degrees
Stream #0:2(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
Metadata:
  creation_time   : 2021-09-28 05:35:49
  handler_name: Core Media Data Handler
Stream #0:3(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
Metadata:
  creation_time   : 2021-09-28 05:35:49
  handler_name: Core Media Data Handler
Stream #0:4(und): Data: none (mebx / 0x7862656D), 34 kb/s (default)
Metadata:
  creation_time   : 2021-09-28 05:35:49
  handler_name: Core Media Data Handler
[libx264 @ 0x17a36c0] max bitrate less than average bitrate, assuming CBR
[libx264 @ 0x17a36c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX 
FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x17a36c0] profile High, level 4.0
[libx264 @ 0x17a36c0] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - 
Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 
deblock=1:-1:-1 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.15 
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 
fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 
nr=0 decimate=1 interlaced=0 bluray_compat=0 

Re: [FFmpeg-user] Regarding video compression

2021-10-05 Thread Michael Koch

Am 05.10.2021 um 12:39 schrieb Shailesh kumar Dangi via ffmpeg-user:

Hi,

When I use to stop rotation.  -noautorotate. it is working fine in my local
system, But when I upload the code on the Linux server after compression
video itself gets to rotate.

Original Video-
https://maventus-us-east.s3.amazonaws.com/videos/6155981eac83d208.mp4

Compressed Video -
https://maventus-us-east.s3.amazonaws.com/videos/615c22997dd6a208.mp4

I don't want to be rotated after compression and it should look the same as
the original one.


You should always show the command line and the console output when 
asking here.


Michael

___
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] Regarding video compression

2021-10-05 Thread Shailesh kumar Dangi via ffmpeg-user
Hi,

When I use to stop rotation.  -noautorotate. it is working fine in my local
system, But when I upload the code on the Linux server after compression
video itself gets to rotate.

Original Video-
https://maventus-us-east.s3.amazonaws.com/videos/6155981eac83d208.mp4

Compressed Video -
https://maventus-us-east.s3.amazonaws.com/videos/615c22997dd6a208.mp4

I don't want to be rotated after compression and it should look the same as
the original one.

On Tue, Oct 5, 2021 at 1:52 PM Michael Koch 
wrote:

> Am 05.10.2021 um 10:18 schrieb Shailesh kumar Dangi via ffmpeg-user:
> > Do we have anything to stop rotation?
>
> Try to add the option -noautorotate
>
> Michael
>
> ___
> 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] Convert srt Subtitle file into ttml subtitle

2021-10-05 Thread R J
Hi All,

I want to convert a .srt file into ttml file.

I tried using below command.

ffmpeg -i my_srt.srt -y srt-to-ttml.xml -v verbose

I am using 4.2 version of FFmpeg.

I am working on Linux platform.

Any suggestions or help would be appreciated.

Regards.
___
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] Regarding video compression

2021-10-05 Thread Shailesh kumar Dangi via ffmpeg-user
Thanks, Michael for helping me. I hope this will work for all video
formats.

Thank you.

On Tue, Oct 5, 2021 at 1:52 PM Michael Koch 
wrote:

> Am 05.10.2021 um 10:18 schrieb Shailesh kumar Dangi via ffmpeg-user:
> > Do we have anything to stop rotation?
>
> Try to add the option -noautorotate
>
> Michael
>
> ___
> 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] Regarding video compression

2021-10-05 Thread Michael Koch

Am 05.10.2021 um 10:18 schrieb Shailesh kumar Dangi via ffmpeg-user:

Do we have anything to stop rotation?


Try to add the option -noautorotate

Michael

___
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] Regarding video compression

2021-10-05 Thread Shailesh kumar Dangi via ffmpeg-user
Do we have anything to stop rotation?

On Tue, Oct 5, 2021 at 1:43 PM Michael Koch 
wrote:

> Am 05.10.2021 um 09:54 schrieb Shailesh kumar Dangi via ffmpeg-user:
> > Hi,
> >
> > Our final goal is to reduce the bitrate is below 5MB and the Aspect
> ratio,
> > height, and width need to be the same.
>
> The bitrate is already below 5Mb/s, look at the end of the console output:
> bitrate=3772.4kbits/s
>
> Aspect ratio, width and height are also the same:
> Input: 1920x1080 with 90° rotation in metadata
> Output: 1080x1920
>
> It seems I don't understand what you want to do.
>
> Michael
>
> ___
> 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] Regarding video compression

2021-10-05 Thread Michael Koch

Am 05.10.2021 um 09:54 schrieb Shailesh kumar Dangi via ffmpeg-user:

Hi,

Our final goal is to reduce the bitrate is below 5MB and the Aspect ratio,
height, and width need to be the same.


The bitrate is already below 5Mb/s, look at the end of the console output:
bitrate=3772.4kbits/s

Aspect ratio, width and height are also the same:
Input: 1920x1080 with 90° rotation in metadata
Output: 1080x1920

It seems I don't understand what you want to do.

Michael

___
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] Regarding video compression

2021-10-05 Thread Shailesh kumar Dangi via ffmpeg-user
Hi,

Our final goal is to reduce the bitrate is below 5MB and the Aspect ratio,
height, and width need to be the same.

Can you please help me with the command?

On Tue, Oct 5, 2021 at 12:53 PM Michael Koch 
wrote:

> Am 05.10.2021 um 09:07 schrieb Shailesh kumar Dangi via ffmpeg-user:
> > Yes, In the input video contains some black space around the video as you
> > can see in the attachment below.
> > If we pass the scale "-vf scale=1920:1080" then the video will be
> stretched.
> > if we do not pass the scale. The scale will swap I mean 1080:1920.
> >
> > [image: Screenshot 2021-10-05 at 12.33.20 PM.png]
> >
> > Do we have any solutions for this?
>
> I don't think that the input video contains black spaces. The input
> video is 1920x1080 and it has "rotate=90" set in the metadata. That's
> why FFmpeg rotates the video and the output is 1080x1920 and there are
> no black spaces in the output.
> If you don't like this output, what do you want instead? Do you want to
> cut off the top and botton part? Then you must use the crop filter.
>
> Michael
>
> ___
> 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] Regarding video compression

2021-10-05 Thread Michael Koch

Am 05.10.2021 um 09:07 schrieb Shailesh kumar Dangi via ffmpeg-user:

Yes, In the input video contains some black space around the video as you
can see in the attachment below.
If we pass the scale "-vf scale=1920:1080" then the video will be stretched.
if we do not pass the scale. The scale will swap I mean 1080:1920.

[image: Screenshot 2021-10-05 at 12.33.20 PM.png]

Do we have any solutions for this?


I don't think that the input video contains black spaces. The input 
video is 1920x1080 and it has "rotate=90" set in the metadata. That's 
why FFmpeg rotates the video and the output is 1080x1920 and there are 
no black spaces in the output.
If you don't like this output, what do you want instead? Do you want to 
cut off the top and botton part? Then you must use the crop filter.


Michael

___
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] Regarding video compression

2021-10-05 Thread Michael Koch

Am 05.10.2021 um 08:33 schrieb Shailesh kumar Dangi via ffmpeg-user:

Hi, Please find below as an attachment. In the attachment input command and
output, the console is there.

Actual Input what i am using
ffmpeg -y -i original.mov -b:v 4.5M -map_metadata 0:s:0 -c:v libx264
-preset superfast -tune film -ac 2 -c:a aac -maxrate 4M -bufsize 3M -strict
-2 -f mp4 client.mp4 2<&1


It seems the input is 1920x1080 but the output is 1080x1920. I don't yet 
understand why.

Does the original video look ok if you play it in VLC or FFplay?
Does it work if you add -vf scale=1920:1080 ?

Michael

___
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] Regarding video compression

2021-10-05 Thread Shailesh kumar Dangi via ffmpeg-user
Hi, Please find below as an attachment. In the attachment input command and
output, the console is there.

Actual Input what i am using
ffmpeg -y -i original.mov -b:v 4.5M -map_metadata 0:s:0 -c:v libx264
-preset superfast -tune film -ac 2 -c:a aac -maxrate 4M -bufsize 3M -strict
-2 -f mp4 client.mp4 2<&1

On Tue, Oct 5, 2021 at 11:45 AM Michael Koch 
wrote:

> Am 05.10.2021 um 08:03 schrieb Shailesh kumar Dangi via ffmpeg-user:
> > Thanks, Micheal
> >
> > Here is the command, I am using to reduce the bitrate.
> >
> > ffmpeg -y -i original.MOV -b:v 4.5M -map_metadata 0:s:0 -c:v libx264
> > -preset superfast -tune film -ac 2 -c:a aac -maxrate 4M -bufsize 3M
> -strict
> > -2 -vf scale=iw:ih -f mp4 output1.mp4
>
> Please show also the complete console output.
> I think -vf scale=iw:ih can be omitted. It's useless because it means
> "leave the width and height as it is".
>
> Michael
>
> ___
> 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".
>
Here is the command

ffmpeg -y -i original.mov -b:v 4.5M -map_metadata 0:s:0 -c:v libx264 -preset 
superfast -tune film -ac 2 -c:a aac -maxrate 4M -bufsize 3M -strict -2 -f mp4 
client.mp4 2<&1


Here is output console

ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
  built with Apple clang version 12.0.5 (clang-1205.0.22.9)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4_2 --enable-shared 
--enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= 
--enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray 
--enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e 
--enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract 
--enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx 
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 
--enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype 
--enable-frei0r --enable-libass --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex 
--enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack 
--disable-indev=jack --enable-avresample --enable-videotoolbox
  libavutil  56. 70.100 / 56. 70.100
  libavcodec 58.134.100 / 58.134.100
  libavformat58. 76.100 / 58. 76.100
  libavdevice58. 13.100 / 58. 13.100
  libavfilter 7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale  5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc55.  9.100 / 55.  9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'original.mov':
  Metadata:
major_brand : qt  
minor_version   : 0
compatible_brands: qt  
creation_time   : 2021-09-18T21:26:54.00Z
com.apple.quicktime.make: Apple
com.apple.quicktime.model: iPhone 12 Pro
com.apple.quicktime.software: 14.7.1
com.apple.quicktime.creationdate: 2021-09-18T14:26:54-0700
  Duration: 00:00:10.94, start: 0.00, bitrate: 8783 kb/s
  Stream #0:0(und): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, 
bt2020nc/bt2020/arib-std-b67), 1920x1080, 8552 kb/s, 29.98 fps, 29.97 tbr, 600 
tbn, 600 tbc (default)
Metadata:
  rotate  : 90
  creation_time   : 2021-09-18T21:26:54.00Z
  handler_name: Core Media Video
  vendor_id   : [0][0][0][0]
  encoder : HEVC
Side data:
  DOVI configuration record: version: 1.0, profile: 8, level: 4, rpu flag: 
1, el flag: 0, bl flag: 1, compatibility id: 4
  displaymatrix: rotation of -90.00 degrees
  Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 182 kb/s (default)
Metadata:
  creation_time   : 2021-09-18T21:26:54.00Z
  handler_name: Core Media Audio
  vendor_id   : [0][0][0][0]
  Stream #0:2(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
Metadata:
  creation_time   : 2021-09-18T21:26:54.00Z
  handler_name: Core Media Metadata
  Stream #0:3(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
Metadata:
  creation_time   : 2021-09-18T21:26:54.00Z
  handler_name: Core Media Metadata
  Stream #0:4(und): Data: none (mebx / 0x7862656D), 36 kb/s (default)
Metadata:
  creation_time   : 2021-09-18T21:26:54.00Z
  handler_name: Core Media Metadata
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[hevc @ 0x7fa69180fc00] Skipping NAL unit 62
[hevc @ 0x7fa691848400] Skipping NAL unit 62
[hevc @ 0x7fa691853400] Skipping NAL unit 62
[hevc @ 0x7fa691869400] Skipping NAL unit 62
[hevc @ 0x7fa69185e400] Skipping NAL unit 62
[libx264 @ 0x7fa692059200] max bitrate less than average bitrate, 

Re: [FFmpeg-user] Regarding video compression

2021-10-05 Thread Michael Koch

Am 05.10.2021 um 08:03 schrieb Shailesh kumar Dangi via ffmpeg-user:

Thanks, Micheal

Here is the command, I am using to reduce the bitrate.

ffmpeg -y -i original.MOV -b:v 4.5M -map_metadata 0:s:0 -c:v libx264
-preset superfast -tune film -ac 2 -c:a aac -maxrate 4M -bufsize 3M -strict
-2 -vf scale=iw:ih -f mp4 output1.mp4


Please show also the complete console output.
I think -vf scale=iw:ih can be omitted. It's useless because it means 
"leave the width and height as it is".


Michael

___
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] Regarding video compression

2021-10-05 Thread Shailesh kumar Dangi via ffmpeg-user
Thanks, Micheal

Here is the command, I am using to reduce the bitrate.

ffmpeg -y -i original.MOV -b:v 4.5M -map_metadata 0:s:0 -c:v libx264
-preset superfast -tune film -ac 2 -c:a aac -maxrate 4M -bufsize 3M -strict
-2 -vf scale=iw:ih -f mp4 output1.mp4

On Tue, Oct 5, 2021 at 11:31 AM Shailesh kumar Dangi <
shaileshkumar.da...@maventus.com> wrote:

> Thanks, Archana.
>
> I am having a doubt. I want to remove the black area of the video as I
> mentioned above-left side and right side black area. Does FFMPEG have any
> command for that?
>
> On Tue, Oct 5, 2021 at 11:14 AM Archana Raghupathy 
> wrote:
>
>> There is an option in crop command to maintain AR in output video.
>>
>>
>> *keep_aspectIf set to 1 will force the output display aspect ratio to be
>> the same of the input, by changing the output sample aspect ratio. It
>> defaults to 0.*
>>
>> https://ffmpeg.org/ffmpeg-all.html#crop
>>
>>
>> On Tue, 5 Oct 2021 at 10:57, Shailesh kumar Dangi via ffmpeg-user <
>> ffmpeg-user@ffmpeg.org> wrote:
>>
>>> Hi Team,
>>>
>>> This is Shailesh Kumar Dangi, Working on Maventus Group Inc. I am
>>> using FFMPEG for video compression for bitrate reduction and I want to
>>> be the same aspect ratio as the original video aspect ratio.
>>> I am facing a problem with the video. Which is having some black space
>>> from
>>> the left and right sides. In this type of video aspect ratio getting
>>> changes.
>>>
>>> Can you please help the keep same aspect ratio the same as the original
>>> video aspect ratio which is not compressed?
>>>
>>>
>>>
>>> Thanks & Regards,
>>> Shailesh Kumar Dangi
>>> shaileshkumar.da...@maventus.com
>>> ___
>>> 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] Regarding video compression

2021-10-05 Thread Shailesh kumar Dangi via ffmpeg-user
Thanks, Archana.

I am having a doubt. I want to remove the black area of the video as I
mentioned above-left side and right side black area. Does FFMPEG have any
command for that?

On Tue, Oct 5, 2021 at 11:14 AM Archana Raghupathy 
wrote:

> There is an option in crop command to maintain AR in output video.
>
>
> *keep_aspectIf set to 1 will force the output display aspect ratio to be
> the same of the input, by changing the output sample aspect ratio. It
> defaults to 0.*
>
> https://ffmpeg.org/ffmpeg-all.html#crop
>
>
> On Tue, 5 Oct 2021 at 10:57, Shailesh kumar Dangi via ffmpeg-user <
> ffmpeg-user@ffmpeg.org> wrote:
>
>> Hi Team,
>>
>> This is Shailesh Kumar Dangi, Working on Maventus Group Inc. I am
>> using FFMPEG for video compression for bitrate reduction and I want to
>> be the same aspect ratio as the original video aspect ratio.
>> I am facing a problem with the video. Which is having some black space
>> from
>> the left and right sides. In this type of video aspect ratio getting
>> changes.
>>
>> Can you please help the keep same aspect ratio the same as the original
>> video aspect ratio which is not compressed?
>>
>>
>>
>> Thanks & Regards,
>> Shailesh Kumar Dangi
>> shaileshkumar.da...@maventus.com
>> ___
>> 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".