Re: [FFmpeg-user] configure made a mistake

2015-02-23 Thread Lou
On Mon, 23 Feb 2015 11:13:59 +1100
Denis Pozharskiy den...@combitel.com.au wrote:

 Hi,
 
 I got the mistake described below when try to configure the latest version
 of ffmpeg on my MacBook Pro (Yosemite 10.10.2 (14C109))
...
 yasm/nasm not found or too old. Use --disable-yasm for a crippled build.

Did you install yasm?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Streaming to ustream/twitch from Raspberry Pi

2015-02-19 Thread Lou
On Thu, 19 Feb 2015 13:21:03 +
Matt Conway conwa...@gmail.com wrote:

 pi@raspberrypi /usr/src/ffmpeg $ ffmpeg -i rtsp://
 root:FishAxisFood12@192.168.0.4/axis-media/media.amp -an -r 30 -f flv
 rtmp://ustreamurl

Are you intending to re-encode? Do you not want to stream copy instead?
http://ffmpeg.org/ffmpeg.html#Stream-copy

   configuration: --arch=armel --target-os=linux --enable-gpl
 --enable-libx264 --enable-nonfree

--enable-nonfree is superfluous here since you did not enable any
external libraries that do require it.

 Output #0, flv, to 'rtmp://ustreamurl:
   Metadata:
 title   : Media Presentation
 encoder : Lavf56.22.100
 Stream #0:0: Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p,
 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 1k tbn, 30 tbc

Do you really want to be using flv1 as the encoder? It's old and crappy.

Also, I am not familiar with your device, but can it even handle
encoding 1280x720 at your desired frame rate (with libx264)?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Prores 422 to H264, multithread leads to video glitch

2015-02-06 Thread Lou
On Fri, 6 Feb 2015 13:10:01 -0800 (PST)
thibault75 thiba...@capitalvision.fr wrote:

 ffmpeg version 0.8.16-6:0.8.16-1, Copyright (c) 2000-2014 the Libav developers

This is not ffmpeg from FFmpeg, but a so-called ffmpeg from Libav, a
fork of FFmpeg. Also, note that libav was always used by FFmpeg as a
shorthand name to refer to the FFmpeg libraries (libavcodec,
libavformat, libavutil, libavdevice, libavfilter, etc). Yes, it's
confusing, annoying, and unfortunate that they chose these names.

You are expected to use stuff from FFmpeg on this mailing list, so
you will either have to use ffmpeg from FFmpeg, or get help directly
from that fork.

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


Re: [FFmpeg-user] Looking to change QT audio files from 4 mono chanels to 4 discrete chanels

2015-01-27 Thread Lou
On Tue, 27 Jan 2015 15:46:46 +
Esnault Jean-Manuel jean-manuel.esna...@francetv.fr wrote:

 Hello All,
 
 I'm looking for help.
 
 I have a set of QT files with 4 audio mono chanels (uncompressed 48kHz).
 I need to turn these files into 4 discrete audio chanels.
 
 This can be done manually into QT7 (but it's quite long to change each chanel 
 of each file).
 
 I wonder if ffmpeg could do this, without recoding the video or the audio.
 
 Any help appreciated.
 Thanks in advance

Please show some info about your input(s) and your ffmpeg build. The
complete output of:

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


Re: [FFmpeg-user] I am confused between your FFMPEG and Sourcefordge FFMPEG

2015-01-25 Thread Lou
On Sun, Jan 25, 2015, at 06:20 PM, Dani A wrote:
 Guys,
 
 I am trying to install FFMPEG-php 0.6.0 on my server

ffmpeg-php is a dead project and it is not part of FFmpeg; therefore we
can't provide support for it. 

 how can I install the FFMPEG on my server from your site

If your distribution provides a recent ffmpeg package you can possibly
use that, but often they are outdated and you did not mention what
you're using so I can't provide more info.

Or you could download a binary:
https://ffmpeg.org/download.html

Or compile:
https://ffmpeg.org/download.html
https://trac.ffmpeg.org/wiki/CompilationGuide

 so my developers can access the video file frames and
 display them on a page, that's why I need FFMPEG.

Do you even need a wrapper library? See:
https://trac.ffmpeg.org/wiki/Using%20FFmpeg%20from%20PHP%20scripts
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] remark text in video

2015-01-25 Thread Lou
On Sun, 25 Jan 2015 14:41:42 +
Eng.Hany Ahmed micro...@hotmail.com wrote:

 helloi want make remark text or logo in the video when i transcoding
 any one have idea how i can do this please 

Sorry, but I don't understand what you mean by remark. Can you
explain in more detail what you want to do? I'm guessing the overlay
and drawtext filters would be useful for you:

http://ffmpeg.org/ffmpeg-filters.html#overlay
http://ffmpeg.org/ffmpeg-filters.html#drawtext
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] output jpeg quality

2015-01-15 Thread Lou
On Wed, Jan 14, 2015, at 11:05 PM, Green Koopa wrote:

 -q did set the jpeg compression level, making it consistent across
 frames.
 (It had no affect on the png compression level.) Thanks for the tips Lou.

For PNG you can use -compression_level. Range is 0-100. Default is 100
(highest compression, IIRC).
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] output jpeg quality

2015-01-12 Thread Lou
On Sat, 10 Jan 2015 23:21:42 -0800
Green Koopa greenko...@gmail.com wrote:

 This creates one image for each second of video:
 ffmpeg -i 00020.MTS -vf fps=fps=1 -f image2 stills-%03d.png
 
 When I change the output format to jpeg, it does the same:
 ffmpeg -i 00020.MTS -vf fps=fps=1 -f image2 stills-%03d.jpeg
 But there is a problem. The quality of the jpegs begin okay, but quickly
 deteriorate. By the tenth image or so, they are unusable. This seems
 strange to me, but this is my first day with ffmpeg.

Does it look better if you use -qscale:v (or -q:v)? It's a linear scale
of 1-31. A doubling of the value will probably (very) roughly halve the
bitrate. 2-5 are good values to try, but you can experiment.

You don't need the -f image2.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] output jpeg quality

2015-01-12 Thread Lou
On Mon, 12 Jan 2015 09:08:20 -0900
Lou l...@lrcd.com wrote:

 It's a linear scale of 1-31.

...for most FFmpeg M(J)PEG* encoders.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Problem encoding raw data frames using libx264 on Mac OS

2015-01-12 Thread Lou
On Mon, 12 Jan 2015 08:53:29 -0800 (PST)
inge inge.bech...@gmail.com wrote:

 Everything seems to be working fine, except the output is a video that only
 shows black, for the amount of time that has been encoded.

I'm guessing you're playing it with QuickTime?

 Does anyone have an idea what the problem might be?

From your console output:

  No pixel format specified, yuv444p for H.264 encoding chosen.
  Use -pix_fmt yuv420p for compatibility with outdated media players.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] audio extraction for no sound at end of video

2015-01-10 Thread Lou
On Sat, 10 Jan 2015 11:37:00 -0500
Cliff R Wong cliff.r.w...@gmail.com wrote:

 Hi. I am extracting the audio from a video file to a wav format
 
 ffmpeg -i {0} -ar 8000 -ac 1  -acodec pcm_s16le {1}.wav
 
 where {0} is the input file and {1} is the output filename.
 
 However, the last 3 minutes of the video has no sound and ffmpeg does not
 convert that so the resulting audio file is 3 minutes shorter than the
 video file. Is there an option that will keep those last 3 minutes of
 silence in the audio file?

You forgot to include the complete ffmpeg console output from your
command.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Converting to h.265, keeping all audio streams

2015-01-06 Thread Lou
On Tue, 06 Jan 2015 22:44:11 +0100
c...@kruemel.org wrote:

 Hi, I'm testing converting my h.264 movies to h.265 using ffmpeg (2.5.2 
 64-bit static):

Why?

 ffmpeg -i ${TARGET} -c:a copy -c:v libx265 -preset slow -x265-params 
 crf=24 -strict experimental ${TARGET}.mp4

You should always include the complete console output too.

 I had hoped that this would transcode the video stream, keeping all 
 audio streams. But only one audio stream is kept, the others are 
 deleted:

See http://ffmpeg.org/ffmpeg.html#Stream-selection

Then http://ffmpeg.org/ffmpeg.html#Advanced-options (particularly the
first example)
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffmpeg

2014-12-17 Thread Lou
On Thu, 18 Dec 2014 00:45:39 -
FRED COLLEY tcb1k...@live.co.uk wrote:

 Hi Every time i try and open my VIDEO’S Windows explorer closes it
 again

Did you use ffmpeg to create these videos? How is ffmpeg involved?

 now I have a message come up that it is the ffmpeg that is causing the
 problem and to contact you for advice

What is the exact message?

 I’m running vista.

I'm sorry.

Also, please note that ffmpeg-user@ffmpeg.org is the official address
for this mailing list, not ffmpeg-u...@mplayerhq.hu.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Accelerate/Decelerate video

2014-12-17 Thread Lou
On Tue, 16 Dec 2014 14:33:42 +
david reid zathrasor...@gmail.com wrote:

 I have a video that I want parts to play in real time but the majority will
 be sped up to play as a time lapse at 25x. I can get the various pieces but
 would like to have a smoother interface between the 2 speeds, so is there a
 way of taking a 10 second piece of video and using it to speed up/slow down?

slowmoVideo, which uses ffmpeg, is worth mentioning here. You can use a
Bézier curve to set your speeds.

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


Re: [FFmpeg-user] Mixing two audio files to left/right channels, but using a (stream-copied) video from a third input

2014-11-24 Thread Lou
On Mon, 24 Nov 2014 17:04:24 +0100
Alfredo Di Napoli alfredo.dinap...@gmail.com wrote:

 Hello everyone,
 
 and sorry if the title is convoluted, I couldn't find a better one. What
 I'm trying to accomplish is simple, in practice: Assume I have three files:
 - Left_Audio.mp3
 - Right_Audio.mp3
 - Video.mov
 
 (Extensions are not important). What I would like to achieve is to come up
 with a CLI command which would give me a resulting video such that:
 
 - The left audio channel of the output will be mixed from  Left_Audio.mp3
 - The right audio channel of the output will be mixed from Right_Audio.mp3
 - The video will be a stream copy of Video.mov

Since there is no info (ffmpeg console output) about your inputs I'll
assume your audio inputs are both stereo, and that you only want the
video stream from Video.mov while ignoring any other stream types:

ffmpeg -i Left_Audio.mp3 -i Right_Audio.mp3 -i Video.mov \
-filter_complex [0:a][1:a]amerge,pan=stereo|c0c0+c1|c1c2+c3[aout] \
-map 2:v -map [aout] -c:v copy -shortest output
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] brew install ffmpeg on 10.10 Yosemite for wma to mp3 batch conv.

2014-11-19 Thread Lou
On Wed, 19 Nov 2014 02:53:34 -0800 (PST)
paynito payn...@outlook.com wrote:

 bash //
 brew install ffmpeg // seems to work
 cd folder with wmas 
 for f in *.wma; do ffmpeg -y -i $f -c:a libfdk_aac -b:a 192k
 ${f%.wma}.m4a; done;
 // try a script
 - error  Unknown encoder  'libfdk_aac'
 
 
 any ideas?

I do not believe brew includes libfdk_aac support by default. As far as
I know you have to use:

  brew install ffmpeg --with-fdk-aac

Also see:
http://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX#ffmpegthroughHomebrew
http://trac.ffmpeg.org/wiki/Encode/AAC
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] conversion from h.264 to mp3 adds 0.12 seconds of silence to beginning of file

2014-11-04 Thread Lou
On Tue, 4 Nov 2014 13:09:10 -0500
Reid Oda r...@princeton.edu wrote:

 Hi list,
 
 I'm doing audio/video analysis on videos downloaded from youtube. As part
 of the process, I need to extract the audio to a form that can be opened by
 my audio analysis software. I've been using mp3, but I recently discovered
 that ffmpeg adds 0.12 seconds to the beginning of the .mp3 file. This
 causes sync problems.

Your ffmpeg command and the complete console output are missing.

Does this also occur if you use lame?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] conversion from h.264 to mp3 adds 0.12 seconds of silence to beginning of file

2014-11-04 Thread Lou
On Tue, 4 Nov 2014 15:51:05 -0900
Lou l...@lrcd.com wrote:

 Your ffmpeg command and the complete console output are missing.
 
 Does this also occur if you use lame?

I forgot to mention:

2.  Why does LAME add silence to the beginning each song?
http://lame.sourceforge.net/tech-FAQ.txt
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?

2014-09-30 Thread Lou
On Tue, 30 Sep 2014 18:35:53 +0200
skyscan...@gmx.ca wrote:

 On Tue, 30 Sep 2014 16:13:20 +0200, barsn...@gmx.net wrote:
  
  See my other response from a few minutes ago:
  Something like
  pan=5.1:FL=c0+c4:FR=c1+c5:BL=c4:BR=c5:FC=c7
  or whatever you think is correct. You may have to throw in some factors
  such as 0.5*. :-)
 
 Following up on that, this seems to be the answer:
 
 ffmpeg -i original program.ts -c:v copy -filter_complex 
 '[0:1][0:2][0:3][0:4]amerge=inputs=4,pan=5.1:FL=c0:FR=c1:FC=c2:BL=c4:BR=c5:LFE=c3'
  -c:a mp2 test.ts

In pan:

  If the ‘=’ in a channel specification is replaced by ‘’, then the
   gains for that specification will be renormalized so that the total
   is 1, thus avoiding clipping noise.
   http://ffmpeg.org/ffmpeg-filters.html#pan

Which is something you may or may not want, but I thought it was worth
mentioning.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Shrinking videos to constant height

2014-09-08 Thread Lou
On Mon, Sep 8, 2014, at 12:04 PM, Harold Goranson wrote:
 I wish to recode them as modern mp4 to 300p high and as wide as required
 to maintain correct aspect ratio, rounded to the nearest 2p. No sound,
 but all other qualities the same.

You can use the scale filter: 
  -vf scale=300:-2

https://ffmpeg.org/ffmpeg-filters.html#scale
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Problem finding codec parameters in m4v file

2014-09-04 Thread Lou
On Wed, 3 Sep 2014 13:54:11 -0700 (PDT)
ifightnoman ifightno...@gmail.com wrote:

 I have a large (1 GB) m4v file that ffmpeg is unable to decode.
 I am trying to generate a thumbnail from this file but hit the error
 message:
 
 [buffer @ 027fd600] Unable to parse option value -1 as pixel format
 Last message repeated 1 times
 [buffer @ 027fd600] Error setting option pix_fmt to value -1.
 [graph 0 input from stream 0:0 @ 027d4400] Error applying options to the
 filter.

Please show the complete ffmpeg console output.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] When merging an image with audio the resulting mp4 has a black screen

2014-09-02 Thread Lou
On Tue, 2 Sep 2014 11:54:49 -0700 (PDT)
gfmonk g...@gurudental.com wrote:

 I am using Qucktime to test but they need to play using jwplayer on a web
 page.

Using the output width from your command:

-vf scale=400:-2,format=yuv420p -movflags +faststart
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] sequence with alpha over a still renders alpha incorrectly

2014-08-29 Thread Lou
On Thu, Aug 28, 2014, at 08:17 PM, Ehren Addis wrote:
 I'm trying to put a png sequence with an embeded alpha over a still 
 image with burned in timecode.  The following has been had from 
 everything I see on the web (with the exception of using -shortest that 
 never worked).  This renders, but the alpha channel renders in a strange 
 banded sort of way.  A smooth gradation comes out like lots of 
 transparent stripes that move around.  I'm starting to suspect this 
 isn't the way the current ffmpeg would do it.  Can anyone point me in 
 the right direction for the proper syntax?
 
 ffmpeg -loop 1 -r 29.97 -i background.jpg -r 29.97 -i 
 foregroundsequence%05d.png -filter_complex overlay, 
 drawtext=fontfile=ARIAL.ttf: timecode='00\:00\:00\:00': r=29.97: 
 x=(w-tw)/2: y=h-(1*1h): fontsize=32: fontcolor=white: box=1: 
 boxcolor=0x0099 -r 29.97 -t %dur% -vcodec prores -profile:v 2 -y 
 output.mov
 
 I had to use -t instead of -shortest to get this to not encode 
 indefinitely, contrary to examples floating on the web.
 
 Thanks!

Please include the complete ffmpeg console output. Providing one of the
foregroundsequence*.png images could be helpful too.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Blur the Background with a Gradient

2014-08-22 Thread Lou
On Fri, 22 Aug 2014 17:42:01 +0800
Qianliang Zhang zhangqianli...@gmail.com wrote:

 Hi everyone,
 
 I try blur video with 'boxblur' filter, and I find it helpful. But I want
 to blur my video with a gradient, any advice?

Make a gradient that is the same size as your input video:

$ convert -size 640x480 gradient: gradient.png

Then use ffmpeg (untested example):

$ ffmpeg -i video.mkv -loop 1 -i gradient.png -filter_complex \
  [0:v]boxblur[blur]; \
   [blur][1:v]alphamerge[merged]; \
   [0:v][merged]overlay[out] \
  -map [out] output.mkv
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] How to drawtexton multi-lines using php?

2014-08-08 Thread Lou
On Fri, 8 Aug 2014 10:01:42 -0700 (PDT)
hirokku oswaldo1...@gmail.com wrote:

 I need to show the text in two separate lines, how can i do this? 

You can use two drawtext filters:

-vf drawtext,drawtext

Of course you will have to provide the necessary options to get exactly
what you want.

Alternatively your could place the text in a file with the desired
line breaks and use the textfile option in the drawtext filter.

I recommend you get command working in cli then adapt it for your PHP
script.

For more info see:

http://ffmpeg.org/ffmpeg-filters.html#drawtext-1
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Issues with video and audio streams not starting at beginning of file when using filter_complex.

2014-07-31 Thread Lou
On Wed, 30 Jul 2014 07:17:40 -0700 (PDT)
ac83 aclout...@c-spanarchives.org wrote:

 Hello, We're testing out some transcoding using filter_complex, but can't
 seem to produce video that both starts on an I-frame and starts at the same
 time as the audio. In the past we've just done -ss x -i ... -t y and things
 have worked, but with filter_complex we're consistently seeing the audio
 start before the video which causes our video streaming server to play them
 out of sync. I've tried a large variation of commands.. using trim and atrim
 w/ and w/out setpts etc..
 
 ffmpeg -y  -ss 21 -i
 /var/scratch/processRaw/f/20140729154103013_hd.trp/20140729154103013_hd.trp
[trimmed]

This is quite the command and filtergraph. Could you provide the most
simple command and console output that still has the issue? Try to
narrow down the culprit. How can we reproduce the issue? Does it occur
only with specific inputs? What player are you using?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


<    1   2   3   4