Re: [FFmpeg-user] Can I run TWO ffmpeg processes in parallel?

2015-11-15 Thread Henk D. Schoneveld

On 15 Nov 2015, at 14:30, James Darnley  wrote:

> On 2015-11-15 06:40, Ben Stover wrote:
>> Can I run TWO ffmpeg encoding or verification processes in parallel on the 
>> same computer?
>> 
>> Or do they interfere each other because they e.g use the same temporary 
>> files or caches or internal config files or .?
> 
> The other replies are correct.  You can, with one caveat.  If you want
> to run multiple encoding passes over a video, some stats must be stored
> in a stats file.  You must give a unique name for the stats file for
> each parallel process you are running.
This applies only when doing 2-pass encoding AFAIK
> 
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] Live WebM Streaming

2015-11-15 Thread Christian Ebert
* MKNwebsolutions . on Thursday, November 12, 2015 at 13:05:56 -0500
> I'm converting a live stream (-i rtmp) into libvpx-vp9 output to
> -webm_chunk.  This looks like it's working perfectly (minus a few must have
> future features i.e. auto delete chunks / segments).  Next we generate the
> webm dash manifest (webm_dash_manifest), where we pull the header generated
> in the prior thread.  This here seems to constantly break and is not able
> to generate the manifest.  Output responses yield Operation not permitted
> and unable to detect codec / pixels.
> 
> I've found maybe 2 threads on this subject with no answers, I'm going to
> assume no one's determined a solution out of the box yet?

I did not try chunking, but had some success with VOD and the
-dash 1 option - I guess this would not applyi to webm_chunk.

Which audio codec do you use? For me the muxer failed with libopus,
had to use libvorbis.

-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
free movies   --->>> http://www.blacktrash.org/underdogma
http://itunes.apple.com/podcast/underdogma-movies/id363423596
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] [SURVEY] Summary of first 2015 survey

2015-11-15 Thread Clément Bœsch
Hi folks,

So the October/November 2015 FFmpeg survey ended, so as promised here is a
summary. It was planed for yesterday but due to some unfortunate national
issues it was kind of postponed to today...

We got 123 answers. I was expecting more but that's a start.

  35,54% (43) A developer using the FFmpeg API
  78,51% (95) An FFmpeg command line user
  19,83% (24) An FFmpeg developer (core developer or occasional contributor)
  5,79%   (7) A packager/distributor of FFmpeg
  23,97% (29) A user of applications using FFmpeg libraries (video players,
  converters, etc)

Note: the last entry was unfortunately added after we received about 50
answers, so it's inaccurate. Sorry about that.

I will give my personal analysis of the results, which may be incorrect. If
other developers want the full data, please ask me in the next days.

Numbers
===

You can find the graph of the results of the second question here:
http://imgur.com/4yKbmDv

... from which we can basically say that users are mostly looking for more
optimizations, bug fixes and documentation. Then comes stuff on which most
people seem to agree, such as testing, cleanups, and misc simple features.
People starts to slightly disagree on the higher level API.

It seems a majority of people are satisfied with API redesign & cleanups
(68.60%) with a tendency to request more of it (19%).

Concerning backports, users are also mostly satisfied with its level, and
surprisingly do not seem to agree that much regarding LTS. Maybe that
reveals an issue with the number of releases we do?

In the same spirit, the support for old API for longer is divided as well, but
this time the tendency goes in the direction of "please stop".

Text


The textual information was giving a lot of insight, thanks to everyone who
took the time to fill them up. Again, if a developer wants a real dump of
the exact user answers, please ask (I'm uncomfortable about publishing
"anonymous" personal answers publicly).

Here is a bulk dump summary of what I noted (look for "(xN)" entries):

API redesign cleanup


 - old cruft
 - mpegvideo dissection
 - don't unless absolutely necessary
 - remove dups
 - simplify process for transcode
 - better error info/doc
 - libavfilter redesign/extension
 - lavfi bpm analyzer
 - chromaprint muxer as a filter
 - crf mode compatible accross codecs (just like bitrate)
 - hwaccel and its interop with filters
 - continue codec context cleanup, refcount, and overall simplification of
   the api
 - more error feedback at cli level
 - high level api (event based?), i/o outside of ffmpeg
 - simpler api to user, more orthogonal, less error prone
 - improve avfilter and swscale
 - code "looks" bad
 - simplification, replace swscale, ffmpeg.c needs to do less things

API documentation
-

 - more explanations in the examples (x2)
 - pts/dts/timestamp calculation consistency accross examples (x4)
 - video only, audio only, audio+video in examples
 - examples with current api (x2)
 - "everything" (x3)
 - how it all fits together (x2)
 - more implications / assumptions of single functions (x2)
 - avcodec and swscale
 - indexing, seeking, parser api
 - hwaccel
 - better api documentation, aka not Doxygen but "where do i start",
   tutorial, ... (x2)
 - filter api, memory management
 - better examples
 - missing documentation in structures members & flags
 - internal documentation

CLI documentation
-

 - more real world examples (x9): crop image, cut a fragment of a movie,
   convert video frames to images, ...
 - filter examples with the cli (x2)
 - which [f]flags affect which codecs/formats
 - clear confusions between similar options such as -r vs -framerate
 - confusing complex filter doc
 - clarify overlap between ff and x264 options
 - codec specific options
 - sparse man page
 - many options explained without context/scenario (x2)
 - input device examples
 - codec usage examples
 - hwaccel options
 - navigation, doc hard to find (wiki vs official doc)
 - dvd
 - importance of location of arguments
 - using on handling multiple streams
 - tutorial/guide style doc (x2)
 - better faq

Misc comments
-

 - ts segmenting optim for hls
 - lts
 - more upstreaming
 - 2 phase dev cycle
 - more code examples (x2) with explanations
 - jack outdev, unified cd+dvd+bluray input
 - vc1 encoder
 - python binding
 - "Stop puking on the feet of your colleagues, guys!"
 - better ivtc and other fps handling features
 - better mannered development process
 - more developed ffplay (hwaccel, doc), mpts (?) options
 - friendlier user support
 - one official lts (in order to solve most of the api related changes)
 - answer more questions on "libav-devel"
 - stop dropping thing just because of "nobody is using it"
 - android support, hwaccel and relationship with filters/bufferpool/etc,
   high level support for adaptive bitrate streaming (bandwidth stream
   switch)
 - libav & ffmpeg merge (x2)
 - 

Re: [FFmpeg-user] Specifying Video Stream with V instead of v

2015-11-15 Thread Josh Marell
On Wednesday, November 11, 2015, Moritz Barsnick  wrote:

> Hi Josh,
>
> Perfect. I had to dig through the code with a lot of av_log()s added,
> and figured out that these four streams (0:3 to 0:6) do match "-c:V"
> although they shouldn't, because their "stream disposition" doesn't
> have the property "attached_pic". (If they did, "-c:V" wouldn't match
> them.)
>
> To check for yourself, run "ffprobe -show_streams" and check for this
> from each stream:
>
> DISPOSITION:attached_pic=0
> TAG:FILENAME=small_cover_land.jpg
>
> Apparently, the Matroska demuxer doesn't set this disposition. With
> your source file, it doesn't handle the four picture streams as
> "attachments", and therefore never gets to the code which sets this
> disposition.
>
> I haven't gotten further than that. I don't know enough about Matroska
> to say what the demuxer thinks is "attachments", and whether the
> demuxer is doing something incorrectly, or whether the streams in your
> file are marked incorrectly.


I see, thank you so much for looking into this. So I think if I understood
you correctly, if I had their stream disposition set properly this would
work? I will look at if there is a way to modify this (I'm assuming it
should be set to 1 rather than 0?).

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


Re: [FFmpeg-user] Can I run TWO ffmpeg processes in parallel?

2015-11-15 Thread Henk D. Schoneveld

On 15 Nov 2015, at 06:40, Ben Stover  wrote:

> Can I run TWO ffmpeg encoding or verification processes in parallel on the 
> same computer?
> 
> Or do they interfere each other because they e.g use the same temporary files 
> or caches or internal config files or .?
AFAIK no problem at all.
> 
> 
> 
> 
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] Can I run TWO ffmpeg processes in parallel?

2015-11-15 Thread Reindl Harald


Am 15.11.2015 um 06:40 schrieb Ben Stover:

Can I run TWO ffmpeg encoding or verification processes in parallel on the same 
computer?

Or do they interfere each other because they e.g use the same temporary files 
or caches or internal config files or .?


no problem at all as ffmpeg is used for automated tasks which typically 
run in parallel and more or less uncontrolled - two processes of a CLI 
application must never collide, anything else would be a bug







signature.asc
Description: OpenPGP digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Can I run TWO ffmpeg processes in parallel?

2015-11-15 Thread James Darnley
On 2015-11-15 06:40, Ben Stover wrote:
> Can I run TWO ffmpeg encoding or verification processes in parallel on the 
> same computer?
> 
> Or do they interfere each other because they e.g use the same temporary files 
> or caches or internal config files or .?

The other replies are correct.  You can, with one caveat.  If you want
to run multiple encoding passes over a video, some stats must be stored
in a stats file.  You must give a unique name for the stats file for
each parallel process you are running.



signature.asc
Description: OpenPGP digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] artefact when upload to youtube

2015-11-15 Thread Claudiu Rad



On 11/15/2015 10:22 PM, philippe.tor...@laposte.net wrote:

Hi,

I've used ffmpeg to make a movie from a sequence of png
But, even with x264 lossless ffmpeg, i get a video on youtube with noticable 
artefact (the ugly square of cos discrete)

(the .mp4 is clean before uploading : no artefact at all with quicktime or vlc)

I guess it's not a ffmpeg problem but may be someone will lead me to the 
solution.



seriously: what would you expect after youtube's lossy encoding?
solution: encode videos the way you want and host/publish them on the 
internet yourself.


--
Claudiu

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


Re: [FFmpeg-user] artefact when upload to youtube

2015-11-15 Thread Andy Furniss

philippe.tor...@laposte.net wrote:

Hi,

I've used ffmpeg to make a movie from a sequence of png But, even
with x264 lossless ffmpeg, i get a video on youtube with noticable
artefact (the ugly square of cos discrete)


Maybe seeing this artifact and the source would be more use than saying
"the ugly square of cos discrete".

I shall have to remember to check gmail spam though as I would never
have seen this if no one replied.

Yes, mu fault as  gmail is bloody useless for mailing lists.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] artefact when upload to youtube

2015-11-15 Thread Reindl Harald


Am 16.11.2015 um 00:38 schrieb James Darnley:

On 2015-11-15 22:13, Andy Furniss wrote:

I shall have to remember to check gmail spam though as I would never
have seen this if no one replied.

Yes, mu fault as  gmail is bloody useless for mailing lists.


FYI the filter feature of Gmail lets you make messages skip the spam
box.  I setup a filter to separate ffmpeg ML messages from my inbox (a
label in Gmail terms and a folder in Thunderbird).  Since then I have
not seen a message end up in spam


no idea what gmail does wrong because the envelope of this list has a 
valid SPF record nor do i understand why people insist in using such 
mass mailers


X-Spam-Status: No, score=-100.0, tag-level=5.5, block-level=8.0
* -100 USER_IN_SPF_WHITELIST
* -0.0 SHORTCIRCUIT
* -0.0 SHORTCIRCUIT_NET_HAM Skip tests for SPF/DKIM whitelisted senders



signature.asc
Description: OpenPGP digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] artefact when upload to youtube

2015-11-15 Thread Andy Furniss

Reindl Harald wrote:


Am 16.11.2015 um 00:38 schrieb James Darnley:

On 2015-11-15 22:13, Andy Furniss wrote:

I shall have to remember to check gmail spam though as I would never
have seen this if no one replied.

Yes, mu fault as  gmail is bloody useless for mailing lists.


FYI the filter feature of Gmail lets you make messages skip the spam
box.  I setup a filter to separate ffmpeg ML messages from my inbox (a
label in Gmail terms and a folder in Thunderbird).  Since then I have
not seen a message end up in spam


no idea what gmail does wrong because the envelope of this list has a
valid SPF record nor do i understand why people insist in using such
mass mailers

X-Spam-Status: No, score=-100.0, tag-level=5.5, block-level=8.0
* -100 USER_IN_SPF_WHITELIST
* -0.0 SHORTCIRCUIT
* -0.0 SHORTCIRCUIT_NET_HAM Skip tests for SPF/DKIM whitelisted senders


It depends on the sending address - it also hits yahoo users and others.

Something to do with -

https://sites.google.com/site/oauthgoog/mlistsdkim

Link just pasted from an old discussion on the mplayer list about google 
lameness/blocking.


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


Re: [FFmpeg-user] artefact when upload to youtube

2015-11-15 Thread James Darnley
On 2015-11-15 22:13, Andy Furniss wrote:
> I shall have to remember to check gmail spam though as I would never
> have seen this if no one replied.
> 
> Yes, mu fault as  gmail is bloody useless for mailing lists.

FYI the filter feature of Gmail lets you make messages skip the spam
box.  I setup a filter to separate ffmpeg ML messages from my inbox (a
label in Gmail terms and a folder in Thunderbird).  Since then I have
not seen a message end up in spam.

(Gmail could still be better though.)



signature.asc
Description: OpenPGP digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] artefact when upload to youtube

2015-11-15 Thread Andy Furniss

James Darnley wrote:

On 2015-11-15 22:13, Andy Furniss wrote:

I shall have to remember to check gmail spam though as I would never
have seen this if no one replied.

Yes, mu fault as  gmail is bloody useless for mailing lists.


FYI the filter feature of Gmail lets you make messages skip the spam
box.  I setup a filter to separate ffmpeg ML messages from my inbox (a
label in Gmail terms and a folder in Thunderbird).  Since then I have
not seen a message end up in spam.

(Gmail could still be better though.)


Thanks, I'll have to look into that.


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


[FFmpeg-user] how to convert yuv420p to nv12 ?

2015-11-15 Thread Ran Shalit
Hi,

I am trying to convert yuv format to nv12 and to play it.
I used carphone qcif sample yuv format (yuv420p):
http://trace.eas.asu.edu/yuv/
The original sampled is played OK with yuv player.
But on trying to play the converted sample
ffmpeg -pix_fmt yuv420p -s 176x144 -i carphone_qcif.yuv -pix_fmt nv12
carphone_qcif_nv12.yuv
the result seems wrong with any yuv player I've used (i remembered to
change the setting for qcif 176x144, and NV12 but it did not help).

Is there something wrong with ffmpeg convert ?
This is the ffmpeg version I'm using:
ubuntu@ubuntu-laptop:~$ ffmpeg
FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.3, Copyright (c)
2000-2009 Fabrice Bellard, et al.


Thanks,
Ran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user