[FFmpeg-user] wmv to uncompressed avi

2014-09-22 Thread gregr
I need help with the settings for converting a wmv file, captured from a
logitech usb camera to an uncompressed avi file. I'm working with an image
processing program called FIJI (Fiji Is Just ImageJ). The following is from
the FIJI docs: AVI (Audio Video Interleave) is a container format which can
contain data encoded in many different ways. ImageJ only supports
uncompressed AVIs, various YUV 4:2:2 compressed formats, and PNG or
JPEG-encoded individual frames. Note that most MJPG[?] (motion-JPEG)
formats are not read correctly. Attempts to open AVIs in other formats will
fail.

Thanks for the help!

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


Re: [FFmpeg-user] ffmpeg read from UDP/Port

2014-09-22 Thread Alex Lin
Hi Bill,

>> I might be tempted to set both video and audio codec to copy, and save
in a .TS file without -f at all.
I did a look search on google about .ts files. My understanding is that, I
can use videosnarf to convert a packet trace to .TS file. Is that the way
you have in mind as well?

Thank you,
AL

On Fri, Sep 19, 2014 at 12:19 PM, Bill Davidsen  wrote:

> Alex Lin wrote:
>
>> Hi all,
>>
>> I am using Windows 7 64 bit, and I downloaded the 64 bit version of
>> ffmpeg: ffmpeg-20140916-git-b76d613-win64-static.7z
>>
>> I have spent the entire day experimenting with ffmpeg today but I haven't
>> quite figure out if ffmpeg is the right solution to my problem yet, so I
>> would like to get some opinions.
>>
>> I am receiving H264 encoded packets through RTP with sample rate of
>> 90,000,
>> and I need to record these packets. The file format doesn't really matter
>> at this point.
>>
>> Currently, I have a server sending the H264 packets to port 50002 of my
>> machine (192.168.1.200), so I run the following ffmpeg command on my
>> machine:
>>
>> ffmpeg -i udp://192.168.1.200:50002 -f mp4 hello.mp4
>>
>
> I might be tempted to set both video and audio codec to copy, and save in
> a .TS file without -f at all.
> If that works you can capture the information and then play with it from
> the file. I am a Linux user,
> so you may need guidance for Windows issues from an expert, but if you can
> capture the data you
> eliminate some possible problems by not reformatting the data at capture.
>
>
>> Then the following shows
>>
>> ffmpeg version N-66289-gb76d613 Copyright (c) 2000-2014 the FFmpeg
>> developers
>>built on Sep 15 2014 22:11:04 with gcc 4.8.3 (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-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-decklink --enable-zlib
>>libavutil  54.  7.100 / 54.  7.100
>>libavcodec 56.  1.100 / 56.  1.100
>>libavformat56.  4.101 / 56.  4.101
>>libavdevice56.  0.100 / 56.  0.100
>>libavfilter 5.  1.100 /  5.  1.100
>>libswscale  3.  0.100 /  3.  0.100
>>libswresample   1.  1.100 /  1.  1.100
>>libpostproc53.  0.100 / 53.  0.100
>>
>> The server starts sending video packets, and nothing happens on the
>> command
>> prompt with the ffmpeg command.
>> The server stops sending video packets, and nothing happens still (I
>> waited
>> for at least 5 minutes), so I pressed Ctrl+C, then I see this
>>
>> udp://192.168.1.200:50002: Invalid data found when processing input
>> Received signal 2: terminating.
>>
>> am I using ffmpeg correctly? and are the H264 packets I am receiving not
>> supported?
>> I have looked around and did not see any debug log generated by ffmpeg, so
>> I don't really know where else to look.
>> If it is necessary, I can provide a packet capture with the H264 packets.
>>
>>
> --
> bill davidsen 
>   CTO TMR Associates, Inc
> Unsigned numbers may not be negative. However, unsigned numbers may be
> less than zero for suffiently large values of zero.
>
>
> ___
> 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] ffmpeg read from UDP/Port

2014-09-22 Thread Alex Lin
Hi Maziar,

>> I'm a bit confused here, first you said RTP and then you're using UDP in
your commands. Can you explain it to me?
The packets I am getting is H264 over RTP. Since RTP is a subset of UDP, so
I thought it would be okay to just let ffmpeg read the UDP packets.

>> Try playing directly from the stream with ffplay and see what will
happen. ffplay udp://192.168.1.200:50002/stream_name
I tried it and no luck either. When I try that, I get a lot of errors such
as:

[aac @ 02ad5120] get_buffer() failed
[aac @ 02ad5120] Inconsistent channel configuration.
[aac @ 02ad5120] get_buffer() failed
[aac @ 02ad5120] Inconsistent channel configuration.
[aac @ 02ad5120] get_buffer() failed
[aac @ 02ad5120] Inconsistent channel configuration.
[aac @ 02ad5120] get_buffer() failed
[aac @ 02ad5120] channel element 3.8 is not allocated
[aac @ 02ad5120] Number of bands (31) exceeds limit (13).
[aac @ 02ad5120] channel element 1.15 is not allocated
[aac @ 02ad5120] Reserved bit set.
[aac @ 02ad5120] channel element 3.9 is not allocated
[aac @ 02ad5120] Reserved bit set.
Last message repeated 1 times
[aac @ 02ad5120] SBR was found before the first channel element.
[aac @ 02ad5120] Sample rate index in program config element does
not ma
tch the sample rate index configured by the container.
[aac @ 02ad5120] decode_pce: Input buffer exhausted before END
element f
ound
[aac @ 02ad5120] Reserved bit set.
[aac @ 02ad5120] channel element 2.15 is not allocated
[aac @ 02ad5120] Reserved bit set.
Last message repeated 1 times
[aac @ 02ad5120] channel element 2.13 is not allocated
[aac @ 02ad5120] Sample rate index in program config element does
not ma
tch the sample rate index configured by the container.
[aac @ 02ad5120] Inconsistent channel configuration.
[aac @ 02ad5120] get_buffer() failed
[aac @ 02ad5120] channel element 3.1 is not allocated
[aac @ 02ad5120] Dependent coupling is not supported together with
LTP
Last message repeated 40 times
[aac @ 02ad5120] Reserved bit set.
[aac @ 02ad5120] Assuming an incorrectly encoded 7.1 channel layout
inst
ead of a spec-compliant 7.1(wide) layout, use -strict 1 to decode according
to t
he specification instead.
[aac @ 02ad5120] channel element 1.11 is not allocated
[aac @ 02ad5120] channel element 2.10 is not allocated
[aac @ 02ad5120] channel element 3.11 is not allocated
[aac @ 02ad5120] channel element 2.15 is not allocated
[aac @ 02ad5120] channel element 1.3 is not allocated
[aac @ 02ad5120] invalid band type
[aac @ 02ad5120] SSR is not implemented. Update your FFmpeg version
to t
he newest one from Git. If the problem still occurs, it means that your
file has
 a feature which has not been implemented.
[aac @ 02ad5120] If you want to help, upload a sample of this file
to ft
p://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list.
(ffmp
eg-de...@ffmpeg.org)
[aac @ 02ad5120] channel element 2.3 is not allocated
[aac @ 02ad5120] Number of scalefactor bands in group (14) exceeds
limit
 (12).

I am starting to think the packets which I am trying to record is not
supported by ffmpeg. Would like to get your opinion on that.

Thank you,
AL


On Wed, Sep 17, 2014 at 10:23 PM, Maziar Mehrabi  wrote:

> Hi,
>
> I'm a bit confused here, first you said RTP and then you're using UDP in
> your commands. Can you explain it to me?
> Try playing directly from the stream with ffplay and see what will happen.
> ffplay udp://192.168.1.200:50002/stream_name
> I can capture and save from udp but the result is very noisy and faulty.
> Http seems to be better though.
> I also didn't use the -f mp4 options in my command. I think you also didn't
> mention the stream name in input for ffmpeg.
>
> BR,
> Maziar
>
>
> --
> Hälsningar,
> Maziar Mehrabi
>
> On Thu, Sep 18, 2014 at 2:26 AM, Alex Lin  wrote:
>
> > Hi all,
> >
> > I am using Windows 7 64 bit, and I downloaded the 64 bit version of
> > ffmpeg: ffmpeg-20140916-git-b76d613-win64-static.7z
> >
> > I have spent the entire day experimenting with ffmpeg today but I haven't
> > quite figure out if ffmpeg is the right solution to my problem yet, so I
> > would like to get some opinions.
> >
> > I am receiving H264 encoded packets through RTP with sample rate of
> 90,000,
> > and I need to record these packets. The file format doesn't really matter
> > at this point.
> >
> > Currently, I have a server sending the H264 packets to port 50002 of my
> > machine (192.168.1.200), so I run the following ffmpeg command on my
> > machine:
> >
> > ffmpeg -i udp://192.168.1.200:50002 -f mp4 hello.mp4
> >
> > Then the following shows
> >
> > ffmpeg version N-66289-gb76d613 Copyright (c) 2000-2014 the FFmpeg
> > developers
> >   built on Sep 15 20

Re: [FFmpeg-user] please unsubscribe "mar...@sonicpool.com"

2014-09-22 Thread Reindl Harald


Am 22.09.2014 um 20:53 schrieb Lou:
> On Mon, 22 Sep 2014 20:25:46 +0200
> Reindl Harald  wrote:
> 
>> can somebody unsubscribe that fool?
>>
>> use "X-Mailer: Apple Mail (2.1283)" as vacation
>> responder and subscribe to mailing-lists needs
>> no further discussion
> 
> Done, although I'll have to take your word for it. I did not receive
> such messages due to not sending anything to the mailing list recently.

started around 16:00 Vienna time
example source at the bottom

additionally the domain has no postmaster-adress
because my first complaint went there not imaging
it's the MUA who sends that - i blamed the responder
on the server for not respect mail headers


> Please send future requests to ffmpeg-user-owner at ffmpeg.org

looked at the source and did not see it mentioned, sorry
_

Received: from mail-gw.thelounge.net (mail-gw.thelounge.net [10.0.0.19])
(using TLSv1.2
with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client 
certificate requested)
by mail.thelounge.net (THELOUNGE MTA) with ESMTPS id 3j1rgH5Xhcz2r
for ; Mon, 22 Sep 2014 18:28:27 +0200 (CEST)
Received: from server.sonicpool.com (unknown [64.50.165.142])   (using TLSv1.2
with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client 
certificate requested)
by mail-gw.thelounge.net (THELOUNGE GATEWAY) with ESMTPS id 
3j1rgG6hNjz1l
for ; Mon, 22 Sep 2014 18:28:25 +0200 (CEST)
Received: from [98.159.85.186] (helo=[192.168.60.62])
by server.sonicpool.com
with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.82) (envelope-from 
)
id 1XW6M4-ce-GV for h.rei...@thelounge.net;
Mon, 22 Sep 2014 09:20:48 -0700
From: Marcus Ionis 
Mime-Version: 1.0 (Apple Message framework v1283)
Subject: Re: Re: [FFmpeg-user] Error installing
Message-Id: <4e1217bb-be60-45fe-a1aa-17d478546...@sonicpool.com>
Date: Mon, 22 Sep 2014 09:28:03 -0700
To: Reindl Harald 
X-Mailer: Apple Mail (2.1283)
X-AntiAbuse: This header was added to track abuse, please include it with
 any abuse report
X-AntiAbuse: Primary Hostname - server.sonicpool.com
X-AntiAbuse: Original Domain - thelounge.net
X-AntiAbuse: Originator/Caller UID/GID - [8 12] / [8 12]
X-AntiAbuse: Sender Address Domain - sonicpool.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-Virus-Scanned: Yes
X-Spam-Status: No, score=-4.5, tag-level=4.5, block-level=8.0
X-Spam-Report: * -2.0 USER_IN_MORE_SPAM_TO User is listed in 'more_spam_to'
* -2.5 BAYES_00 BODY: Bayes spam probability is 0 to 1% *  [score:
 0.0019]
Return-Path: mar...@sonicpool.com
Content-Type: multipart/alternative;
boundary="Apple-Mail=_C7ACAC00-851E-4FA1-A474-03D8EDA5E6B3"


--Apple-Mail=_C7ACAC00-851E-4FA1-A474-03D8EDA5E6B3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii

I'm off on vacation. Please contact our Scheduling Department =
(schedul...@sonicpool.com) if it's an emergency. I'll return to the =
office on Sept 22nd.
Thank You


On Sep 16, 2014, at 11:39 AM, Reindl Harald  =
wrote:

>=20
>=20
> Am 16.09.2014 um 10:55 schrieb venky v:
> i get the following error
>=20
> hash -r . ~/.bash_profileyasm/nasm not found or too old. Use
> --disable-yasm for a crippled build.
>=20
> I hav also attached a screen shot of the same
>=20
> and why do you not follow that output
>=20
> * install update "yasn" or "yasm-devel"
> * update yasm
> * use --disable-yasm
>=20
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

--Apple-Mail=_C7ACAC00-851E-4FA1-A474-03D8EDA5E6B3
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
charset=us-ascii

I'm off on vacation. Please contact our Scheduling Department
(schedul...@sonicpool.com) if it's an emergency. I'll return to the
office on Sept 22nd.



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


Re: [FFmpeg-user] please unsubscribe "mar...@sonicpool.com"

2014-09-22 Thread Lou
On Mon, 22 Sep 2014 20:25:46 +0200
Reindl Harald  wrote:

> can somebody unsubscribe that fool?
> 
> use "X-Mailer: Apple Mail (2.1283)" as vacation
> responder and subscribe to mailing-lists needs
> no further discussion

Done, although I'll have to take your word for it. I did not receive
such messages due to not sending anything to the mailing list recently.

Please send future requests to ffmpeg-user-owner at ffmpeg.org.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] please unsubscribe "mar...@sonicpool.com"

2014-09-22 Thread Reindl Harald
can somebody unsubscribe that fool?

use "X-Mailer: Apple Mail (2.1283)" as vacation
responder and subscribe to mailing-lists needs
no further discussion




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


Re: [FFmpeg-user] configure error

2014-09-22 Thread Reindl Harald

Am 22.09.2014 um 09:58 schrieb liyon...@kugou.net:
> when I make the configure with --enable-libx264,it report error,
> how can I do? thanks

my crystal ball says just install x264-devel packages

http://www.catb.org/esr/faqs/smart-questions.html#beprecise



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


[FFmpeg-user] configure error

2014-09-22 Thread liyongfa
when I make the configure with --enable-libx264,it report error,how can I 
do? thanks.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Extract DTS core from DTS-HD MA track

2014-09-22 Thread No Spam Please



>While splitting core is not directly supported (we need a new bitstream
>filter), you can still achieve it with a trick, by passing the stream
>through the S/PDIF IEC 61937 muxer and then demuxer, with HD disabled,
>e.g.:
>
>ffmpeg -i DTS-HD_MA.dts -f spdif -dtshd_rate 0 -acodec copy - | \
>   ffmpeg -i - -acodec copy DTS-Core.dts


Thank you so much Anssi! Saves me for having to use tsMuxeR. 

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


Re: [FFmpeg-user] Extract DTS core from DTS-HD MA track

2014-09-22 Thread Anssi Hannula
19.09.2014, 21:28, No Spam Please kirjoitti:
> All, 
> 
> I searched the mailing list archive and the last mention of extracting DTS 
> core was around mid 2013.  It was stated that it was a feature being worked 
> on. 
> 
> Does the current version of ffmpeg support extracting the DTS core from a 
> DTS-HD MA stream? 
> 
> If so, how does one invoke it using the command line? 
> 
> If not, are there other Linux based tools that would do the job? 

While splitting core is not directly supported (we need a new bitstream
filter), you can still achieve it with a trick, by passing the stream
through the S/PDIF IEC 61937 muxer and then demuxer, with HD disabled, e.g.:

ffmpeg -i DTS-HD_MA.dts -f spdif -dtshd_rate 0 -acodec copy - | \
ffmpeg -i - -acodec copy DTS-Core.dts

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


Re: [FFmpeg-user] ffmpeg configuration issue on Mac OSX

2014-09-22 Thread David Favor

Shiva Krishna Kanike wrote:

Hello,

I am trying to use ffmpeg to compress my videos on iPhone programmatically, I found a 
link to configure ffmpeg on your site, 
"https://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX";.
But I am facing issue while configuring ffmpeg on my Mac, any help is greatly 
appreciated.


When I run below command on my Mac's Terminal, it always throws error. I tired 
lot of ways to fix it, but I failed each time.

"./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libass 
--enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus 
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 
--enable-libxvid"


When I run "brew install ffmpeg" command on my Mac's Terminal, it says "Warning: 
ffmpeg-2.3.3 already installed, it's just not linked".

Please find the "config.log" file for your reference.


Mac ffmpeg from http://MacPorts.org just works.

Great effort keeping ffmpeg + fdk up to date for easiest installs.

You might try MacPorts + see if this resolves your problem.

Be sure to remove all traces of brew first.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] Can work out why this does what it does

2014-09-22 Thread JULIAN GARDNER
I am trying to do a little overlay test but cant work out why one works and one 
fails, the input file i use is one of my SD stream captures from BBC News, so a 
generic SD video will suffice

The 2 command lines

Working


ffmpeg -i  -vcodec libx264 -preset ultrafast -b 3000k 
-acodec libfaac -async 1 -r 25 -filter_complex 'color=s=640x360:c=#80808080 
[o1];[0:v] scale=640x360,drawbox=100:100:100:100:color=green [o0];[o0][o1] 
overlay' -y -f mpegts a.ts


This give the desired result or an opaque screen overlayed over video


Non working one

ffmpeg -i  -vcodec libx264 -preset ultrafast -b 3000k 
-acodec 
libfaac -async 1 -r 25 -filter_complex 
'color=s=640x360:c=#80808080,drawbox=100:100:100:100:color=red 
[o1];[0:v] scale=640x360,drawbox=100:100:100:100:color=green 
[o0];[o0][o1] overlay' -y -f mpegts a.ts


On this i get the color screen with no transparency and the red box

Any ideas why adding a drawbox will make the color layer lose its transparency

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


Re: [FFmpeg-user] How to record audio and video from FaceTime HD Camera in OSX

2014-09-22 Thread Moritz Barsnick
On Mon, Sep 22, 2014 at 10:50:05 -0400, Jay Muthialu wrote:
> $ ffmpeg -f avfoundation -i video="FaceTime HD Camera":audio="Built-in 
> Microphone" -r 29.97 -y out.mov

I don't see any indication in the source (looking at those patches from
April 2014) that this syntax is supported.

Possibly just
$ ffmpeg -f avfoundation -i "FaceTime HD Camera":"Built-in Microphone" [...]

Or ask the author of the patches. ;-)

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


Re: [FFmpeg-user] How to record audio and video from FaceTime HD Camera in OSX

2014-09-22 Thread Jay Muthialu
Hi Roger,

 I will try the git master and update the thread. I also think there is 
something wrong in my command in OSX. When I run the below, it seems to 
recognize video device name as "FaceTime HD Camera":audio="Built-in Microphone" 
 which is not correct and hence it could not find the video device. What is the 
command I need to use to specifically identify audio and video streams. In 
windows it is very clear and it works good with this command ( ffmpeg –f dshow 
–i video=”USB2.0 Camera”:audio=”Microphone (Realtek High Definition Audio)”  
-pix_fmt yuv420p out.mp4). How to do the same in OSX?

Command I used in OSX
$ ffmpeg -f avfoundation -i video="FaceTime HD Camera":audio="Built-in 
Microphone" -r 29.97 -y out.mov
Output
>> [AVFoundation input device @ 0x7fc133c15700] Video device not found
>> video=FaceTime HD Camera:audio=Built-in Microphone: Input/output error


Thanks
Jay
On Sep 22, 2014, at 10:30 AM, Roger Pack  wrote:

> Could you try with git master [the patches were applied it seems, this
> weekend]?
> Also possibly run ffmpeg_g in gdb and see where it is hung?
> Cheers!
> 
> On Mon, Sep 22, 2014 at 8:20 AM, Jay Muthialu <
> jmuthialu-at-yahoo@ffmpeg.org> wrote:
> 
>> Hi Roger,
>> 
>> Thanks for your response. I tried to use it as input but still I could not
>> get it to work. Please see below:
>> 
>> Test#1- In this I used -i "0" and the terminal got frozen after I ran the
>> command. I had to force quit the terminal. However the FaceTime camera
>> light was on when I ran the command but  nothing was captured. Command and
>> the output is given below.
>> 
>> $ ffmpeg -f avfoundation -i "0" -r 29.97 -y out.mov
>> 
>> ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
>>  built on Sep 17 2014 18:11:13 with Apple LLVM version 5.1
>> (clang-503.0.40) (based on LLVM 3.4svn)
>>  configuration: --prefix=/usr/local/ffmpegavpatch
>> --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
>> --enable-shared --enable-pthreads --enable-gpl --enable-version3
>> --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda
>> --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
>> --enable-libmp3lame --enable-libxvid --enable-libfreetype
>> --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp
>> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc
>> --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger
>> --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg
>> --disable-decoder=jpeg2000
>> --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
>>  libavutil  54.  7.100 / 54.  7.100
>>  libavcodec 56.  1.100 / 56.  1.100
>>  libavformat56.  4.102 / 56.  4.102
>>  libavdevice56.  0.100 / 56.  0.100
>>  libavfilter 5.  1.101 /  5.  1.101
>>  libavresample   2.  1.  0 /  2.  1.  0
>>  libswscale  3.  0.100 /  3.  0.100
>>  libswresample   1.  1.100 /  1.  1.100
>>  libpostproc53.  0.100 / 53.  0.100
>> 
>> (Terminal was frozen and no output messages seen in the terminal)
>> 
>> 
>> Test#2 In this I tried to specify audio and video inputs separately as I
>> do in Windows but I got the error message below.
>> 
>> $ ffmpeg -f avfoundation -i video="FaceTime HD Camera":audio="Built-in
>> Microphone" -r 29.97 -y out.mov
>> 
>>  configuration: --prefix=/usr/local/ffmpegavpatch
>> --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
>> --enable-shared --enable-pthreads --enable-gpl --enable-version3
>> --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda
>> --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
>> --enable-libmp3lame --enable-libxvid --enable-libfreetype
>> --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp
>> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc
>> --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger
>> --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg
>> --disable-decoder=jpeg2000
>> --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
>>  libavutil  54.  7.100 / 54.  7.100
>>  libavcodec 56.  1.100 / 56.  1.100
>>  libavformat56.  4.102 / 56.  4.102
>>  libavdevice56.  0.100 / 56.  0.100
>>  libavfilter 5.  1.101 /  5.  1.101
>>  libavresample   2.  1.  0 /  2.  1.  0
>>  libswscale  3.  0.100 /  3.  0.100
>>  libswresample   1.  1.100 /  1.  1.100
>>  libpostproc53.  0.100 / 53.  0.100
>> [AVFoundation input device @ 0x7fc133c15700] Video device not found
>> video=FaceTime HD Camera:audio=Built-in Microphone: Input/output error
>> 
>> I also tried $ffmpeg -f avfoundation -i video="FaceTime HD Camera" -i
>> audio="Built-in Microphone" -r 29.97 -y out.mov and I got the same error
>> message as above.
>> 
>> 
>> 
>> Warm Regards
>> Jay
>> 
>> 
>> On Sep 19, 2014, at 9:11 AM, Roger 

Re: [FFmpeg-user] How to record audio and video from FaceTime HD Camera in OSX

2014-09-22 Thread Roger Pack
Could you try with git master [the patches were applied it seems, this
weekend]?
Also possibly run ffmpeg_g in gdb and see where it is hung?
Cheers!

On Mon, Sep 22, 2014 at 8:20 AM, Jay Muthialu <
jmuthialu-at-yahoo@ffmpeg.org> wrote:

> Hi Roger,
>
> Thanks for your response. I tried to use it as input but still I could not
> get it to work. Please see below:
>
> Test#1- In this I used -i "0" and the terminal got frozen after I ran the
> command. I had to force quit the terminal. However the FaceTime camera
> light was on when I ran the command but  nothing was captured. Command and
> the output is given below.
>
> $ ffmpeg -f avfoundation -i "0" -r 29.97 -y out.mov
>
> ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
>   built on Sep 17 2014 18:11:13 with Apple LLVM version 5.1
> (clang-503.0.40) (based on LLVM 3.4svn)
>   configuration: --prefix=/usr/local/ffmpegavpatch
> --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
> --enable-shared --enable-pthreads --enable-gpl --enable-version3
> --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda
> --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
> --enable-libmp3lame --enable-libxvid --enable-libfreetype
> --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc
> --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger
> --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg
> --disable-decoder=jpeg2000
> --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
>   libavutil  54.  7.100 / 54.  7.100
>   libavcodec 56.  1.100 / 56.  1.100
>   libavformat56.  4.102 / 56.  4.102
>   libavdevice56.  0.100 / 56.  0.100
>   libavfilter 5.  1.101 /  5.  1.101
>   libavresample   2.  1.  0 /  2.  1.  0
>   libswscale  3.  0.100 /  3.  0.100
>   libswresample   1.  1.100 /  1.  1.100
>   libpostproc53.  0.100 / 53.  0.100
>
> (Terminal was frozen and no output messages seen in the terminal)
>
>
> Test#2 In this I tried to specify audio and video inputs separately as I
> do in Windows but I got the error message below.
>
> $ ffmpeg -f avfoundation -i video="FaceTime HD Camera":audio="Built-in
> Microphone" -r 29.97 -y out.mov
>
>   configuration: --prefix=/usr/local/ffmpegavpatch
> --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
> --enable-shared --enable-pthreads --enable-gpl --enable-version3
> --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda
> --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
> --enable-libmp3lame --enable-libxvid --enable-libfreetype
> --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc
> --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger
> --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg
> --disable-decoder=jpeg2000
> --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
>   libavutil  54.  7.100 / 54.  7.100
>   libavcodec 56.  1.100 / 56.  1.100
>   libavformat56.  4.102 / 56.  4.102
>   libavdevice56.  0.100 / 56.  0.100
>   libavfilter 5.  1.101 /  5.  1.101
>   libavresample   2.  1.  0 /  2.  1.  0
>   libswscale  3.  0.100 /  3.  0.100
>   libswresample   1.  1.100 /  1.  1.100
>   libpostproc53.  0.100 / 53.  0.100
> [AVFoundation input device @ 0x7fc133c15700] Video device not found
> video=FaceTime HD Camera:audio=Built-in Microphone: Input/output error
>
> I also tried $ffmpeg -f avfoundation -i video="FaceTime HD Camera" -i
> audio="Built-in Microphone" -r 29.97 -y out.mov and I got the same error
> message as above.
>
>
>
> Warm Regards
> Jay
>
>
> On Sep 19, 2014, at 9:11 AM, Roger Pack  wrote:
>
> > On Wed, Sep 17, 2014 at 4:43 PM, Jay Muthialu <
> > jmuthialu-at-yahoo@ffmpeg.org> wrote:
> >
> >> Hi Moritz,
> >>
> >> Thanks for the information. I finally applied the patches. Although I
> >> could not apply through git because the latest ffmpeg version I
> downloaded
> >> did not seem to match with the patches in the email and it failed. So I
> had
> >> to manually sync the patch file to the source file and I complied
> >> sucessfully. The patched version works for all basics scenarios  but did
> >> not fix the underlying issue. It now shows the inbuilt microphone which
> is
> >> an improvement, but the microphone is showing as error.
> >>
> >> $ ffmpeg -f avfoundation -list_devices true -i ""
> >>
> >> Output:
> >> libavutil  54.  7.100 / 54.  7.100
> >>  libavcodec 56.  1.100 / 56.  1.100
> >>  libavformat56.  4.102 / 56.  4.102
> >>  libavdevice56.  0.100 / 56.  0.100
> >>  libavfilter 5.  1.101 /  5.  1.101
> >>  libavresample   2.  1.  0 /  2.  1.  0
> >>  libswscale  3

Re: [FFmpeg-user] How to record audio and video from FaceTime HD Camera in OSX

2014-09-22 Thread Jay Muthialu
Hi Roger,

Thanks for your response. I tried to use it as input but still I could not get 
it to work. Please see below:

Test#1- In this I used -i "0" and the terminal got frozen after I ran the 
command. I had to force quit the terminal. However the FaceTime camera light 
was on when I ran the command but  nothing was captured. Command and the output 
is given below.

$ ffmpeg -f avfoundation -i "0" -r 29.97 -y out.mov

ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 17 2014 18:11:13 with Apple LLVM version 5.1 (clang-503.0.40) 
(based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/ffmpegavpatch 
--extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib 
--enable-shared --enable-pthreads --enable-gpl --enable-version3 
--enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda 
--cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac 
--enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass 
--enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac 
--enable-libopus --enable-frei0r --enable-libopenjpeg 
--disable-decoder=jpeg2000 
--extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
  libavutil  54.  7.100 / 54.  7.100
  libavcodec 56.  1.100 / 56.  1.100
  libavformat56.  4.102 / 56.  4.102
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  1.101 /  5.  1.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100

(Terminal was frozen and no output messages seen in the terminal)


Test#2 In this I tried to specify audio and video inputs separately as I do in 
Windows but I got the error message below.

$ ffmpeg -f avfoundation -i video="FaceTime HD Camera":audio="Built-in 
Microphone" -r 29.97 -y out.mov

  configuration: --prefix=/usr/local/ffmpegavpatch 
--extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib 
--enable-shared --enable-pthreads --enable-gpl --enable-version3 
--enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda 
--cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac 
--enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass 
--enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac 
--enable-libopus --enable-frei0r --enable-libopenjpeg 
--disable-decoder=jpeg2000 
--extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
  libavutil  54.  7.100 / 54.  7.100
  libavcodec 56.  1.100 / 56.  1.100
  libavformat56.  4.102 / 56.  4.102
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  1.101 /  5.  1.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100
[AVFoundation input device @ 0x7fc133c15700] Video device not found
video=FaceTime HD Camera:audio=Built-in Microphone: Input/output error

I also tried $ffmpeg -f avfoundation -i video="FaceTime HD Camera" -i 
audio="Built-in Microphone" -r 29.97 -y out.mov and I got the same error 
message as above.



Warm Regards
Jay


On Sep 19, 2014, at 9:11 AM, Roger Pack  wrote:

> On Wed, Sep 17, 2014 at 4:43 PM, Jay Muthialu <
> jmuthialu-at-yahoo@ffmpeg.org> wrote:
> 
>> Hi Moritz,
>> 
>> Thanks for the information. I finally applied the patches. Although I
>> could not apply through git because the latest ffmpeg version I downloaded
>> did not seem to match with the patches in the email and it failed. So I had
>> to manually sync the patch file to the source file and I complied
>> sucessfully. The patched version works for all basics scenarios  but did
>> not fix the underlying issue. It now shows the inbuilt microphone which is
>> an improvement, but the microphone is showing as error.
>> 
>> $ ffmpeg -f avfoundation -list_devices true -i ""
>> 
>> Output:
>> libavutil  54.  7.100 / 54.  7.100
>>  libavcodec 56.  1.100 / 56.  1.100
>>  libavformat56.  4.102 / 56.  4.102
>>  libavdevice56.  0.100 / 56.  0.100
>>  libavfilter 5.  1.101 /  5.  1.101
>>  libavresample   2.  1.  0 /  2.  1.  0
>>  libswscale  3.  0.100 /  3.  0.100
>>  libswresample   1.  1.100 /  1.  1.100
>>  libpostproc53.  0.100 / 53.  0.100
>> [AVFoundation input device @ 0x7ff6c0c14de0] AVFoundation video devices:
>> [AVFoundation input device @ 0x7ff6c0c14de0] [0] FaceTime HD Camera
>> [AVFoundation input device @ 0x7ff6c0c14de0] AVFoundation audio devices:
>> [AVFoundation input device @ 0x7ff6c0c14de0] [0] Built-in Microphone
>> 

Re: [FFmpeg-user] Closed Caption(CC) data from .ts file using ffmpeg

2014-09-22 Thread Gunasekaran Velu
HI

I can't able to download the file. can you zip and send to me.

Thanks
GUna

On Mon, Sep 22, 2014 at 5:06 PM, Anshul  wrote:

> On 09/22/2014 04:17 PM, Gunasekaran Velu wrote:
> > Hi
> >
> > How can i help you to getting Closed Caption from .ts video file?
> Do you need raw data or decoded data?
> if you need raw data only here are two old patch given by Nicolas George.
> I have attached those both patch.
>
> for decoded data even I am working for samething,
> you can talk to me personally at skype id: er_anshul or irc #ffmpeg-dev
> my nick is anshul_mahe.
>
> -Anshul
>
>
> ___
> 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] Closed Caption(CC) data from .ts file using ffmpeg

2014-09-22 Thread Gunasekaran Velu
Hi

Thanks for the information. Need it for raw data only.

my skype: talk2gunav


Regards
Guna

On Mon, Sep 22, 2014 at 5:06 PM, Anshul  wrote:

> On 09/22/2014 04:17 PM, Gunasekaran Velu wrote:
> > Hi
> >
> > How can i help you to getting Closed Caption from .ts video file?
> Do you need raw data or decoded data?
> if you need raw data only here are two old patch given by Nicolas George.
> I have attached those both patch.
>
> for decoded data even I am working for samething,
> you can talk to me personally at skype id: er_anshul or irc #ffmpeg-dev
> my nick is anshul_mahe.
>
> -Anshul
>
>
> ___
> 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] Closed Caption(CC) data from .ts file using ffmpeg

2014-09-22 Thread Anshul
On 09/22/2014 04:17 PM, Gunasekaran Velu wrote:
> Hi
>
> How can i help you to getting Closed Caption from .ts video file?
Do you need raw data or decoded data?
if you need raw data only here are two old patch given by Nicolas George.
I have attached those both patch.

for decoded data even I am working for samething,
you can talk to me personally at skype id: er_anshul or irc #ffmpeg-dev
my nick is anshul_mahe.

-Anshul



[FFmpeg-devel] [PATCH 1_2] lavc: add CEA-708 codec id..eml
Description: application/extension-eml


[FFmpeg-devel] [PATCH 2_2] lavd_lavfi: allow to extract subcc..eml
Description: application/extension-eml
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Closed Caption(CC) data from .ts file using ffmpeg

2014-09-22 Thread Gunasekaran Velu
Hi

How can i help you to getting Closed Caption from .ts video file?

Looking forward your reply.

Kindly help me.


Thanks and Regards
Guna

On Mon, Sep 22, 2014 at 2:18 PM, Gunasekaran Velu 
wrote:

> Yes . I need help to get Closed caption data from .ts file using ffmpeg?
>
>
> Regards
> GUna
>
> On Mon, Sep 22, 2014 at 2:06 PM, Anshul  wrote:
>
>> Hi
>>
>> you can use CCExtractor, or help here if you  want Closed caption in
>> ffmpeg.
>>
>> -Anshul
>>
>> On 09/22/2014 01:44 PM, Gunasekaran Velu wrote:
>> > Hi Carl,
>> >
>> > Thanks for the information.
>> >
>> > Any other solution for linux platform?
>> >
>> > Looking forward your reply.
>> >
>> >
>> > Regards
>> > Guna
>> >
>> > On Mon, Sep 22, 2014 at 1:03 PM, Carl Eugen Hoyos 
>> wrote:
>> >
>> >> Gunasekaran Velu  gmail.com> writes:
>> >>
>> >>> I am using the following ffmpeg command to extract
>> >>> the CC(Closed Caption) data from .ts file.
>> >> This sounds unlikely since FFmpeg does not (yet)
>> >> support Closed Captions.
>> >>
>> >> 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
>>
>> ___
>> 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] avformat_open_input from an SDP string

2014-09-22 Thread David Cassany Viladomat
Hi all,

I have a question regarding avformat_open_input method, I saw that this
method accepts URIs in addition to filename routes, then my question if I
could use this function using an SDP string, in order to get the
avformatcontext structure properly initialized.

I want to initialize the avformatcontext given an SDP string (not an RTSP
uri), is avfromat_open_input capable to do that? if not, is there any util
i can use to achieve such goal.

Thanks in advance for any comment.

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


Re: [FFmpeg-user] Closed Caption(CC) data from .ts file using ffmpeg

2014-09-22 Thread Gunasekaran Velu
Yes . I need help to get Closed caption data from .ts file using ffmpeg?


Regards
GUna

On Mon, Sep 22, 2014 at 2:06 PM, Anshul  wrote:

> Hi
>
> you can use CCExtractor, or help here if you  want Closed caption in
> ffmpeg.
>
> -Anshul
>
> On 09/22/2014 01:44 PM, Gunasekaran Velu wrote:
> > Hi Carl,
> >
> > Thanks for the information.
> >
> > Any other solution for linux platform?
> >
> > Looking forward your reply.
> >
> >
> > Regards
> > Guna
> >
> > On Mon, Sep 22, 2014 at 1:03 PM, Carl Eugen Hoyos 
> wrote:
> >
> >> Gunasekaran Velu  gmail.com> writes:
> >>
> >>> I am using the following ffmpeg command to extract
> >>> the CC(Closed Caption) data from .ts file.
> >> This sounds unlikely since FFmpeg does not (yet)
> >> support Closed Captions.
> >>
> >> 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
>
> ___
> 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] Transcoding while capturing - incomplete frame error

2014-09-22 Thread Keith Johnson
Thanks Carl - -re option sounds interesting for what I'm trying to do. If I
start the low-res encode a few seconds after I start the grab it should
avoid the problem of running out of data, as long as the clock rates of the
camcorder and PC are not miles apart.



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Transcoding-while-capturing-incomplete-frame-error-tp4667438p4667446.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Closed Caption(CC) data from .ts file using ffmpeg

2014-09-22 Thread Anshul
Hi

you can use CCExtractor, or help here if you  want Closed caption in
ffmpeg.

-Anshul

On 09/22/2014 01:44 PM, Gunasekaran Velu wrote:
> Hi Carl,
>
> Thanks for the information.
>
> Any other solution for linux platform?
>
> Looking forward your reply.
>
>
> Regards
> Guna
>
> On Mon, Sep 22, 2014 at 1:03 PM, Carl Eugen Hoyos  wrote:
>
>> Gunasekaran Velu  gmail.com> writes:
>>
>>> I am using the following ffmpeg command to extract
>>> the CC(Closed Caption) data from .ts file.
>> This sounds unlikely since FFmpeg does not (yet)
>> support Closed Captions.
>>
>> 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

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


Re: [FFmpeg-user] Closed Caption(CC) data from .ts file using ffmpeg

2014-09-22 Thread Gunasekaran Velu
Hi Carl,

Thanks for the information.

Any other solution for linux platform?

Looking forward your reply.


Regards
Guna

On Mon, Sep 22, 2014 at 1:03 PM, Carl Eugen Hoyos  wrote:

> Gunasekaran Velu  gmail.com> writes:
>
> > I am using the following ffmpeg command to extract
> > the CC(Closed Caption) data from .ts file.
>
> This sounds unlikely since FFmpeg does not (yet)
> support Closed Captions.
>
> 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] Transcoding while capturing - incomplete frame error

2014-09-22 Thread Carl Eugen Hoyos
Keith Johnson  xentrik.tv> writes:

> wasn't aware that I could capture (H)DV directly. 
> If that's the case I guess there is probably a 
> solution which involves pipes or tees.

No (at least not if I understand you correctly).
FFmpeg can read from the device if compiled with 
--enable-libiec61883 (at least I believe so).

You may be searching for the "-re" option.

Carl Eugen

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


Re: [FFmpeg-user] Transcoding while capturing - incomplete frame error

2014-09-22 Thread Keith Johnson
Thanks for the reply, Carl. I'm relatively new to ffmpeg, and wasn't aware
that I could capture (H)DV directly. If that's the case I guess there is
probably a solution which involves pipes or tees. Basically what I'm trying
to do is capture from the camera and write two files at the same time - a
raw HDV file and a low-resolution proxy in some other format. In an ideal
world I'd quite like to be able to watch the camera live (or near-live) at
the same time via ffplay or mplayer.

I was probably incorrect in saying that ffmpeg crashes when reading the file
I'm capturing with dvgrab - it's just it catches up with the end of the file
and bombs out when there is no more data to read. Any suggestions for
alternative ways to accomplish this gratefully received.



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Transcoding-while-capturing-incomplete-frame-error-tp4667438p4667443.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffmpeg-2.4 creates grey screen, corrupted videos

2014-09-22 Thread Carl Eugen Hoyos
S Andreason  gmail.com> writes:

> Carl Eugen Hoyos wrote:
> > What does 'upgrading mplayer to 2.4' mean?
> 
> Oops. Aspie made one typo.
> Meant 1.1.1

Just to make sure:
MPlayer 1.1.1 is completely outdated, please do 
not use it.

> >> http://seahorseCorral.org/videos/tests/20140128_pond-W_rec10990.mov
> >
> > I tested the following command line:
> > $ ffmpeg -i 20140128_pond-W_rec10990.mov -s 640x360 
> > -qscale 2 -acodec copy out.avi
> > and the result plays fine here.
> >
> > Please test current git head, releases are only 
> > supported here if you are a distributor yourself.
> >
> Getting anything by git is impossible on dialup.
> 10Mb per hour, 4 hour maximum connection.

Sounds like one more reason to use git.

> Thus the act of getting stable releases does still have a purpose.

We provide snapshots as well but I don't see how large 
files are easier to download than small increasing 
changes.

Carl Eugen

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


Re: [FFmpeg-user] Closed Caption(CC) data from .ts file using ffmpeg

2014-09-22 Thread Carl Eugen Hoyos
Gunasekaran Velu  gmail.com> writes:

> I am using the following ffmpeg command to extract 
> the CC(Closed Caption) data from .ts file.

This sounds unlikely since FFmpeg does not (yet) 
support Closed Captions.

Carl Eugen

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


Re: [FFmpeg-user] Transcoding while capturing - incomplete frame error

2014-09-22 Thread Carl Eugen Hoyos
Keith Johnson  xentrik.tv> writes:

> - capture HDV stream from camera - currently 
> working fine with dvgrab creating .m2t file

This sounds strange to me:
Why don't you capture with FFmpeg?
Or at least with a capture software 
that gives you the original dv stream?
(Or do I misundertand?)

> ffmpeg   catches up with the end of the .m2t
> file which dvgrab is writing, it crashes 
> with an "incomplete frame" error.

Crash reports need backtrace, register dump 
and disassembly / command line and complete, 
uncut console output missing.

Carl Eugen

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


[FFmpeg-user] Determining colour matrix coefficients detected and used by ffmpeg

2014-09-22 Thread Francois Visagie
Hi All,

 

In some of the sources I work with the convention of SD=BT.601 and HD=BT.709
isn’t always followed. That makes it necessary to confirm that ffmpeg
correctly detects and handles input colour space matrix coefficients.
Unfortunately I can’t find any way to show this information during input
parsing, nor in the output produced by ffmpeg.

 

I’ll be very grateful for any pointers to help solve this.

 

Some sample encodes below. These are not necessarily from problem inputs,
but show that colour matrix coefficient information does not seem readily
available unless I am hopefully overlooking something. Note that even
color_range is not uniformly available from encodes.

 

ffmpeg 1



ffmpeg started on 2014-09-21 at 13:59:27

Report written to "ffmpeg-20140921-135927.log"

Command line:

ffmpeg -i input_file.avi -report test_out.mpg

ffmpeg version N-66232-g5e3da25 Copyright (c) 2000-2014 the FFmpeg
developers

  built on Sep 10 2014 22:01:59 with gcc 4.8.3 (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-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-decklink
--enable-zlib

  libavutil  54.  7.100 / 54.  7.100

  libavcodec 56.  1.100 / 56.  1.100

  libavformat56.  4.101 / 56.  4.101

  libavdevice56.  0.100 / 56.  0.100

  libavfilter 5.  1.100 /  5.  1.100

  libswscale  3.  0.100 /  3.  0.100

  libswresample   1.  1.100 /  1.  1.100

  libpostproc53.  0.100 / 53.  0.100

Splitting the commandline.

Reading option '-i' ... matched as input file with argument
'input_file.avi'.

Reading option '-report' ... matched as option 'report' (generate a report)
with argument '1'.

Reading option 'test_out.mpg' ... matched as output file.

Finished splitting the commandline.

Parsing a group of options: global .

Applying option report (generate a report) with argument 1.

Successfully parsed a group of options.

Parsing a group of options: input file input_file.avi.

Successfully parsed a group of options.

Opening an input file: input_file.avi.

[avi @ 029e8ce0] Format avi probed with size=2048 and score=100

[avi @ 029e93c0] use odml:1

st:1 removing common factor 4 from timebase

[avi @ 029e8ce0] Before avformat_find_stream_info() pos: 10252 bytes
read:254608 seeks:6

[avi @ 029e8ce0] parser not found for codec dvvideo, packets or times may be
invalid.

[avi @ 029e8ce0] parser not found for codec pcm_s16le, packets or times may
be invalid.

[avi @ 029e8ce0] parser not found for codec pcm_s16le, packets or times may
be invalid.

[avi @ 029e8ce0] parser not found for codec dvvideo, packets or times may be
invalid.

[avi @ 029e8ce0] All info found

[avi @ 029e8ce0] After avformat_find_stream_info() pos: 250268 bytes
read:472108 seeks:6 frames:25

Guessed Channel Layout for  Input Stream #0.1 : stereo

Input #0, avi, from 'input_file.avi':

  Duration: 00:01:12.72, start: 0.00, bitrate: 30346 kb/s

Stream #0:0, 1, 1/25: Video: dvvideo (dvsd / 0x64737664), yuv420p,
720x576 [SAR 16:15 DAR 4:3], 28815 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc

Stream #0:1, 24, 1/48000: Audio: pcm_s16le ([1][0][0][0] / 0x0001),
48000 Hz, 2 channels, s16, 1536 kb/s

Successfully opened the file.

Parsing a group of options: output file test_out.mpg.

Successfully parsed a group of options.

Opening an output file: test_out.mpg.

Successfully opened the file.

detected 4 logical cores

[graph 0 input from stream 0:0 @ 029eccc0] Setting 'video_size' to value
'720x576'

[graph 0 input from stream 0:0 @ 029eccc0] Setting 'pix_fmt' to value '0'

[graph 0 input from stream 0:0 @ 029eccc0] Setting 'time_base' to value
'1/25'

[graph 0 input from stream 0:0 @ 029eccc0] Setting 'pixel_aspect' to value
'16/15'

[graph 0 input from stream 0:0 @ 029eccc0] Setting 'sws_param' to value
'flags=2'

[graph 0 input from stream 0:0 @ 029eccc0] Setting 'frame_rate' to value
'25/1'

[graph 0 input from stream 0:0 @ 029eccc0] w:720 h:576 pixfmt:yuv420p
tb:1/25 fr:25/1 sar:16/15 sws_param:flags=2

[format @ 03742020] compat: called with args=[yuv420p]

[format @ 03742020] Setting 'pix_fmts' to value 'yuv420p'

[AVFilterGraph @ 03728fa0] query_formats: 4 queried, 3 merged, 0 already
done, 0 delayed

[graph 1 input from stream 0:1 @ 0372e040] Setting 'time_base' to value
'1/48000'

[graph 1 input from stream 0:1 @ 0372e040] Setting 'sampl