Re: [FFmpeg-user] does ffmpeg support video/image watermark

2017-03-28 Thread Kasper Folman @ flipper
You can use overlay too.
http://ffmpeg.org/ffmpeg-all.html#overlay-1


> On 29 Mar 2017, at 05:45, Jesse Liu  wrote:
> 
> 
>> On 29 Mar 2017, at 10:27 AM, qw  wrote:
>> 
>> Hi,
>> 
>> 
>> Does ffmpeg support video/image watermark? or is there some three-party 
>> library of video/image watermark that ffmpeg supports?
>> 
>> 
>> Thanks!
>> 
>> 
>> Regards
>> 
>> 
>> Andrew
>> ___
>> 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”.
> 
> Do you mean draw text on video/image? you can check out 
> http://ffmpeg.org/ffmpeg-all.html#drawtext-1 
> 
> ___
> 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] Starting to copy takes long

2017-03-28 Thread Cecil Westerhof
On Wednesday 29 Mar 2017 02:04 CEST, Cley Faye wrote:

> 2017-03-29 1:54 GMT+02:00 Cecil Westerhof :
>
>> I want to copy a little bit of a video. I do this with:
>> ffmpeg -i input.mov -ss 16:28 -t 5 output.mov
>>
>> But it takes about 2:20 before the copying starts. Is this normal?
>>
>
> ​Try moving the -ss part before your input. -ss before an input use
> forward (if possible fast forward) on your source, while before an
> output it means processing everything before, then start using the
> output after the given time.

That was the problem. Thanks.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
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] Starting to copy takes long

2017-03-28 Thread James Darnley
On 2017-03-29 02:04, Cley Faye wrote:
> 2017-03-29 1:54 GMT+02:00 Cecil Westerhof :
> 
>> I want to copy a little bit of a video. I do this with:
>> ffmpeg -i input.mov -ss 16:28 -t 5 output.mov
>>
>> But it takes about 2:20 before the copying starts. Is this normal?
>>
> 
> ​Try moving the -ss part before your input. -ss before an input use forward
> (if possible fast forward) on your source, while before an output it means
> processing everything before, then start using the output after the given
> time.

Furthermore ffmpeg is not copying anything there.  You did not tell
ffmpeg to copy.  It is encoding with (probably rubbish) defaults.




signature.asc
Description: OpenPGP digital signature
___
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] Starting to copy takes long

2017-03-28 Thread Cley Faye
2017-03-29 1:54 GMT+02:00 Cecil Westerhof :

> I want to copy a little bit of a video. I do this with:
> ffmpeg -i input.mov -ss 16:28 -t 5 output.mov
>
> But it takes about 2:20 before the copying starts. Is this normal?
>

​Try moving the -ss part before your input. -ss before an input use forward
(if possible fast forward) on your source, while before an output it means
processing everything before, then start using the output after the given
time.
___
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] H.265/HEVC for Premiere Pro compatibility

2017-03-28 Thread Lou
On Tue, 28 Mar 2017 21:55:16 +0200
Moritz Barsnick  wrote:

> b) use the ffmpeg/ffplay/ffprobe command line option "-report". It will
>nicely place a log file into the current directory which contains
>the command line an the complete, uncut console output - even
>without the line wraps which the Windows cmd console introduces.
>This text file then should be attached to the response on this list.
> 
> When all else seems to fail, the "supporters" on this list should
> recommend using the latter option and attaching the resulting file.

As convenient as "-report" can be I usually do not recommend it because
by default it uses the "verbose" log level which definitely lives up to
its name: it's needlessly too verbose for general help. The verbosity
usually exceeds my laziness threshold and I tend to just move on to a
different question.

The FFREPORT environmental variable can be used instead, but I don't
know if that works with Windows, and it would probably be too confusing
for some users.

http://ffmpeg.org/ffmpeg.html#Generic-options
___
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] H.265/HEVC for Premiere Pro compatibility

2017-03-28 Thread Moritz Barsnick
On Tue, Mar 28, 2017 at 12:00:43 -0600, Chris Colton wrote:
> On Tue, Mar 28, 2017 at 11:38 AM, Paul B Mahol  wrote:

> > Yes, I have an idea? Why you are asking Premiere question in FFmpeg
> > mailing list?

> I'm asking a Premiere question here because FFmpeg's implementation of HEVC
> is the only form of HEVC I've ever tried that hasn't automatically worked
> in Premiere. With FFmpeg you have the ability to fine tune commands to such
> a great extent that I was hoping someone could help with the problem.

No, honestly, it seems to be an issue which only manifests itself with
Premiere Pro. Why not ask there?

Furthermore, "Pro" implies "Professional", which means it was made
either by or for "professionals", i.e. people who earn their living
with this. To make things worse, you probably even paid for that
software, and it likely even advertises H.265 support. I think you
deserve to get an answer from them as to what their requirements are
towards an H.265 file.

Everything else is just guesswork or reverse engineering.

Welcome here anyway, if ffmpeg can help to work around Premiere Pro's
shortcomings. ;) (Not saying it couldn't be an ffmpeg issue. Let's
see.)

Moritz
___
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] H.265/HEVC for Premiere Pro compatibility

2017-03-28 Thread Chris Colton
I'll keep -report in mind that's a great option that I didn't know existed.
I just tried converting a different file and Premiere plays it fine. The
source that worked was a H.264 (extremely high bitrate) and the one that
didn't was DNxHR in .MOV so I'll try it again with DNxHR and see what
happens.
ᐧ

On Tue, Mar 28, 2017 at 1:55 PM, Moritz Barsnick  wrote:

> On Tue, Mar 28, 2017 at 10:25:44 -0800, Lou wrote:
> > On Tue, Mar 28, 2017, at 10:06 AM, Chris Colton wrote:
> > > If so, how do I copy that out of command prompt?
> > I don't know–I don't use Windows (I'm guessing that's what you're
> > using), but I'm sure you can find out how to copy and paste from cmd or
> > redirect the console output to a text file with a search.
>
> Actually, it's easier to either
> a) google for how to text copy out of a console, or even
> b) use the ffmpeg/ffplay/ffprobe command line option "-report". It will
>nicely place a log file into the current directory which contains
>the command line an the complete, uncut console output - even
>without the line wraps which the Windows cmd console introduces.
>This text file then should be attached to the response on this list.
>
> When all else seems to fail, the "supporters" on this list should
> recommend using the latter option and attaching the resulting file.
>
> Moritz
> ___
> 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] H.265/HEVC for Premiere Pro compatibility

2017-03-28 Thread Moritz Barsnick
On Tue, Mar 28, 2017 at 10:25:44 -0800, Lou wrote:
> On Tue, Mar 28, 2017, at 10:06 AM, Chris Colton wrote:
> > If so, how do I copy that out of command prompt?
> I don't know–I don't use Windows (I'm guessing that's what you're
> using), but I'm sure you can find out how to copy and paste from cmd or
> redirect the console output to a text file with a search.

Actually, it's easier to either
a) google for how to text copy out of a console, or even
b) use the ffmpeg/ffplay/ffprobe command line option "-report". It will
   nicely place a log file into the current directory which contains
   the command line an the complete, uncut console output - even
   without the line wraps which the Windows cmd console introduces.
   This text file then should be attached to the response on this list.

When all else seems to fail, the "supporters" on this list should
recommend using the latter option and attaching the resulting file.

Moritz
___
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] H.265/HEVC for Premiere Pro compatibility

2017-03-28 Thread Lou
On Tue, Mar 28, 2017, at 10:06 AM, Chris Colton wrote:
> Thanks Lou but that link only shows my message, I don't see any replies.

You need to click on:
Next message (by thread): [FFmpeg-user] H.265 Will not Play in Premiere 

Or view all threads for that month and look for your subject or name:


Think of it as somewhat like a forum.

> If so, how do I copy that out of command prompt?

I don't know–I don't use Windows (I'm guessing that's what you're
using), but I'm sure you can find out how to copy and paste from cmd or
redirect the console output to a text file with a search.

You're also replying via your coltonmp.com address, but it is not
subscribed, so messages from that address may get delayed in the mod
queue for a day or less.
___
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] H.265/HEVC for Premiere Pro compatibility

2017-03-28 Thread Chris Colton
Thanks Lou but that link only shows my message, I don't see any replies.
I've never used a mailing list like this and I'm new to ffmpeg so I'm sorry
I didn't follow procedure. I was just confused. You need the ffmpeg code
from converting the file? If so, how do I copy that out of command prompt?
This is the only command line utility I've ever used.

I'm asking a Premiere question here because FFmpeg's implementation of HEVC
is the only form of HEVC I've ever tried that hasn't automatically worked
in Premiere. With FFmpeg you have the ability to fine tune commands to such
a great extent that I was hoping someone could help with the problem.
ᐧ

On Tue, Mar 28, 2017 at 11:44 AM, Lou  wrote:

> On Tue, Mar 28, 2017, at 09:20 AM, Chris Colton wrote:
> > Hi all,
> >
> > I tried to get an answer on this before I actually subscribed to the
> > mailing list, so I'm told I didn't receive all the replies so I'm just
> > starting over here.
>
> You never replied to any of our previous questions, including the
> questions I asked that I know you did receive directly via CC. You only
> addressed my remark about H.265 as an intermediate and didn't provide
> the requested info.
>
> Because I knew you were not subscribed I mentioned the archives in my
> message as well. You can view your thread and the replies here:
> 
>
> Unsubscribed users can click on the email address link at the top to
> reply to each archived message. The link contains header info to
> properly keep it within the thread.
> ___
> 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] H.265/HEVC for Premiere Pro compatibility

2017-03-28 Thread Chris Colton
Thanks Lou but that link only shows my message, I don't see any replies.
I've never used a mailing list like this and I'm new to ffmpeg so I'm sorry
I didn't follow procedure. I was just confused. You need the ffmpeg code
from converting the file? If so, how do I copy that out of command prompt?
This is the only command line utility I've ever used.
ᐧ


Thanks,

Chris Colton 
Colton Media Productions 
+1 970-444-2542
Facebook  | Twitter


On Tue, Mar 28, 2017 at 11:44 AM, Lou  wrote:

> On Tue, Mar 28, 2017, at 09:20 AM, Chris Colton wrote:
> > Hi all,
> >
> > I tried to get an answer on this before I actually subscribed to the
> > mailing list, so I'm told I didn't receive all the replies so I'm just
> > starting over here.
>
> You never replied to any of our previous questions, including the
> questions I asked that I know you did receive directly via CC. You only
> addressed my remark about H.265 as an intermediate and didn't provide
> the requested info.
>
> Because I knew you were not subscribed I mentioned the archives in my
> message as well. You can view your thread and the replies here:
> 
>
> Unsubscribed users can click on the email address link at the top to
> reply to each archived message. The link contains header info to
> properly keep it within the thread.
> ___
> 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] H.265/HEVC for Premiere Pro compatibility

2017-03-28 Thread Chris Colton
I'm asking a Premiere question here because FFmpeg's implementation of HEVC
is the only form of HEVC I've ever tried that hasn't automatically worked
in Premiere. With FFmpeg you have the ability to fine tune commands to such
a great extent that I was hoping someone could help with the problem.
ᐧ


Thanks,

Chris Colton 
Colton Media Productions 
+1 970-444-2542
Facebook  | Twitter


On Tue, Mar 28, 2017 at 11:38 AM, Paul B Mahol  wrote:

> On 3/28/17, Chris Colton  wrote:
> > Hi all,
> >
> > I tried to get an answer on this before I actually subscribed to the
> > mailing list, so I'm told I didn't receive all the replies so I'm just
> > starting over here.
> >
> > I'm using FFmpeg to transcode to H.265 because Premiere's native encoding
> > is incompatible with Vimeo (Vimeo's transcoding causes a color shift in
> > HEVC from Premiere). I also love the constant rate factor encoding option
> > because it'll decide bitrate depending on the resolution needed. I used
> the
> > command below and VLC and Vimeo both play it (vimeo with no color
> issues),
> > but if you try to check the encode to the original in Premiere, it
> imports
> > with sound playing correctly and just a blank green image instead of the
> > video. Any ideas?
>
> Yes, I have an idea? Why you are asking Premiere question in FFmpeg
> mailing list?
>
> >
> > -i "source.mov" -y -c:v libx265 -preset veryfast -crf 23 -vf
> format=yuv420p
> > -c:a aac -b:a 320k -ar 48000 -ac 2 -max_muxing_queue_size 1000 "H265.mp4"
> > **
> > ___
> > 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".
___
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] H.265/HEVC for Premiere Pro compatibility

2017-03-28 Thread Lou
On Tue, Mar 28, 2017, at 09:20 AM, Chris Colton wrote:
> Hi all,
> 
> I tried to get an answer on this before I actually subscribed to the
> mailing list, so I'm told I didn't receive all the replies so I'm just
> starting over here.

You never replied to any of our previous questions, including the
questions I asked that I know you did receive directly via CC. You only
addressed my remark about H.265 as an intermediate and didn't provide
the requested info.

Because I knew you were not subscribed I mentioned the archives in my
message as well. You can view your thread and the replies here:


Unsubscribed users can click on the email address link at the top to
reply to each archived message. The link contains header info to
properly keep it within the thread.
___
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] H.265/HEVC for Premiere Pro compatibility

2017-03-28 Thread Paul B Mahol
On 3/28/17, Chris Colton  wrote:
> Hi all,
>
> I tried to get an answer on this before I actually subscribed to the
> mailing list, so I'm told I didn't receive all the replies so I'm just
> starting over here.
>
> I'm using FFmpeg to transcode to H.265 because Premiere's native encoding
> is incompatible with Vimeo (Vimeo's transcoding causes a color shift in
> HEVC from Premiere). I also love the constant rate factor encoding option
> because it'll decide bitrate depending on the resolution needed. I used the
> command below and VLC and Vimeo both play it (vimeo with no color issues),
> but if you try to check the encode to the original in Premiere, it imports
> with sound playing correctly and just a blank green image instead of the
> video. Any ideas?

Yes, I have an idea? Why you are asking Premiere question in FFmpeg
mailing list?

>
> -i "source.mov" -y -c:v libx265 -preset veryfast -crf 23 -vf format=yuv420p
> -c:a aac -b:a 320k -ar 48000 -ac 2 -max_muxing_queue_size 1000 "H265.mp4"
> **
> ___
> 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".

[FFmpeg-user] H.265/HEVC for Premiere Pro compatibility

2017-03-28 Thread Chris Colton
Hi all,

I tried to get an answer on this before I actually subscribed to the
mailing list, so I'm told I didn't receive all the replies so I'm just
starting over here.

I'm using FFmpeg to transcode to H.265 because Premiere's native encoding
is incompatible with Vimeo (Vimeo's transcoding causes a color shift in
HEVC from Premiere). I also love the constant rate factor encoding option
because it'll decide bitrate depending on the resolution needed. I used the
command below and VLC and Vimeo both play it (vimeo with no color issues),
but if you try to check the encode to the original in Premiere, it imports
with sound playing correctly and just a blank green image instead of the
video. Any ideas?

-i "source.mov" -y -c:v libx265 -preset veryfast -crf 23 -vf format=yuv420p
-c:a aac -b:a 320k -ar 48000 -ac 2 -max_muxing_queue_size 1000 "H265.mp4"
ᐧ
___
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] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread chronek

Ok, more denoising and small tuning:


ffmpeg -y -i in.mp4 -vf pp=va/ha,uspp=7,hqdn3d=4:3:4:4 -an -c:v libx264 
-preset veryslow -profile high -b:v 2M -refs 8 -me_range 64 -qcomp 0.7 
-fast-pskip 0 -nr 400 -deblock 2:2 -pass 1 /dev/null
ffmpeg -y -i in.mp4 -vf pp=va/ha,uspp=7,hqdn3d=4:3:4:4 -c:a aac -b:a 
128k -c:v libx264 -preset veryslow -profile high -b:v 2M -refs 8 
-me_range 64 -qcomp 0.7 -fast-pskip 0 -nr 400 -deblock 2:2 -pass 2 out.mp4



Could you reencode that better quality sample to include initial intro 
from source you provided?


Btw. I hope you will update your ffmpeg



W dniu 2017-03-28 o 15:57, negin tebyani pisze:

I found that source file have many compression artifacts... i put some

nasty filter and tune options a bit. Not good yet, but is a bit better?




___
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] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread negin tebyani
I found that source file have many compression artifacts... i put some
> nasty filter and tune options a bit. Not good yet, but is a bit better?


thank you, I tried you command but the quality is still lower than the
other one..
___
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] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread chronek
I found that source file have many compression artifacts... i put some 
nasty filter and tune options a bit. Not good yet, but is a bit better?



ffmpeg -y -i in.mp4 -vf pp=va/ha,uspp=7 -an -c:v libx264 -preset 
veryslow -b:v 2M -minrate 2M -maxrate 2M -bufsize 4M -refs 6 -me_range 
64 -qcomp 0.6 -nr 40 -flags +loop -deblock 2:2 -pass 1 /dev/null
ffmpeg -y -i in.mp4 -vf pp=va/ha,uspp=7 -c:a aac -b:a 128k -c:v libx264 
-preset veryslow -b:v 2M -minrate 2M -maxrate 2M -bufsize 4M -refs 6 
-me_range 64 -qcomp 0.6 -nr 40 -flags +loop -deblock 2:2 -pass 2 out.mp4



W dniu 2017-03-28 o 14:15, negin tebyani pisze:

I don'n know how to reach for ffmpeg output console, but here is a section
of the master video:

  https://ufile.io/6c57f1
___



___
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] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread negin tebyani
sorry, I forgot to paste the command:

ffmpeg -i arsenalVScristalPalas.mp4 -movflags faststart -c:v libx264
-x264opts 'keyint=300:min-keyint=25:8x8dct:sliced-threads=0' -qblur 0.5
-deblock 1:1 -flags +loop -b:v 2048k -maxrate 2048k -bufsize 5000k -vf
"scale=-1280:720:flags=spline+full_chroma_inp+full_chroma_int+accurate_rnd+bitexact"
-qcomp 0.60 -qblur 0.5 -acodec copy -b:a 128k -coder 1 -me_range 6
-sc_threshold 42 -bf 10 -qmin 0 -qmax 40 -qblur 0.5 -trellis 2 -mbtree 1
-preset veryslow -ss 00:01:00 -t 00:01:00 quantizer2.mp4

ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg
developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.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 'arsenalVScristalPalas.mp4':
  Metadata:
major_brand : avc1
minor_version   : 0
compatible_brands: avc1mp42
creation_time   : 2017-01-03 09:36:38
  Duration: 00:11:01.24, start: 0.00, bitrate: 4407 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 3998 kb/s, 50 fps, 50 tbr, 50 tbn, 100 tbc
(default)
Metadata:
  creation_time   : 2017-01-03 09:36:38
  handler_name: Video Media Handler
  encoder : AVC Coding
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 384 kb/s (default)
Metadata:
  creation_time   : 2017-01-03 09:36:38
  handler_name: Sound Media Handler
File 'quantizer2.mp4' already exists. Overwrite ? [y/N] y
[libx264 @ 0xedb800] using SAR=1/1
[libx264 @ 0xedb800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
FMA3 AVX2 LZCNT BMI2
[libx264 @ 0xedb800] profile High, level 5.0
[libx264 @ 0xedb800] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1
ref=16 deblock=1:1:1 analyse=0x3:0x133 me=umh subme=10 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=6 chroma_me=1 trellis=2 8x8dct=1
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=10 b_pyramid=2 b_adapt=2
b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=300 keyint_min=25
scenecut=42 intra_refresh=0 rc_lookahead=60 rc=cbr mbtree=1 bitrate=2048
ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=40 qpstep=4 vbv_maxrate=2048
vbv_bufsize=5000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[mp4 @ 0xe98ba0] Codec for stream 1 does not use global headers but
container format requires global headers
Output #0, mp4, to 'quantizer2.mp4':
  Metadata:
major_brand : avc1
minor_version   : 0
compatible_brands: avc1mp42
encoder : Lavf56.40.101
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021),
yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=0-40, 2048 kb/s, 50 fps, 12800 tbn,
50 tbc (default)
Metadata:
  creation_time   : 2017-01-03 09:36:38
  handler_name: Video Media Handler
  encoder : Lavc56.60.100 libx264
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, 384 kb/s (default)
Metadata:
  creation_time   : 2017-01-03 09:36:38
  handler_name: Sound Media Handler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0xe98ba0] Starting second pass: moving the moov atom to the
beginning of the file
frame= 3000 fps= 16 q=-1.0 Lsize=   17922kB 

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread Reindl Harald



Am 28.03.2017 um 15:07 schrieb negin tebyani:

you where requested to copy that into your response mail - not more
and not less



ok, here is the output:

 ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg
developers


besides that 2.8.x is *terrible* outdated when we have 3.1 und 3.2 over 
many months - any reason why cut out the command line itself which makes 
the context to the outputs?

___
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] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread negin tebyani
> you where requested to copy that into your response mail - not more
> and not less
>
>
ok, here is the output:

 ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg
developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.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 'arsenalVScristalPalas.mp4':
  Metadata:
major_brand : avc1
minor_version   : 0
compatible_brands: avc1mp42
creation_time   : 2017-01-03 09:36:38
  Duration: 00:11:01.24, start: 0.00, bitrate: 4407 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 3998 kb/s, 50 fps, 50 tbr, 50 tbn, 100 tbc
(default)
Metadata:
  creation_time   : 2017-01-03 09:36:38
  handler_name: Video Media Handler
  encoder : AVC Coding
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 384 kb/s (default)
Metadata:
  creation_time   : 2017-01-03 09:36:38
  handler_name: Sound Media Handler
File 'quantizer2.mp4' already exists. Overwrite ? [y/N] Y
[libx264 @ 0x1e85800] using SAR=1/1
[libx264 @ 0x1e85800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x1e85800] profile High, level 5.0
[libx264 @ 0x1e85800] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1
ref=16 deblock=1:1:1 analyse=0x3:0x133 me=umh subme=10 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=1
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=10 b_pyramid=2 b_adapt=2
b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=300 keyint_min=25
scenecut=42 intra_refresh=0 rc_lookahead=60 rc=cbr mbtree=1 bitrate=2048
ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=40 qpstep=4 vbv_maxrate=2048
vbv_bufsize=5000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[mp4 @ 0x1e42ba0] Codec for stream 1 does not use global headers but
container format requires global headers
Output #0, mp4, to 'quantizer2.mp4':
  Metadata:
major_brand : avc1
minor_version   : 0
compatible_brands: avc1mp42
encoder : Lavf56.40.101
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021),
yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=0-40, 2048 kb/s, 50 fps, 12800 tbn,
50 tbc (default)
Metadata:
  creation_time   : 2017-01-03 09:36:38
  handler_name: Video Media Handler
  encoder : Lavc56.60.100 libx264
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, 384 kb/s (default)
Metadata:
  creation_time   : 2017-01-03 09:36:38
  handler_name: Sound Media Handler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x1e42ba0] Starting second pass: moving the moov atom to the
beginning of the file
frame= 3000 fps= 14 q=-1.0 Lsize=   17917kB time=00:01:00.00
bitrate=2446.2kbits/s
video:15036kB audio:2812kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.384389%
[libx264 @ 0x1e85800] frame I:11Avg QP:22.14  size: 51638
[libx264 @ 0x1e85800] frame P:691   Avg QP:27.11  size: 12898
[libx264 @ 0x1e85800] frame B:2298  Avg QP:33.45  size:  2574
[libx264 @ 0x1e85800] consecutive B-frames:  1.6%  4.8% 18.9%  6.5%  3.8%
64.0%  0.0%  0.0%  

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread Reindl Harald



Am 28.03.2017 um 14:15 schrieb negin tebyani:


Well ignoring requests for ffmpeg console output and a section
of the master that the provided samples were made from means
that less people will even try to help you.



I don'n know how to reach for ffmpeg output console


what the hell - you are typing a command in the terminal and that 
command is producing outputs - you where requested to copy that 
into your response mail - not more and not less

___
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] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread negin tebyani
>
> Well ignoring requests for ffmpeg console output and a section
> of the master that the provided samples were made from means
> that less people will even try to help you.
>
>
I don'n know how to reach for ffmpeg output console, but here is a section
of the master video:

 https://ufile.io/6c57f1
___
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] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread Andy Furniss

negin tebyani wrote:


I'm realy stuck in here, I have tried any commands and any suggestions, but


Well ignoring requests for ffmpeg console output and a section
of the master that the provided samples were made from means
that less people will even try to help you.


___
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] Can't get a/v synchronisation right with mpeg transport stream that has gaps in it

2017-03-28 Thread Erik Slagter
Hi people,

I'm having this problem for years and years (so it's not a recent
problem or regression).

I make recordings on my enigma2 based settopbox. It saves the recordings
as the original transport stream, but with filtering of only the
requested service pids.

There is a feature to edit the recorded services, in a basic way. Very
helpful to edit out commercials. Problem is that it makes cuts in a very
"rude" way, it justs cuts the file at a certain position, in the middle
of all kinds of open packets and streams. On playback it isn't such a
big deal, because the damaged packets are discarded and the DVB hardware
resyncs on the timestamps pretty quickly.

After the crude editing, I like to perform a real editing run, using
kdenlive (or any other NLVE, for that case). I've found that all of them
have problems when fed with a "damaged" transport stream, like this. So
what I do, is transcode the stream to something with mjpeg and pcm
codecs, intra frames only, very easy on the editor.

This is the problem: after every timestamp discontinuity ("cut" or
"gap"), ffmpeg resyncs audio and video BUT it doesn't do it 100%
correctly. Sound remains a bit "in front" of the video, skewed a bit.
Also, it gets worse at every cut, everytime about 200-300 ms is added to
the skew. That's not what I'd expect?

I've tried these options to force synchronisation:

- -vsync 1 (not per sé required, but I want the audio and video streams
in the container in such a way that they're not skewed, so if the editor
decides to demux and throw away the timestamps, it still works)
- -r 25 (material is 25 fps, tried with and without, doesn't matter)
- filter:a "
aresample=async=1:min_comp=0.1:min_hard_comp=0.1:max_soft_comp=1:first_pts=0"

None of this helps. I can see ffmpeg dropping and dupping frames, but it
doesn't help to fix the slow drift.

I was under the impression that ffmpeg would automatically base the
synchronisation of the (single) audio stream on the (single) video
stream. Is this a correct assumption or do I need to specify an explicit
"-map" statement?

It looks like ffmpeg takes care that frames are dupped/dropped so the
frame rate keeps "solid" 25 fps (or whatever the source frame rate is
specified as or is specified with -r), but it seems it does not keep the
audio stream synchronised.

Thanks for help,
Erik.
___
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] ffplay on current build does not play mkv file but on old build does.

2017-03-28 Thread Tim Hiles
>
> In this case, the output device's name is "sdl". -> "-f sdl foo".
> Please do try that with the old build.
>

It did work with the 24th build. It was a weird crazy looking video but
yeah. it worked.

C:\Users\c0nF3x41l3s>C:\ffmpeg20160924\ffmpeg\bin\ffmpeg.exe -re -f lavfi
-i testsrc2=s=1366x768:r=30,format=yuv420p -f
sdl foo
ffmpeg version N-81741-g1212e34 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --ena
ble-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig
--enable-frei0r --enable-gnutls --enable-iconv --ena
ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libfreetype --enable-libgme --enable-libgsm --e
nable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib
openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsnappy --enable-lib
soxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvo
rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-li
bxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil  55. 30.100 / 55. 30.100
  libavcodec 57. 58.100 / 57. 58.100
  libavformat57. 50.100 / 57. 50.100
  libavdevice57.  0.102 / 57.  0.102
  libavfilter 6. 62.100 /  6. 62.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc54.  0.100 / 54.  0.100
Input #0, lavfi, from 'testsrc2=s=1366x768:r=30,format=yuv420p':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1366x768
[SAR 1:1 DAR 683:384], 30 tbr, 30 tbn, 30 tbc
Output #0, sdl, to 'foo':
  Metadata:
encoder : Lavf57.50.100
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1366x768
[SAR 1:1 DAR 683:384], q=2-31, 200 kb/s, 30 fps,
 30 tbn, 30 tbc
Metadata:
  encoder : Lavc57.58.100 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
av_interleaved_write_frame(): I/O errore=00:00:14.23 bitrate=N/A speed=   1x
frame=  432 fps= 30 q=-0.0 Lsize=N/A time=00:00:14.40 bitrate=N/A
speed=1.01x
video:663876kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Conversion failed!


> My current analysis, in other words: Something is wrong with the way
> SDL2 tries to interact with your display, that's why ffplay doesn't
> open a window.
>
> Does ffplay work with anything else than MKV/H.264? (Because that's
> what you mentioned originally.)


I've just tested playing back a .mov file and a .wmv file.  The Sept 24th
version (SDL) plays fine. The Sept 26th version (SDL2) does not, only hear
audio.

So, if it's something wrong with my display, is there something I can dload
to get it working, like a library? I'd prefer to use the most current
ffmpeg.
___
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] ffplay on current build does not play mkv file but on old build does.

2017-03-28 Thread Moritz Barsnick
On Tue, Mar 28, 2017 at 03:09:49 -0700, Tim Hiles wrote:
> > $ ffmpeg -re -f lavfi -i testsrc2=s=1366x768:r=30,format=yuv420p -f sdl2 foo
> Hi Moritz, Not sure what I supposed to see but I didn't see anything other
> than the command window.

It is supposed to open a playback window (with a generated test
source).

> Also the command window did not seem to respond
> to 'q'.  I had to ctrl + c three times to force it to stop.

That's not desired.

> Here's the command and output for 24th build. As you stated in your reply
> this was before they changed to sdl2 so the error that occurs makes sense.

In this case, the output device's name is "sdl". -> "-f sdl foo".
Please do try that with the old build.

My current analysis, in other words: Something is wrong with the way
SDL2 tries to interact with your display, that's why ffplay doesn't
open a window.

Does ffplay work with anything else than MKV/H.264? (Because that's
what you mentioned originally.)

Moritz
___
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] ffplay on current build does not play mkv file but on old build does.

2017-03-28 Thread Tim Hiles
>
>
> Does this command show you something on your screen, i.e. does the sdl2
> output device work?
>
> $ ffmpeg -re -f lavfi -i testsrc2=s=1366x768:r=30,format=yuv420p -f sdl2
> foo
>
>
Hi Moritz, Not sure what I supposed to see but I didn't see anything other
than the command window.  Also the command window did not seem to respond
to 'q'.  I had to ctrl + c three times to force it to stop.

Here's the console output and command for September 26 build

C:\ffmpeg20160926\ffmpeg\bin\ffmpeg.exe -re -f lavfi -i
testsrc2=s=1366x768:r=30,format=yuv420p -f sdl2 foo
ffmpeg version N-81774-g64545dd Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --ena
ble-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig
--enable-frei0r --enable-gnutls --enable-iconv --ena
ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libfreetype --enable-libgme --enable-libgsm --e
nable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib
openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsnappy --enable-lib
soxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvo
rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-li
bxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil  55. 30.100 / 55. 30.100
  libavcodec 57. 58.100 / 57. 58.100
  libavformat57. 50.100 / 57. 50.100
  libavdevice57.  0.102 / 57.  0.102
  libavfilter 6. 63.100 /  6. 63.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc54.  0.100 / 54.  0.100
Input #0, lavfi, from 'testsrc2=s=1366x768:r=30,format=yuv420p':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1366x768
[SAR 1:1 DAR 683:384], 30 tbr, 30 tbn, 30 tbc
Received > 3 system signals, hard exiting

Here's the command and output for 24th build. As you stated in your reply
this was before they changed to sdl2 so the error that occurs makes sense.

C:\ffmpeg20160924\ffmpeg\bin\ffmpeg.exe -re -f lavfi -i
testsrc2=s=1366x768:r=30,format=yuv420p -f sdl2 foo
ffmpeg version N-81741-g1212e34 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --ena
ble-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig
--enable-frei0r --enable-gnutls --enable-iconv --ena
ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libfreetype --enable-libgme --enable-libgsm --e
nable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib
openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsnappy --enable-lib
soxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvo
rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-li
bxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil  55. 30.100 / 55. 30.100
  libavcodec 57. 58.100 / 57. 58.100
  libavformat57. 50.100 / 57. 50.100
  libavdevice57.  0.102 / 57.  0.102
  libavfilter 6. 62.100 /  6. 62.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc54.  0.100 / 54.  0.100
Input #0, lavfi, from 'testsrc2=s=1366x768:r=30,format=yuv420p':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1366x768
[SAR 1:1 DAR 683:384], 30 tbr, 30 tbn, 30 tbc
[NULL @ 03012540] Requested output format 'sdl2' is not a suitable output
format
foo: Invalid argument
___
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] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread negin tebyani
unfortunately this does not make differences in results either:

Then i can think only about that:
>
> ffmpeg -y -i in.mp4 -an -c:v libx264 -preset veryslow -b:v 2048k -refs 8
> -qcomp 0.7 -nr 40 -flags +loop -deblock 1:0 -pass 1 /dev/null
> ffmpeg -y -i in.mp4 -c:a aac -b:a 128k -c:v libx264 -preset veryslow -b:v
> 2048k -refs 8 -qcomp 0.7 -nr 40 -flags +loop -deblock 1:0 -pass 2 out.mp4
>
>
I'm realy stuck in here, I have tried any commands and any suggestions, but
I'm not even close to that quality (actually I need to be even better than
than one).
___
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] ffplay on current build does not play mkv file but on old build does.

2017-03-28 Thread Moritz Barsnick
On Tue, Mar 28, 2017 at 01:33:15 -0700, Tim Hiles wrote:
> Hi All!
> 
> I'm revisiting this issue because I've finally had time to narrow down the
> exact release where this issue first arose from so that perhaps someone who
> understands the code could maybe figure out what may have happened.
[...]
>   ffmpeg-20160926-64545dd-win32-static.zip
[...]
>   ffmpeg-20160924-1212e34-win32-static.zip
[...]
> Starting from the old release going up here is what I've discovered..
> 1. September 23 2016 at 22:11 is the last version that plays video in the
> mkv file.
> 2. September 24 2016 and September 26 2016 you'll notice that the zip
> folder size drops down to 27 M. That's because if you download those two
> zip folders you'll see that ffplay.exe was not included.
> 3. Then September 26, 2016 (later that evening) it goes back up to 41M
> because it includes ffplay.  From that point on, ffplay no longer plays
> mkv's for me, only audio.

Firstly: "It works for me(TM)." I can play that file's video with the
64bit version from Zeranoe.

Interestingly, between those two builds you mention (1212e34..64545dd),
ffplay was switched from using the SDL1 library to SDL2. (Zeranoe
probably didn't have the latter available in their build environment
for a few days, until they noticed.)[*]

> So, I'm unsure what happened at that time but that if any developers want
> to look into this, this is where I would start my investigation.

Great that you were able to track that down. I don't know how to debug
the SDL display device though.

Does this command show you something on your screen, i.e. does the sdl2
output device work?

$ ffmpeg -re -f lavfi -i testsrc2=s=1366x768:r=30,format=yuv420p -f sdl2 foo

Moritz

[*] (Yes, the commit was created on Feb 23 2106, but it didn't get into
 git master until that point in September.)
commit 9c5fab5ed421da4e55cafcbff0482e1ad926c27b
Author: Marton Balint 
Date:   Tue Feb 23 20:43:41 2016 +

ffplay: add SDL2 support

This commit also drops SDL1 support for ffplay.

Tested-by: James Almer  (Windows, mingw-w64)
Signed-off-by: Josh de Kock 

M   Changelog
M   configure
M   ffplay.c
___
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] ffplay on current build does not play mkv file but on old build does.

2017-03-28 Thread Tim Hiles
Hi All!

I'm revisiting this issue because I've finally had time to narrow down the
exact release where this issue first arose from so that perhaps someone who
understands the code could maybe figure out what may have happened.

From this page: https://ffmpeg.zeranoe.com/builds/win32/static/

Scroll down to here:

  ffmpeg-20160926-64545dd-win32-static.zip

   26-Sep-2016 23:10   41M
  ffmpeg-20160926-69449da-win32-static.zip

   26-Sep-2016 19:09   27M
  ffmpeg-20160924-267da70-win32-static.zip

   24-Sep-2016 22:09   27M
  ffmpeg-20160924-1212e34-win32-static.zip

   23-Sep-2016 22:11   41M

note: keep in mind that the list of releases above is in descending
chronological order (newest at the top, oldest at the bottom) exactly as it
is on the zeranoe webpage.

Starting from the old release going up here is what I've discovered..
1. September 23 2016 at 22:11 is the last version that plays video in the
mkv file.
2. September 24 2016 and September 26 2016 you'll notice that the zip
folder size drops down to 27 M. That's because if you download those two
zip folders you'll see that ffplay.exe was not included.
3. Then September 26, 2016 (later that evening) it goes back up to 41M
because it includes ffplay.  From that point on, ffplay no longer plays
mkv's for me, only audio.

So, I'm unsure what happened at that time but that if any developers want
to look into this, this is where I would start my investigation.

Thanks for any help!

Tim
___
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] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread chronek

Then i can think only about that:

ffmpeg -y -i in.mp4 -an -c:v libx264 -preset veryslow -b:v 2048k -refs 8 
-qcomp 0.7 -nr 40 -flags +loop -deblock 1:0 -pass 1 /dev/null
ffmpeg -y -i in.mp4 -c:a aac -b:a 128k -c:v libx264 -preset veryslow 
-b:v 2048k -refs 8 -qcomp 0.7 -nr 40 -flags +loop -deblock 1:0 -pass 2 
out.mp4



W dniu 2017-03-28 o 05:50, negin tebyani pisze:

The problem is that when I pause both  videos at the same scene, the other
video is so smooth and you can't see any noise, but mine is not like that.
It seems they have used some video filter or something to Remove the noise.
___



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