Re: [FFmpeg-user] Hosting support response on ffmpeg not working on server

2015-04-28 Thread Lou
On Tue, Apr 28, 2015, at 09:59 AM, Waleed Afridi wrote:
> =
> FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers

Ancient and unsupported. See:
http://ffmpeg.org/download.html

You did not include your actual command. Without that information it is
impossible to know what your did and therefore impossible to provide any
answers.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] streaming only audio from YouTube

2015-04-28 Thread kath g
Hello


Can we stream and save audio from YouTube using ffmpeg. The audio is about 10 
hrs long. I use manjaro with ffmpeg. 


Thanks

Kath

Sent from Yahoo Mail on Android

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


[FFmpeg-user] Hosting support response on ffmpeg not working on server

2015-04-28 Thread Waleed Afridi
=
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandir=/usr/share/man --incdir=/usr/include --disable-avisynth
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC'
--enable-avfilter --enable-avfilter-lavf --enable-libdc1394
--enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin
--enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl
--enable-nonfree --enable-postproc --enable-pthreads --enable-shared
--enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[flv @ 0x18b6670]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00
(1000/1) -> 25.00 (25/1)
Input #0, flv, from '20051210-w50s.flv':
Metadata:
duration : 17
width : 360
height : 288
videodatarate : 260
framerate : 25
videocodecid : 4
audiodatarate : 40
audiodelay : 0
audiocodecid : 2
canSeekToEnd : 1
creationdate : Fri Feb 03 11:52:46 2006

Duration: 00:00:16.92, start: 0.00, bitrate: 306 kb/s
Stream #0.0: Video: vp6f, yuv420p, 360x288, 266 kb/s, 25 tbr, 1k tbn, 1k
tbc
Stream #0.1: Audio: mp3, 22050 Hz, 2 channels, s16, 40 kb/s
File '20051210-w50s.mp4' already exists. Overwrite ? [y/N] y
[libx264 @ 0x18ba170]broken ffmpeg default settings detected
[libx264 @ 0x18ba170]use an encoding preset (e.g. -vpre medium)
[libx264 @ 0x18ba170]preset usage: -vpre  -vpre 
[libx264 @ 0x18ba170]speed presets are listed in x264 --help
[libx264 @ 0x18ba170]profile is optional; x264 defaults to high
Output #0, mp4, to '20051210-w50s.mp4':
Stream #0.0: Video: libx264, yuv420p, 360x288, q=2-31, 200 kb/s, 90k tbn,
25 tbc
Stream #0.1: Audio: libfaac, 22050 Hz, 2 channels, s16, 64 kb/s
Output #1, mjpeg, to '20051210-w50s.jpg':
Stream #1.0: Video: mjpeg, yuvj420p, 360x288, q=2-31, 200 kb/s, 90k tbn, 1
tbc
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Stream #0.0 -> #1.0
Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height
===

-- 

*Waleed Afridi*
*Web Engineer*

*Alliance IT Solutions*
*www.waleedafridi.com *
*Mob: 0333-9010689*
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-28 Thread kevin
On Mon, Apr 27, 2015 at 6:12 AM, kevin  wrote:

> On Mon, Apr 27, 2015 at 5:11 AM, Matthieu Bouron <
> matthieu.bou...@gmail.com> wrote:
>
>> On Mon, Apr 27, 2015 at 1:49 PM, Carl Eugen Hoyos 
>> wrote:
>>
>> > Matthieu Bouron  gmail.com> writes:
>> >
>> > > Does reverting the following commit
>> > > 1e9d035b91100b75edc964914df638863f188a4f helps you ?
>> >
>> > I cannot find this revision...
>> >
>>
>>
>> Sorry this local one was pointing to the revert. The right one is
>> cf16b459a873b990efc10d93e9912ab01b8a0fba
>> "libavdevice/avfoundation: use pts/dts provided by the CMSampleBuffer API"
>
>
> No this does not fix it. Output file, command, git log below:
> ./ffmpeg -f avfoundation -video_size 640x480 -framerate 30 -i "1:0" -c:v
> mpeg4 -c:a aac -strict -2 -r 30 ffmpeg-pts-reverted.mp4
>
> https://www.dropbox.com/s/72335m3cxajhkbn/ffmpeg-pts-reverted.mp4?dl=1
>

Any suggestions? Happy to help in anyway to fix this issue.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffserver crashes from time to time

2015-04-28 Thread En Figureo Canal
Hello.

No clue on this problem?

Anyone?

On Mon, Apr 27, 2015 at 7:00 PM, En Figureo Canal 
wrote:

> I can't find any log at all of what really happened, but this is how the
> crash occurs:
>
> As stated on a previous post, I'm feeding the server from my home pc like
> this:
>
> ffmpeg –rtbufsize 1500M –f show audio=”input” –vn –acodec libmp3lame –ab
>> 128k –abufsize 256k http://ffserverip:8090/feedname.ffm
>
>
>
> 
>>
>> File /root/radio56.ffm
>>
>> FileMaxSize 200K
>>
>> 
>>
>>
>>> 
>>
>> Feed radio56.ffm
>>
>> Format rtp
>>
>>
>>> AudioBitRate 128
>>
>> AudioChannels 2
>>
>> AudioSampleRate 44100
>>
>> AudioCodec libmp3lame
>>
>>
>>> NoVideo
>>
>> 
>>
>>
>>
> I'm listening to the stream on iPhone running MDC Live Media Player.
> Sometimes if I close the app while receiving the stream causes the server
> to crash. This time I had to do it several time but, it crashed it.
>
>
>
>
> On Mon, Apr 27, 2015 at 6:39 PM, En Figureo Canal  > wrote:
>
>> Once again I was able to recreate the crash but it just locks out on me,
>> no output NOTHING.
>>
>> It looks like something just kills the process some how.
>>
>> Is there a log file where I can now get the output of what just happened?
>>
>>
>>
>>
>>
>> On Mon, Apr 27, 2015 at 6:11 PM, En Figureo Canal <
>> figureo56@gmail.com> wrote:
>>
>>> Just recompiled an reinstalled.
>>>
>>> Would be testing now...
>>>
>>> On Mon, Apr 27, 2015 at 5:14 PM, En Figureo Canal <
>>> figureo56@gmail.com> wrote:
>>>

 Is not there, could it be that I issued a make distclean 

 I installed two severs, one locally and the other remote and in neither
 ffserver_g appears.



 On Mon, Apr 27, 2015 at 5:06 PM, Moritz Barsnick 
 wrote:

> On Mon, Apr 27, 2015 at 16:51:48 -0400, En Figureo Canal wrote:
> > ./ffserver_g: No such file or directory.
> > Starting program:  -f /etc/ffserver
> > No executable file specified.
> > Use the "file" or "exec-file" command.
> >
> > I even searched for ffserver_g and is NOT found
>
> It should be in the directory where you were in when you called "make
> install".
>
> Moritz
> ___
> 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


[FFmpeg-user] Comparing keyframes of videos for proper alignment

2015-04-28 Thread Joel Lopez
Hi,

I'm trying to verify that the keyframes of videos we are using are properly
aligned.  I've found ffprobe to extract the some info but I'm not sure what
data I should be comparing.

This is so that we can do some adaptive bitrate switching using an SMIL
file for RTMP, HLS and eventually MPEG-DASH.  I've been reading that they
keyframes should be a constant 3 seconds apart.  Hopefully someone has some
experience in this.

[FRAME]

media_type=video

key_frame=1

pkt_pts=0

pkt_pts_time=0.00

pkt_dts=0

pkt_dts_time=0.00

best_effort_timestamp=0

best_effort_timestamp_time=0.00

pkt_duration=100

pkt_duration_time=0.03

pkt_pos=48

pkt_size=2950

width=1280

height=720

pix_fmt=yuv420p

sample_aspect_ratio=N/A

pict_type=I

coded_picture_number=0

display_picture_number=0

interlaced_frame=0

top_field_first=0

repeat_pict=0

[/FRAME]

[FRAME]

media_type=video

key_frame=0

pkt_pts=100

pkt_pts_time=0.03

pkt_dts=100

pkt_dts_time=0.03

best_effort_timestamp=100

best_effort_timestamp_time=0.03

pkt_duration=100

pkt_duration_time=0.03

pkt_pos=3136

pkt_size=140

width=1280

height=720

pix_fmt=yuv420p

sample_aspect_ratio=N/A

pict_type=B

coded_picture_number=2

display_picture_number=0

interlaced_frame=0

top_field_first=0

repeat_pict=0

[/FRAME]

[FRAME]

media_type=video

key_frame=0

pkt_pts=200

pkt_pts_time=0.07

pkt_dts=200

pkt_dts_time=0.07

best_effort_timestamp=200

best_effort_timestamp_time=0.07

pkt_duration=100

pkt_duration_time=0.03

pkt_pos=2998

pkt_size=138

width=1280

height=720

pix_fmt=yuv420p

sample_aspect_ratio=N/A

pict_type=P

coded_picture_number=1

display_picture_number=0

interlaced_frame=0

top_field_first=0

repeat_pict=0

[/FRAME]

[FRAME]

media_type=video

key_frame=0

pkt_pts=300

pkt_pts_time=0.10

pkt_dts=300

pkt_dts_time=0.10

best_effort_timestamp=300

best_effort_timestamp_time=0.10

pkt_duration=100

pkt_duration_time=0.03

pkt_pos=3414

pkt_size=140

width=1280

height=720

pix_fmt=yuv420p

sample_aspect_ratio=N/A

pict_type=B

coded_picture_number=4

display_picture_number=0

interlaced_frame=0

top_field_first=0

repeat_pict=0

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


Re: [FFmpeg-user] Broken installation after OSX update

2015-04-28 Thread Joel Lopez
It's fixed.  My homebrew was also broken after the update.  I got that
working then reinstalled ffmpeg and all is well.

Thanks for the help.

On Tue, Apr 28, 2015 at 2:04 PM, Joel Lopez  wrote:

> Because I'm a novice.
>
> jlo-MacBook-Pro:Cellar jlopez$ /usr/local/bin/ffmpeg
>
> -bash: /usr/local/bin/ffmpeg: No such file or directory
>
>
>
>
> On Tue, Apr 28, 2015 at 2:02 PM, Reindl Harald 
> wrote:
>
>>
>> Am 28.04.2015 um 22:58 schrieb Joel Lopez:
>>
>>> It wouldn't run.
>>> (I'm a novice command line user.  This is good practice)
>>>
>>>
>>> jlo-MacBook-Pro:Cellar jlopez$ ./usr/local/bin/ffmpeg
>>>
>>> -bash: ./usr/local/bin/ffmpeg: No such file or directory
>>>
>>
>> and why do you call it with ./ which means a relative path from whereever
>> you are instead /usr/local/bin/ffmpeg?
>>
>>
>> ___
>> 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] Broken installation after OSX update

2015-04-28 Thread Joel Lopez
Because I'm a novice.

jlo-MacBook-Pro:Cellar jlopez$ /usr/local/bin/ffmpeg

-bash: /usr/local/bin/ffmpeg: No such file or directory




On Tue, Apr 28, 2015 at 2:02 PM, Reindl Harald 
wrote:

>
> Am 28.04.2015 um 22:58 schrieb Joel Lopez:
>
>> It wouldn't run.
>> (I'm a novice command line user.  This is good practice)
>>
>>
>> jlo-MacBook-Pro:Cellar jlopez$ ./usr/local/bin/ffmpeg
>>
>> -bash: ./usr/local/bin/ffmpeg: No such file or directory
>>
>
> and why do you call it with ./ which means a relative path from whereever
> you are instead /usr/local/bin/ffmpeg?
>
>
> ___
> 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] Broken installation after OSX update

2015-04-28 Thread Reindl Harald


Am 28.04.2015 um 22:58 schrieb Joel Lopez:

It wouldn't run.
(I'm a novice command line user.  This is good practice)


jlo-MacBook-Pro:Cellar jlopez$ ./usr/local/bin/ffmpeg

-bash: ./usr/local/bin/ffmpeg: No such file or directory


and why do you call it with ./ which means a relative path from 
whereever you are instead /usr/local/bin/ffmpeg?




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


Re: [FFmpeg-user] Broken installation after OSX update

2015-04-28 Thread Joel Lopez
It wouldn't run.
(I'm a novice command line user.  This is good practice)


jlo-MacBook-Pro:Cellar jlopez$ ./usr/local/bin/ffmpeg

-bash: ./usr/local/bin/ffmpeg: No such file or directory



But I decided to investigate


jlo-MacBook-Pro:~ jlopez$ ls -al /usr/local/bin/ffm*

lrwxr-xr-x  1 jlopez  admin  31 Apr 18  2013 /usr/local/bin/ffmpeg ->
../Cellar/ffmpeg/1.2/bin/ffmpeg



When I look in Cellar ffmpeg isn't in there anymore.

jlo-MacBook-Pro:Cellar jlopez$ ls

openssl wget


I suspect I had a homebrew install and homebrew broke too.





On Tue, Apr 28, 2015 at 11:57 AM, Carl Eugen Hoyos  wrote:

> Joel Lopez  gmail.com> writes:
>
> > /usr/local/bin/ffmpeg
>
> What's wrong with this binary?
>
> Carl Eugen
>
> ___
> 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] Broken installation after OSX update

2015-04-28 Thread Lou
On Tue, Apr 28, 2015, at 11:14 AM, Waleed Afridi wrote:
> The application already work perfectly on WAMP as i install ffmepg it on
> window.

Please do not reply to another user's thread with questions involving an
unrelated topic (I am assuming you are not also Joel Lopez). This is
called "thread hijacking" and causes confusion.

Also, try to avoid top-posting; it is discouraged here.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffmpeg not working on server

2015-04-28 Thread Reindl Harald



Am 28.04.2015 um 21:32 schrieb Reindl Harald:

Am 28.04.2015 um 21:18 schrieb Waleed Afridi:

Can you suggest me anything, From where i got help ?


ask the guys behind "libav" which thought they are smart and fork the
project -> https://www.google.at/search?q=liav+versus+ffmpeg


oh - i overlooked the "ffmpeg-php" and thought once again a 
debian/ubutnu user with the liabav fork and a years old version


however "ffmpeg-php" is dead for years and worth nothing because it did 
never anything useful in conext of *encoding*



On Wed, Apr 29, 2015 at 12:00 AM, Carl Eugen Hoyos 
wrote:


Waleed Afridi  gmail.com> writes:


ffmpeg-php version 0.6.0-svn


This is an unrelated project for which no support
was ever offered here




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


Re: [FFmpeg-user] ffmpeg not working on server

2015-04-28 Thread Lou
On Tue, Apr 28, 2015, at 11:18 AM, Waleed Afridi wrote:
> Can you suggest me anything, From where i got help ?

ffmpeg-php, or at least the iteration you are using, is a long dead
project. You will likely not get help for that anywhere.

You need to decide if you even need a PHP wrapper for ffmpeg. You could
possibly just execute the binary from your script. See:
http://trac.ffmpeg.org/wiki/PHP

I did not look at your PHP script because we do not provide support for
scripts here. We can only provide support for unscripted commands for
the various FFmpeg cli tools.

If you manually run your ffmpeg command in a console, and you have an
issue, we can probably help with that. If the ffmpeg cli command works,
and the problem is with your script we can't provide help for that and
you would need to go to a PHP help resource.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffmpeg not working on server

2015-04-28 Thread Reindl Harald



Am 28.04.2015 um 21:18 schrieb Waleed Afridi:

Can you suggest me anything, From where i got help ?


ask the guys behind "libav" which thought they are smart and fork the 
project -> https://www.google.at/search?q=liav+versus+ffmpeg



On Wed, Apr 29, 2015 at 12:00 AM, Carl Eugen Hoyos  wrote:


Waleed Afridi  gmail.com> writes:


ffmpeg-php version 0.6.0-svn


This is an unrelated project for which no support
was ever offered here




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


Re: [FFmpeg-user] Broken installation after OSX update

2015-04-28 Thread Reindl Harald



Am 28.04.2015 um 21:14 schrieb Waleed Afridi:

The application already work perfectly on WAMP as i install ffmepg it on
window.

Than my client purchase a dedicated sever for his application(makechange.tv)
developed in PHP.
After that i transfer whole application to server already installed ffmpeg
by there support team.

But when i upload a file and trying to convert it to .mp4 format than it
generate blank thumbnail and empty video file
I already sent my code and also configuration

I also discuse this with hosting company, the send me whole details which i
also send you in my last email.

I try my best but no one help me in this stage as using ffmpeg for video
conversion


you write a lot of text with no content

* windows is not part of the game here
* "-bash: ffmpeg: command not found" when it exists at /usr/local/bin
  is pretty clear a PATH issue
* black images and videos sounds like it si indeed called but
  without the complete input/output of the CLI calls useless information
* finally you don't provide *aynthing* to work with


On Tue, Apr 28, 2015 at 11:57 PM, Carl Eugen Hoyos  wrote:


Joel Lopez  gmail.com> writes:


/usr/local/bin/ffmpeg


What's wrong with this binary?




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


Re: [FFmpeg-user] ffmpeg not working on server

2015-04-28 Thread Waleed Afridi
Can you suggest me anything, From where i got help ?

On Wed, Apr 29, 2015 at 12:00 AM, Carl Eugen Hoyos  wrote:

> Waleed Afridi  gmail.com> writes:
>
> > ffmpeg-php version 0.6.0-svn
>
> This is an unrelated project for which no support
> was ever offered here.
>
> Carl Eugen
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



-- 

*Waleed Afridi*
*Web Engineer*

*Alliance IT Solutions*
*www.waleedafridi.com *
*Mob: 0333-9010689*
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Broken installation after OSX update

2015-04-28 Thread Waleed Afridi
The application already work perfectly on WAMP as i install ffmepg it on
window.

Than my client purchase a dedicated sever for his application(makechange.tv)
developed in PHP.
After that i transfer whole application to server already installed ffmpeg
by there support team.

But when i upload a file and trying to convert it to .mp4 format than it
generate blank thumbnail and empty video file
I already sent my code and also configuration

I also discuse this with hosting company, the send me whole details which i
also send you in my last email.

I try my best but no one help me in this stage as using ffmpeg for video
conversion




On Tue, Apr 28, 2015 at 11:57 PM, Carl Eugen Hoyos  wrote:

> Joel Lopez  gmail.com> writes:
>
> > /usr/local/bin/ffmpeg
>
> What's wrong with this binary?
>
> Carl Eugen
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



-- 

*Waleed Afridi*
*Web Engineer*

*Alliance IT Solutions*
*www.waleedafridi.com *
*Mob: 0333-9010689*
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffmpeg not working on server

2015-04-28 Thread Carl Eugen Hoyos
Waleed Afridi  gmail.com> writes:

> ffmpeg-php version 0.6.0-svn

This is an unrelated project for which no support 
was ever offered here.

Carl Eugen

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


Re: [FFmpeg-user] Broken installation after OSX update

2015-04-28 Thread Carl Eugen Hoyos
Joel Lopez  gmail.com> writes:

> /usr/local/bin/ffmpeg

What's wrong with this binary?

Carl Eugen

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


[FFmpeg-user] Broken installation after OSX update

2015-04-28 Thread Joel Lopez
I seem to have broken my ffmpeg install on OSX after an update.  But I
can't remember if I compiled it or used homebrew to install it.  How can
uninstall and reinstall or repair it?  Does it matter how it's removed?


I now see this when I run the command:

jlo-MacBook-Pro:~ jlopez$ ffmpeg -i

-bash: ffmpeg: command not found


If I run a locate ffmpeg I see it's in there:

jlo-MacBook-Pro:~ jlopez$ locate ffmpeg

/Applications/Google Chrome.app/Contents/Versions/43.0.2357.18/Google
Chrome Framework.framework/Libraries/ffmpegsumo.so

/Applications/Google Chrome.app/Contents/Versions/43.0.2357.37/Google
Chrome Framework.framework/Libraries/ffmpegsumo.so

/Applications/SlingplayerForChrome.app/Contents/Frameworks/Chromium
Embedded Framework.framework/Libraries/ffmpegsumo.so

/Library/Application Support/._ffmpegX

/Library/Application Support/ffmpegX

/Library/Application Support/ffmpegX/.DS_Store

/Library/Application Support/ffmpegX/._mp2enc

/Library/Application Support/ffmpegX/._tcextract

/Library/Application Support/ffmpegX/._vcdxbuild

/Library/Application Support/ffmpegX/._vcdxgen

/Library/Application Support/ffmpegX/._yuvdenoise

/Library/Application Support/ffmpegX/._yuvscaler

/Library/Application Support/ffmpegX/._yuvtools.tgz

/Library/Application Support/ffmpegX/gocr

/Library/Application Support/ffmpegX/gocrfilter_en.sed

/Library/Application Support/ffmpegX/gocrfilter_fr.sed

/Library/Application Support/ffmpegX/gocrfilter_nl.sed

/Library/Application Support/ffmpegX/gocrfilter_none.sed

/Library/Application Support/ffmpegX/mencoder

/Library/Application Support/ffmpegX/mp2enc

/Library/Application Support/ffmpegX/mpeg2enc

/Library/Application Support/ffmpegX/mplayer

/Library/Application Support/ffmpegX/subtitle2pgm

/Library/Application Support/ffmpegX/tcextract

/Library/Application Support/ffmpegX/vcdxbuild

/Library/Application Support/ffmpegX/vcdxgen

/Library/Application Support/ffmpegX/yuvdenoise

/Library/Application Support/ffmpegX/yuvscaler

/Library/Application Support/ffmpegX/yuvtools.tgz

/usr/local/Library/Formula/ffmpeg.rb

/usr/local/Library/Formula/ffmpeg2theora.rb

/usr/local/Library/Formula/ffmpegthumbnailer.rb

/usr/local/Library/LinkedKegs/ffmpeg

/usr/local/bin/ffmpeg

/usr/local/opt/ffmpeg

/usr/local/share/ffmpeg

/usr/local/share/man/man1/ffmpeg-bitstream-filters.1

/usr/local/share/man/man1/ffmpeg-codecs.1

/usr/local/share/man/man1/ffmpeg-devices.1

/usr/local/share/man/man1/ffmpeg-filters.1

/usr/local/share/man/man1/ffmpeg-formats.1

/usr/local/share/man/man1/ffmpeg-protocols.1

/usr/local/share/man/man1/ffmpeg-resampler.1

/usr/local/share/man/man1/ffmpeg-scaler.1

/usr/local/share/man/man1/ffmpeg-utils.1

/usr/local/share/man/man1/ffmpeg.1

/usr/share/zsh/5.0.5/functions/_ffmpeg
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] cutting iFrame only media

2015-04-28 Thread Mohammadtorabi
Hi,I have created an iFrame only MXF file by the command below using
FFmpeg:value of -ss and -t is base on nearest iFrame before the mark-in and
after mark-out.[code]ffmpeg -ss 3020.58 -i "input file name.MXF" -t 20.5205
-threads 4 -pix_fmt yuv420p-flags +ildct+ilme -vcodec mpeg2video -top 1 -dc
10 -intra_vlc 1 -qmin 1 -lmin 1*QP2LAMBDA -vtag xd5c -g 0 -rc_max_vbv_use 1
-rc_min_vbv_use 1 -b:v 35000k -bufsize 35000k -minrate 35000k -maxrate
35000k -aspect 16:9 -vf "scale=-1:1080" -r 29.97 -f mxf -y "iFrame Only
output file name.MXF"[/code]the log of running command is below:[code]ffmpeg
version N-71737-gb410c69 Copyright (c) 2000-2015 the FFmpeg developers 
built with gcc 4.9.2 (GCC)  configuration: --enable-gpl --enable-version3
--disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig
--enable-frei0r --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec
--enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma
--enable-decklink --enable-zlib  libavutil  54. 23.101 / 54. 23.101 
libavcodec 56. 35.101 / 56. 35.101  libavformat56. 31.100 / 56.
31.100  libavdevice56.  4.100 / 56.  4.100  libavfilter 5. 14.100 / 
5. 14.100  libswscale  3.  1.101 /  3.  1.101  libswresample   1.  1.100
/  1.  1.100  libpostproc53.  3.100 / 53.  3.100Guessed Channel Layout
for  Input Stream #0.1 : stereoInput #0, mxf, from 'input file name.MXF': 
Metadata:uid : adab4424-2f25-4dc7-92ff-29bd000b   
generation_uid  : adab4424-2f25-4dc7-92ff-29bd000b0001company_name:
FFmpegproduct_name: OP1a Muxerproduct_version : 54.63.104   
product_uid : adab4424-2f25-4dc7-92ff-29bd000b0002modification_date:
-01-01 00:00:00material_package_umid:
0x060A2B340101010501010D0013E00EE4529471344CE00EE400529471344CE000   
timecode: 00:00:00;00  Duration: 01:00:00.03, start: 0.00,
bitrate: 4592 kb/sStream #0:0: Video: mpeg2video (Main), yuv420p(tv,
unknown/bt709/bt709), 1920x1080 [SAR 1:1 DAR 16:9], max. 35000 kb/s, 29.97
fps, 29.97 tbr, 29.97 tbn, 59.94 tbcMetadata:  file_package_umid:
0x060A2B340101010501010D0013E00EE4529471344CE00EE400529471344CE001Stream
#0:1: Audio: pcm_s24le, 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s   
Metadata:  file_package_umid:
0x060A2B340101010501010D0013E00EE4529471344CE00EE400529471344CE001[mpeg2video
@ 04edd140] Warning vbv_delay will be set to 0x (=VBR) as the
specified vbv buffer is too large for the given bitrate!Output #0, mxf, to
'iFrame Only output file name.MXF':  Metadata:uid :
adab4424-2f25-4dc7-92ff-29bd000bgeneration_uid  :
adab4424-2f25-4dc7-92ff-29bd000b0001company_name: FFmpeg   
product_name: OP1a Muxerproduct_version : 54.63.104product_uid
: adab4424-2f25-4dc7-92ff-29bd000b0002modification_date: -01-01
00:00:00material_package_umid:
0x060A2B340101010501010D0013E00EE4529471344CE00EE400529471344CE000   
timecode: 00:00:00;00encoder : Lavf56.31.100Stream
#0:0: Video: mpeg2video (xd5c / 0x63356478), yuv420p, 1920x1080 [SAR 1:1 DAR
16:9], q=1-31, 35000 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbcMetadata: 
file_package_umid:
0x060A2B340101010501010D0013E00EE4529471344CE00EE400529471344CE001 
encoder : Lavc56.35.101 mpeg2videoStream #0:1: Audio: pcm_s16le,
48000 Hz, stereo, s16 (24 bit), 1536 kb/sMetadata: 
file_package_umid:
0x060A2B340101010501010D0013E00EE4529471344CE00EE400529471344CE001 
encoder : Lavc56.35.101 pcm_s16leStream mapping:  Stream #0:0 ->
#0:0 (mpeg2video (native) -> mpeg2video (native))  Stream #0:1 -> #0:1
(pcm_s24le (native) -> pcm_s16le (native))Press [q] to stop, [?] for
help[mxf @ 02d98440] -d10_channelcount requires MXF D-10 and will be
ignoredframe=  615 fps=313 q=0.8 Lsize=   91196kB time=00:00:20.52
bitrate=36406.4kbits/svideo:86605kB audio:3848kB subtitle:0kB other
streams:0kB global headers:0kB muxing overhead: 0.822079%[/code]then used
the iFrame only file as input file and the command below to cut a chunk of
it.[code]ffmpeg -ss 0.2002 -i "iFrame Only output file name.MXF" -c:v copy
-t [b]19.9533[/b] -an -f MXF -y "iFrame Only Video_1.MXF"[/code]the log of
the command is:[code]ffmpeg version N-71737-gb410c69 Copyright (c) 2000-2015
the FFmpeg developers  built with gcc 4.9.2 (GCC)  configuration:
--enable-gpl --enable-version3 --disable-w32threads --enable-avisynth
--enable-bzl

[FFmpeg-user] ffmpeg not working on server

2015-04-28 Thread Waleed Afridi
Hi

I am using ffmpeg for video conversion, i already configure it on my locale
server(WAMP) which work perfectly with shell_exec(escapeshellcmd(code));

For completed code PFA

When i online that on dedicated server(linux) with path (Path to the
binary: /usr/bin/ffmpeg )

It cannot convert video and also thumbnail, but generate empty video and
blank image

I already attached my locale(my locale setting.png) and
online(Makechange.tv library.PNG) library installed info
If my code is not correct for server than let me know the correct one.


Thanks

-- 

*Waleed Afridi*
*Web Engineer*

*Alliance IT Solutions*
*Mob: 0333-9010689*
<>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] difference in timing (instead of record duration in seconds) ...

2015-04-28 Thread Moritz Barsnick
> On Sat, Apr 25, 2015 at 11:54 PM, Albretch Mueller 
> wrote:
> >  avconv has just an option for recording duration not time difference

Recording duration and time difference is the same thing to me, both
expressed by ffmpeg's "-t" option. (And avconf is not supported here,
wrong tool.)

> >  Say, you need just a segment of a video from after the first five
> > minutes and a half ("00:05:30") for an hour fifteen minutes and
> > twenty seconds from time 0 (not after start of desired segment)
> > have passed ("01:15:20")

So you want to specify the end point of time, _not_ the difference to
the beginning?

> >  How can you do that?

ffmpeg hase the "-to" option, which _should_ do the right thing. It
calculates the difference (which you would need to pass to "-t"
otherwise) itself.

$ ffmpeg -ss 00:05:30 -i input -to 01:15:20

(I - myself -  had a problem though: My impression was that the "-to"
option doesn't look at the file position (as "-ss" does), but rather at
the timestamp in the video stream or something else. And in my files,
that is often totally different. It would be so very practical for me
if it did work! I checked the source code though. It should work
correctly.)

On Tue, Apr 28, 2015 at 19:25:27 +0530, prashantha S wrote:
> Can you try with "-ss " option and "-t" options

No, that is time difference, and not what I think Albretch meant.

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


Re: [FFmpeg-user] difference in timing (instead of record duration in seconds) ...

2015-04-28 Thread prashantha S
Can you try with "-ss " option and "-t" options

On Sat, Apr 25, 2015 at 11:54 PM, Albretch Mueller 
wrote:

>  Say, you need just a segment of a video from after the first five
> minutes and a half ("00:05:30") for
> an hour fifteen minutes and twenty seconds from time 0 (not after
> start of desired segment) have passed ("01:15:20")
>
>  How can you do that?
>
>  avconv has just an option for recording duration not time difference
>
>  lbrtchx
>  ffmpeg-user@ffmpeg.org: difference in timing (instead of record
> duration in seconds) ...
> ___
> 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] play raw h.264 - timing between frames

2015-04-28 Thread Carl Eugen Hoyos
Ran Shalit  gmail.com> writes:

> I would like to ask how FFmpeg ffplay knows the 
> correct timing between frames in raw h.264 file ?

It generally doesn't / missing H264 timestamps are 
a known issue.

Carl Eugen

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


[FFmpeg-user] How to generate IRT conform D10 IMX50 MXFs (and how to set the output color_range, -space, -transfer and primaries flags)

2015-04-28 Thread Christoph Gerstbauer

Hello

I am making tests with IMX50/MXF encodings with FFMBC and FFMPEG. (with 
24bit audio)
The tests compare the final files with the IRT MXF Analyzer Pro tool to 
be shure to be IRT conform.

(My used syntax is at the bottom of this mail)

Both files (generated with ffmbc and ffmpeg) are working very well in 
editing tools but there is a little difference:


The IMX50 generated by ffmbc has no errors/warnings at IRT MXF Analyzer 
(with16bit audio). It is really perfect. In fact I never had a clean 
"green" MXF by testing other probes from other encoding tools. Only the 
IRT probes itself are clean. So this MXF is IRT conform when using the 
ffmbc standard target preset "imx50".


The Analyzis of the IMX50/MXF generated by FFMPEG (latest build from 
zeganoe) has 1 warning and 1 error:


WARNING:
"Fill Item Key with a wrong RP210 (SMPTE Metadata Dictionary) version 
number of 0x01. The correct version number is 0x02"


ERROR: "The Sound Essence Descriptor signals that the number if 
quantization bits is 24, which is higher than actually required (16) as 
detemined by parsing the essence."



Due to the fact that I am producing 24bit audio I could prevent the 
WARNING by producing 16bit audio. But is there a problem in the MXF when 
producing 24bit? Sound works in editing tools.
Furthermore ffmbc produces for standard a IMX with 16bit -> If I force 
ffmbc to do 24bit, I get the same error.


Due to the warning: I found out that both files are different regarding 
these values (by reading out via ffprobe - show_streams)


FFMBC IMX FILE stream 0:0:
color_range=tv
color_space=smpte170m
color_transfer=bt709
color_primaries=bt470bg


FFMPEG IMX FILE stream 0:0:
color_range=tv
color_space=unknown
color_transfer=unknown
color_primaries=unknown


So my questions are :

1.) How can I produce (with ffmpeg) the same output like ffmbc with 
these 4 metadata flags:

color_range=tv
color_space=smpte170m
color_transfer=bt709
color_primaries=bt470bg
I didnt found a answer to that in the ffmpeg documentation :/

2.) Maybe somebody knows: Do these 4 metadata flags have a connection to 
the Warning message of the MXF Analyzer? -> "Fill Item Key with a wrong 
RP210 (SMPTE Metadata Dictionary) version number of 0x01. The correct 
version number is 0x02"
If nobody know this answer I could do the test for myself by be able to 
encode with the upper params in 1.).


3.) Is there an syntax option in ffmpeg for 24bit audio encoding to 
prevent this ERROR:
"The Sound Essence Descriptor signals that the number if quantization 
bits is 24, which is higher than actually required (16) as detemined by 
parsing the essence."



Best Regards
Christoph




USED SYNTAX:

-

FFmbc (16bit audio):

ffmbc -i I:\IMX_tests\IMX50_CARBON.avi -target imx50 
I:\IMX_tests\_FFMBC_PAL_IMX_16bit_2.mxf -loglevel debug

FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
Input #0, avi, from 'I:\IMX_tests\IMX50_CARBON.avi':
  Metadata:
encoder: Lavf55.0.100
ISMP: 00:00:00:00
  Duration: 00:00:20.00, start: 0.00, bitrate: 113291 kb/s
Stream #0.0(und): Video: ffvhuff, yuv422p, 720x608p, PAR 152:135 
DAR 4:3, 25.00 fps

Stream #0.1(und): Audio: pcm_s24le, 48000 Hz, stereo, s32, 2304 kb/s
File 'I:\IMX_tests\_FFMBC_PAL_IMX_16bit_2.mxf' already exists. Overwrite 
? [y/N] y
[buffer @ 018E07E0] w:720 h:608 pixfmt:yuv422p tb:1/100 
sar:152/135 sws_param:
Incompatible sample format 's32' for codec 'pcm_s16le', auto-selecting 
format 's16'

Warning, QMAT_SHIFT is larger than 21, overflows possible
Last message repeated 1 times
Output #0, mxf_d10, to 'I:\IMX_tests\_FFMBC_PAL_IMX_16bit_2.mxf':
  Metadata:
encoder: FFmbc 0.7
Stream #0.0(und), 0, 1/25: Video: mpeg2video, yuv422p, 720x608i tff 
[PAR 152:135 DAR 4:3], tbc 1/25, cbr, 5 kb/s, 25.00 fps
Stream #0.1(und), 0, 1/48000: Audio: pcm_s16le, 48000 Hz, stereo, 
s16, 1536 kb/s

Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
[mxf_d10 @ 0037C9C0] package type:1
[mxf_d10 @ 0037C9C0] package type:2
[mxf_d10 @ 0037C9C0] edit units count 0
frame=  239 fps= 25 q=3.0 size=   72409kB time=00:00:09.52 
bitrate=62307.8kbits/s eta=00:00:10.51


-

FFmbc (24bit audio):

ffmbc -i I:\IMX_tests\IMX50_CARBON.avi -target imx50 -acodec pcm_s24le 
I:\IMX_tests\_FFMBC_PAL_IMX_24bit_2.mxf -loglevel debug

FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
Input #0, avi, from 'I:\IMX_tests\IMX50_CARBON.avi':
  Metadata:
encoder: Lavf55.0.100
ISMP: 00:00:00:00
  Duration: 00:00:20.00, start: 0.00, bitrate: 113291 kb/s
Stream #0.0(und): Video: ffvhuff, yuv422p, 720x608p, PAR 152:135 
DAR 4:3, 25.00 fps

Stream #0.1(und): Audio: pcm_s24le, 48000 Hz, stereo, s32, 2304 kb/s
[buffer @ 002EFF60] w:720 h:608