Re: [FFmpeg-user] 4K Compression using x.265 issues

2018-11-16 Thread Carl Eugen Hoyos
2018-11-15 17:57 GMT+01:00, Kieran O Leary :
> On Thu, 15 Nov 2018, 16:53 Kieran O Leary 
>> On Thu, 15 Nov 2018, 16:36 Ron Barnes >> I was able to compress the file from 80GB to 27GB but I'm still having
>>> major buffering issues.  Would the commands below be the same for an MP4
>>> output?  I have had better luck using MP4 instead of MKV.
>>>
>>
>> You could replace the reserve_index_space 50k command with

> Meant to say -movflags +faststart

Or use qt-faststart from the tools directory if you have
already created the mov/mp4 file without faststart.

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] Audio Only Fragmented MP4 - SIDX

2018-11-16 Thread Carl Eugen Hoyos
2018-11-16 0:46 GMT+01:00, Ronak :
> I'm taking a look at moving.c and the mov_write_sidx_tags calls; I'm
> assuming this is the area of the code that is responsible for this.
>
> However, I'd have to have a way to detect the input streams are audio only;
> no video tracks. What would be the best way to do that?

I suspect the number of input streams is irrelevant, you are probably
interested in the output streams within the mov file, you can look at
mov->nb_streams or possibly mov->tracks (there may be easier ways
though).

Please avoid top-posting 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] 4K Compression using x.265 issues

2018-11-16 Thread Ron Barnes
Thank you!

-Original Message-
From: ffmpeg-user  On Behalf Of Paul B Mahol
Sent: Friday, November 16, 2018 12:05 PM
To: FFmpeg user questions 
Subject: Re: [FFmpeg-user] 4K Compression using x.265 issues

On 11/16/18, Ron Barnes  wrote:
> Hi,
>
> When I remove the -c copy - get an error.. subtitle encoding currently 
> only possible from text to text or bitmap to bitmap.. then it just ends.
>
> Any way to preserve the subtitles?
>

Yes, use -c:s copy
___
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 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] 4K Compression using x.265 issues

2018-11-16 Thread Paul B Mahol
On 11/16/18, Ron Barnes  wrote:
> Hi,
>
> When I remove the -c copy - get an error.. subtitle encoding currently only
> possible from text to text or bitmap to bitmap.. then it just ends.
>
> Any way to preserve the subtitles?
>

Yes, use -c:s copy
___
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] 4K Compression using x.265 issues

2018-11-16 Thread Ron Barnes
Hi,

When I remove the -c copy - get an error.. subtitle encoding currently only 
possible from text to text or bitmap to bitmap.. then it just ends.

Any way to preserve the subtitles?

-Ron

-Original Message-
From: ffmpeg-user  On Behalf Of Paul B Mahol
Sent: Friday, November 16, 2018 9:02 AM
To: FFmpeg user questions 
Subject: Re: [FFmpeg-user] 4K Compression using x.265 issues

On 11/16/18, Ron Barnes  wrote:
> All,
>
> For some reason the below command is not working right.  I am unable 
> to compress my movie by an significant amount.
> The input movie (MYMOVIE.Mkv) is just over 55GB and the resulting 
> output is just over 53GB.
>
> I thought (and I am probably wrong) that by raising or lowering the 
> -crf value would increase or decrease the size of my output file.  No 
> matter what value I use, be it 18 or 28, the output file size is always the 
> same.
>
> Can anyone determine where I'm going south in order to decrease the 
> files's footprint (size) yet still preserve the movie quality?
>
> I want to take all the audio streams (only audio) and I am converting 
> them to mp3 because I do not have a very good sound system and the 
> actual 7.1 audio stream sounds awful.
>
> ffmpeg -i "MYMOVIE.Mkv" -c:v libx265 -preset medium -map 0 -c:a:0 
> libmp3lame
> -b:a:0 128k -c copy -reserve_index_space 1000k -crf 28 -s 3840x2160 
> -b:v 10M -ac 2 -c:a aac -b:a 128k -metadata title="MYMOVIE" 
> COMPRESSED_MYMOVIE.mkv

Remove: -c copy.
___
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 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] 4K Compression using x.265 issues

2018-11-16 Thread Paul B Mahol
On 11/16/18, Ron Barnes  wrote:
> All,
>
> For some reason the below command is not working right.  I am unable to
> compress my movie by an significant amount.
> The input movie (MYMOVIE.Mkv) is just over 55GB and the resulting output is
> just over 53GB.
>
> I thought (and I am probably wrong) that by raising or lowering the -crf
> value would increase or decrease the size of my output file.  No matter what
> value I use, be it 18 or 28, the output file size is always the same.
>
> Can anyone determine where I'm going south in order to decrease the files's
> footprint (size) yet still preserve the movie quality?
>
> I want to take all the audio streams (only audio) and I am converting them
> to mp3 because I do not have a very good sound system and the actual 7.1
> audio stream sounds awful.
>
> ffmpeg -i "MYMOVIE.Mkv" -c:v libx265 -preset medium -map 0 -c:a:0 libmp3lame
> -b:a:0 128k -c copy -reserve_index_space 1000k -crf 28 -s 3840x2160 -b:v 10M
> -ac 2 -c:a aac -b:a 128k -metadata title="MYMOVIE" COMPRESSED_MYMOVIE.mkv

Remove: -c copy.
___
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] 4K Compression using x.265 issues

2018-11-16 Thread Kieran O Leary
On Fri, 16 Nov 2018, 12:00 Ron Barnes  All,
>
> For some reason the below command is not working right.  I am unable to
> compress my movie by an significant amount.
> The input movie (MYMOVIE.Mkv) is just over 55GB and the resulting output
> is just over 53GB.
>
> I thought (and I am probably wrong) that by raising or lowering the -crf
> value would increase or decrease the size of my output file.  No matter
> what value I use, be it 18 or 28, the output file size is always the same.
>
> Can anyone determine where I'm going south in order to decrease the
> files's footprint (size) yet still preserve the movie quality


Yes,you are manually setting the bitrate with your  -b:v 10M command.
Remove that and try again.

Best,

Kieran
___
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] 4K Compression using x.265 issues

2018-11-16 Thread Ron Barnes
All,

For some reason the below command is not working right.  I am unable to 
compress my movie by an significant amount.
The input movie (MYMOVIE.Mkv) is just over 55GB and the resulting output is 
just over 53GB.

I thought (and I am probably wrong) that by raising or lowering the -crf value 
would increase or decrease the size of my output file.  No matter what value I 
use, be it 18 or 28, the output file size is always the same.

Can anyone determine where I'm going south in order to decrease the files's 
footprint (size) yet still preserve the movie quality?

I want to take all the audio streams (only audio) and I am converting them to 
mp3 because I do not have a very good sound system and the actual 7.1 audio 
stream sounds awful.

ffmpeg -i "MYMOVIE.Mkv" -c:v libx265 -preset medium -map 0 -c:a:0 libmp3lame 
-b:a:0 128k -c copy -reserve_index_space 1000k -crf 28 -s 3840x2160 -b:v 10M 
-ac 2 -c:a aac -b:a 128k -metadata title="MYMOVIE" COMPRESSED_MYMOVIE.mkv

Thank you,

-Ron

___
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".