Re: [FFmpeg-user] In and out-range Scale option able to correct 0-255 video to 0-235?

2015-05-19 Thread Christoph Gerstbauer



Carl Eugen Hoyos  ag.or.at> writes:


Please test with the following inlined patch
and -cpuflags 0:

Please ignore, this test makes no sense.

Sorry, Carl Eugen


Ok. But if I should test it I need the ability to compile, right? I have 
no experiences with that :/


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


Re: [FFmpeg-user] In and out-range Scale option able to correct 0-255 video to 0-235?

2015-05-19 Thread Christoph Gerstbauer



Am 19.05.15 um 23:06 schrieb Carl Eugen Hoyos:

Christoph Gerstbauer  gmail.com> writes:


C:\Windows\System32>ffmpeg -i
C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff.avi -vf
"scale=in_range=full:out_range=tv" -vcodec ffvhuff

It seems to me that the scale filter is so smart
that it doesn't scale if the input and output
resolution and input and output colourspace
are identical.

Even worse, both the filter and the software
scaler are smart enough to skip actual scaling,
so fixing the issue in the scale filter is not
sufficient...

I am not 100% sure if this is a bug, but it
seems so;-)

(Please try to understand that I had no idea
what you are talking about until seeing your
- imo sensible - command line.)

I hope you mean "to correct 0-255 to 16-235".


YES. thats what I want to do: correction to 16-235 levels.
I am checking different files with QCtools. It shows me optical if the 
values are above 235 or under 16. A numerical way would be much better, 
of course. But that is another issue.


Best Regards
Christoph

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


Re: [FFmpeg-user] H264 IP-camera dump causes wrong duration/bitrate

2015-05-19 Thread Kal Sze
On Wed, 20 May 2015 at 08:56 しらせ けんじ  wrote:

> I tried to encode to mpeg / mp4 before, and the result was same.
> So, I think the problem is input data or decoder , not encorder!
>
> Are there any idea to investigate this problem?
>
> Is it possible that your camera actually captures at a lower framerate at
night/in low light condition?

I forget if ffmpeg applies a default frame rate and re-stamps your frames
when you do a `-vcodec copy`
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] H264 IP-camera dump causes wrong duration/bitrate

2015-05-19 Thread しらせ けんじ

I tried to encode to mpeg / mp4 before, and the result was same.
So, I think the problem is input data or decoder , not encorder!

Are there any idea to investigate this problem?

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


Re: [FFmpeg-user] Merge 2 Video + Audio files in a single file side by side.

2015-05-19 Thread Moritz Barsnick
On Tue, May 19, 2015 at 04:04:33 -0700, meghana.rav...@amultek.com wrote:
> I am able to merge 2 video files in single file but it using audio of first
> video file only, where as i need to merge audio of second file as well.
[...]
> i have tried various way with `amerge` but no success. As I am new to
> FFMpeg, i am not sure how can i achieve this. 

You are not being quite clear on what you mean by merging. On the wiki,
there are a few examples with explanitory graphs. I think you mean some
mixing either like this:
https://trac.ffmpeg.org/wiki/AudioChannelManipulation#a2monostereo
or like this:
https://trac.ffmpeg.org/wiki/AudioChannelManipulation#a2stereostereo

Does that help you? If not, what are you trying to achieve exactly?

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


Re: [FFmpeg-user] Conform framerate with ffmpeg

2015-05-19 Thread Carl Eugen Hoyos
Carles Vila  gmail.com> writes:

> > > Hi, here are some of my findings regarding frame
> > > rate conforming.
> >
> > Did you test input option -r ?
> > Did it work?
> 
> No it didn't. I used -r 25 (before -i) in conjunction 
> with -c:v copy (which is what I'm after) and it kept 
> the framerate unchanged at  24.

Yes, it appears that only slowing the input down 
works (to some degree), speeding up seems 
impossible afaict.

Carl Eugen

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


Re: [FFmpeg-user] In and out-range Scale option able to correct 0-255 video to 0-235?

2015-05-19 Thread Carles Vila
On 19 May 2015 at 23:16, Carl Eugen Hoyos  wrote:

> Carl Eugen Hoyos  ag.or.at> writes:
>
> > Please test with the following inlined patch
> > and -cpuflags 0:
>
> Please ignore, this test makes no sense.
>
> Sorry, Carl Eugen
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>

Maybe you could test if the video values really scale by forcing an
additional size scale, a couple of pixels smaller/bigger.
Then you could see if the filter does something or not.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] HD > SD Down-Convert Prores Color

2015-05-19 Thread Kevin Wells

From: kevwe...@hotmail.co.uk
To: ffmpeg-user@ffmpeg.org
Date: Mon, 18 May 2015 11:50:20 +
Subject: Re: [FFmpeg-user] HD> SD Down-Convert Prores Color



> To: ffmpeg-user@ffmpeg.org
> From: ceho...@ag.or.at
> Date: Mon, 18 May 2015 10:45:25 +
> Subject: Re: [FFmpeg-user] HD> SD Down-Convert Prores Color
>
> Kevin Wells  hotmail.co.uk> writes:
>
>> This does not suffer from the issue, but the colours look slightly off
>>
>> ffmpeg -i /Users/kev/Movies/HD_BARS.mov -vf scale=720:576
>> -vcodec v210 -an out.mov
>
> Please test the following, sorry for not realising this earlier:
> $ ffmpeg -i HD_BARS.mov -s pal -vcodec prores -an -movflags +write_colr
> -an -s pal -color_primaries bt709 -color_trc bt709 -colorspace bt709 out.mov
>
> Carl Eugen
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Hi Carl, this is extremely close, the best yet! Thanks for not giving up on me.
Only trouble is the file SD PAL file is flagged as bt709?


ffmpeg -i HD_BARS.mov -s pal -vcodec prores -an -movflags +write_colr -an -s 
pal -color_primaries bt709 -color_trc bt709 -colorspace bt709 out.mov
ffmpeg version 2.6.2-tessus Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
configuration: --cc=/usr/bin/clang --prefix=/Users/helmutt/data/ext/ffmpeg/sw 
--as=yasm --extra-version=tessus --disable-shared --enable-static 
--disable-ffplay --enable-gpl --enable-pthreads --enable-postproc 
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 
--enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib 
--enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb 
--enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm 
--enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype 
--enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit 
--disable-indev=x11grab_xcb --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HD_BARS.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2015-05-12 12:56:17
Duration: 00:00:10.00, start: 0.00, bitrate: 16901 kb/s
Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt709), 
1920x1080, 15360 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc 
(default)
Metadata:
creation_time : 2015-05-12 12:56:17
handler_name : Apple Alias Data Handler
encoder : Apple ProRes 422 HQ
timecode : 00:00:00:00
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, 
s16, 1536 kb/s (default)
Metadata:
creation_time : 2015-05-12 12:56:17
handler_name : Apple Alias Data Handler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
creation_time : 2015-05-12 12:56:18
handler_name : Apple Alias Data Handler
timecode : 00:00:00:00
File 'out.mov' already exists. Overwrite ? [y/N] y
[prores @ 0x7ff7d305de00] encoding with ProRes standard (apcn) profile
[prores @ 0x7ff7d305e400] encoding with ProRes standard (apcn) profile
[prores @ 0x7ff7d305ea00] encoding with ProRes standard (apcn) profile
[prores @ 0x7ff7d306c600] encoding with ProRes standard (apcn) profile
[prores @ 0x7ff7d306ee00] encoding with ProRes standard (apcn) profile
[prores @ 0x7ff7d3071600] encoding with ProRes standard (apcn) profile
[prores @ 0x7ff7d3073e00] encoding with ProRes standard (apcn) profile
[prores @ 0x7ff7d3076600] encoding with ProRes standard (apcn) profile
[prores @ 0x7ff7d2828000] encoding with ProRes standard (apcn) profile
Output #0, mov, to 'out.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf56.25.101
Stream #0:0(eng): Video: prores (apcn) (apcn / 0x6E637061), yuv422p10le(bt709), 
720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc 
(default)
Metadata:
creation_time : 2015-05-12 12:56:17
handler_name : Apple Alias Data Handler
timecode : 00:00:00:00
encoder : Lavc56.26.100 prores
Stream mapping:
Stream #0:0 -> #0:0 (prores (native) -> prores (native))
Press [q] to stop, [?] for help
frame= 43 fps=0.0 q=0.0 size= 1471kB time=00:00:01.64 
bitrate=7350.2kbits/sframe= 87 fps= 85 q=0.0 size= 3051kB time=00:00:03.40 
bitrate=7350.1kbits/sframe= 129 fps= 84 q=0.0 size= 4558kB time=00:00:05.08 
bitrate=7350.1kbits/sframe= 170 fps= 83 q=0.0 size= 6029kB time=00:00:06.72 
bitrate=7350.0kbits/sframe= 208 fps= 82 q=0.0 size= 73

Re: [FFmpeg-user] In and out-range Scale option able to correct 0-255 video to 0-235?

2015-05-19 Thread Carl Eugen Hoyos
Carl Eugen Hoyos  ag.or.at> writes:

> Please test with the following inlined patch 
> and -cpuflags 0:

Please ignore, this test makes no sense.

Sorry, Carl Eugen

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


Re: [FFmpeg-user] In and out-range Scale option able to correct 0-255 video to 0-235?

2015-05-19 Thread Carl Eugen Hoyos
Christoph Gerstbauer  gmail.com> writes:

> C:\Windows\System32>ffmpeg -i
> C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff.avi -vf
> "scale=in_range=full:out_range=tv" -vcodec ffvhuff

Please test with the following inlined patch 
and -cpuflags 0:

diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 2a3d008..3c488ca 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -343,7 +343,7 @@ static int config_props(AVFilterLink *outlink)
 if (scale->isws[1])
 sws_freeContext(scale->isws[1]);
 scale->isws[0] = scale->isws[1] = scale->sws = NULL;
-if (inlink->w == outlink->w && inlink->h == outlink->h &&
+if (0&&inlink->w == outlink->w && inlink->h == outlink->h &&
 inlink->format == outlink->format)
 ;
 else {


Carl Eugen

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


Re: [FFmpeg-user] In and out-range Scale option able to correct 0-255 video to 0-235?

2015-05-19 Thread Carl Eugen Hoyos
Christoph Gerstbauer  gmail.com> writes:

> C:\Windows\System32>ffmpeg -i
> C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff.avi -vf
> "scale=in_range=full:out_range=tv" -vcodec ffvhuff

It seems to me that the scale filter is so smart 
that it doesn't scale if the input and output 
resolution and input and output colourspace 
are identical.

Even worse, both the filter and the software 
scaler are smart enough to skip actual scaling, 
so fixing the issue in the scale filter is not 
sufficient...

I am not 100% sure if this is a bug, but it 
seems so;-)

(Please try to understand that I had no idea 
what you are talking about until seeing your 
- imo sensible - command line.)

I hope you mean "to correct 0-255 to 16-235".

Carl Eugen

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


Re: [FFmpeg-user] Conform framerate with ffmpeg

2015-05-19 Thread Carles Vila
On 19 May 2015 at 21:43, Carl Eugen Hoyos  wrote:

> Carles Vila  gmail.com> writes:
>
> > Hi, here are some of my findings regarding frame
> > rate conforming.
>
> Did you test input option -r ?
> Did it work?
>
> Carl Eugen
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


No it didn't. I used -r 25 (before -i) in conjunction with -c:v copy (which
is what I'm after) and it kept the framerate unchanged at  24.
Sorry not on my work computer right now, can't provide command.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] In and out-range Scale option able to correct 0-255 video to 0-235?

2015-05-19 Thread Christoph Gerstbauer
Hello Carl, here is the syntax

C:\Windows\System32>ffmpeg -i
C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff.avi -vf
"scale=in_range=full:out_range=tv" -vcodec ffvhuff C:\User
s\Administrator\Desktop\big_buck_bunny_ffvhuff_CORRfulltotv.avi -loglevel
debug
x265 [warning]: Unable to open libx265_main10.dll
ffmpeg version N-72220-gd0ac2f5 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-gnu
tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme
--enab
le-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 --ena
ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e
nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
  libavutil  54. 23.101 / 54. 23.101
  libavcodec 56. 39.101 / 56. 39.101
  libavformat56. 33.101 / 56. 33.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 16.101 /  5. 16.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-i' ... matched as input file with argument
'C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff.avi'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with
argument 'scale=in_range=full:out_range=tv'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
('copy' to copy stream)) with argument 'ffvhuff'.
Reading option
'C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff_CORRfulltotv.avi'
... matched as output file.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file
C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff.avi.
Successfully parsed a group of options.
Opening an input file:
C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff.avi.
[avi @ 02ea6400] Format avi probed with size=2048 and score=100
[avi @ 02eb7ec0] use odml:1
[avi @ 02ea6400] Before avformat_find_stream_info() pos: 5860 bytes
read:144392 seeks:4
[avi @ 02ea6400] parser not found for codec ffvhuff, packets or
times may be invalid.
Last message repeated 1 times
[avi @ 02ea6400] All info found
[avi @ 02ea6400] After avformat_find_stream_info() pos: 159592
bytes read:265356 seeks:4 frames:1
Input #0, avi, from
'C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff.avi':
  Metadata:
encoder : Lavf56.33.101
  Duration: 00:01:00.00, start: 0.00, bitrate: 55447 kb/s
Stream #0:0, 1, 1/24: Video: ffvhuff, 1 reference frame (FFVH /
0x48564646), yuv420p, 854x480, 1/24, 55480 kb/s, SAR 1:1 DAR 427:240, 24
fps, 24 t
br, 24 tbn, 24 tbc
Successfully opened the file.
Parsing a group of options: output file
C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff_CORRfulltotv.avi.
Applying option vf (set video filters) with argument
scale=in_range=full:out_range=tv.
Applying option vcodec (force video codec ('copy' to copy stream)) with
argument ffvhuff.
Successfully parsed a group of options.
Opening an output file:
C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff_CORRfulltotv.avi.
File
'C:\Users\Administrator\Desktop\big_buck_bunny_ffvhuff_CORRfulltotv.avi'
already exists. Overwrite ? [y/N] y
Successfully opened the file.
detected 4 logical cores
[Parsed_scale_0 @ 02eafbc0] Setting 'in_range' to value 'full'
[Parsed_scale_0 @ 02eafbc0] Setting 'out_range' to value 'tv'
[Parsed_scale_0 @ 02eafbc0] Setting 'flags' to value '0x4'
[Parsed_scale_0 @ 02eafbc0] w:iw h:ih flags:'0x4' interl:0
[graph 0 input from stream 0:0 @ 04b94a60] Setting 'video_size' to
value '854x480'
[graph 0 input from stream 0:0 @ 04b94a60] Setting 'pix_fmt' to
value '0'
[graph 0 input from stream 0:0 @ 04b94a60] Setting 'time_base' to
value '1/24'
[graph 0 input from stream 0:0 @ 04b94a60] Setting 'pixel_aspect'
to value '1/1'
[graph 0 input from stream 0:0 @ 04b94a60] Setting 'sws_param' to
value 'flags=2'
[graph 0 input from stream 0:0 @ 04b94a60] Setting 'frame_rate' to
value '24/1'
[graph 0 input from stream 0:0 @ 04b94a60] w:854 h:480
pixfmt:yuv420p tb:1/24 fr:24/1 sar:1/1 sws_param:flags=2
[format @ 04b95a4

Re: [FFmpeg-user] HD > SD Down-Convert Prores Color

2015-05-19 Thread Carl Eugen Hoyos
Kevin Wells  hotmail.co.uk> writes:

> Hi Carl, what should I change to make the output bt601?

Please provide such a sample (including ffmpeg -i output 
for the sample).

Carl Eugen

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


Re: [FFmpeg-user] Capture H.264 stream from Logitech C930e (C930) webcam

2015-05-19 Thread Carl Eugen Hoyos
Neik  rikai.com> writes:

> But, I am operating in a command line environment.

The only thing supported here...

Please provide "ffmpeg -list_formats 1 -i" and 
"v4l2-ctl --list-formats" console output for your 
device.

Note that if v4l2-ctl does not show h.264 for your 
device (ie if you are neik from the Gusari forum) 
then you have to ask somewhere else (a kernel user 
forum or similar).

Carl Eugen

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


Re: [FFmpeg-user] Conform framerate with ffmpeg

2015-05-19 Thread Carl Eugen Hoyos
Carles Vila  gmail.com> writes:

> Hi, here are some of my findings regarding frame 
> rate conforming.

Did you test input option -r ?
Did it work?

Carl Eugen

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


Re: [FFmpeg-user] deinterlacing SD content

2015-05-19 Thread Carl Eugen Hoyos
  kruemel.org> writes:

> When I play the original, the movie looks ok. For 
> the converted movie, I can see the typical 
> horizontal lines for moving objects.

Is this only reproducible with -vcodec libxx265 
or also with -vcodec mpeg4 -qscale 2 ?

Please provide the input sample.

Carl Eugen

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


[FFmpeg-user] deinterlacing SD content

2015-05-19 Thread cvb

Hi,

I have SD TV recordings (mpeg2, ts container) here which I would like to 
deinterlace and convert to h.265. I'm playing the recording with VLC.


When I play the original, the movie looks ok. For the converted movie, I 
can see the typical horizontal lines for moving objects. Forcing VLC to 
deinterlace the converted movie leads to a very stuttering image. I 
guess I must be doing something wrong, but am not sure what it is...


command line used:

D:\ffmpeg\bin\ffmpeg -i movie.ts -map 0:0 -map 0:1 -map 0:2 -c:a copy 
-vf yadif=1 -c:v libx265 -preset veryslow -x265-params crf=20 -strict 
experimental movie.mkv" 2>>movie.log


Output:
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.100
[mpegts @ 0459a020] Could not find codec parameters for stream 2 
(Unknown: none ([6][0][0][0] / 0x0006)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options

Input #0, mpegts, from 'movie.ts':
  Duration: 00:42:23.28, start: 89788.048133, bitrate: 3355 kb/s
  Program 132
Stream #0:0[0x3ff]: Video: mpeg2video (Main) ([2][0][0][0] / 
0x0002), yuv420p(tv), 720x576 [SAR 16:15 DAR 4:3], max. 15000 kb/s, 25 
fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x400](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 
Hz, stereo, s16p, 192 kb/s

Stream #0:2[0x20]: Unknown: none ([6][0][0][0] / 0x0006)
x265 [info]: HEVC encoder version 1.6
x265 [info]: build info [Windows][GCC 4.9.2][64 bit] 8bpp
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 
FMA3 LZCNT BMI2

x265 [info]: Main profile, Level-3 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: frame threads / pool features   : 3 / wpp(9 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 3 inter / 3 
intra

x265 [info]: ME / range / subpel / merge : star / 57 / 4 / 4
x265 [info]: Keyframe min / max / scenecut   : 25 / 250 / 40
x265 [info]: Lookahead / bframes / badapt: 40 / 8 / 2
x265 [info]: b-pyramid / weightp / weightb / refs: 1 / 1 / 1 / 5
x265 [info]: Rate Control / AQ-Strength / CUTree : CRF-20.0 / 1.0 / 1
x265 [info]: tools: rect amp rd=6 psy-rd=0.30 rdoq=2 psy-rdoq=1.00 
signhide

x265 [info]: tools: tmvp b-intra strong-intra-smoothing deblock sao
[matroska @ 045a6480] Codec for stream 1 does not use global 
headers but container format requires global headers

Output #0, matroska, to 'movie.mkv':
  Metadata:
encoder : Lavf56.31.100
Stream #0:0: Video: hevc (libx265), yuv420p, 720x576 [SAR 16:15 DAR 
4:3], q=2-31, 25 fps, 1k tbn, 25 tbc

Metadata:
  encoder : Lavc56.35.101 libx265
Stream #0:1(deu): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, 
stereo, 192 kb/s

Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> hevc (libx265))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=   56 fps=0.0 q=0.0 size=  10kB time=00:00:01.60 bitrate=  
52.2kbits/s
frame=   61 fps= 55 q=0.0 size=  19kB time=00:00:01.89 bitrate=  
83.9kbits/s
frame=   64 fps= 38 q=0.0 size=  45kB time=00:00:02.04 bitrate= 
180.9kbits/s
frame=   68 fps= 31 q=0.0 size=  59kB time=00:00:02.18 bitrate= 
221.6kbits/s
frame=   69 fps= 25 q=0.0 size=  68kB time=00:00:02.35 bitrate= 
235.4kbits/s
frame=   72 fps= 21 q=0.0 size=  95kB time=00:00:02.47 bitrate= 
316.4kbits/s
frame=   74 fps= 18 q=0.0 size= 119kB time=00:00:02.47 bitrate= 
394.6kbits/s
frame=   76 fps= 16 q=0.0 size= 147kB time=00:00:02.61 bitrate= 
459.5kbits/s
frame=   77 fps= 15 q=0.0 size= 149kB time=00:00:02.64 bitrate= 
461.8kbits/s
frame=   81 fps= 13 q=0.0 size= 183kB time=00:00:02.78 bitrate= 
538.9kbits/s
frame=   85 fps= 13 q=0.0 size= 

Re: [FFmpeg-user] Merge 2 Video + Audio files in a single file side by side.

2015-05-19 Thread Lou
On Tue, May 19, 2015, at 03:04 AM, meghana.rav...@amultek.com wrote:
> Hi... 
> 
> I need some help :) 
> 
> I need to merge 2 video files along with their audio in single file side
> by
> side. 
> 
> I am able to merge 2 video files in single file but it using audio of
> first
> video file only, where as i need to merge audio of second file as well.
> 
> below is command i am using to do that.
> 
> 
> `ffmpeg.exe -i input1.webm -vf "[in] scale=iw/2:ih/2, pad=2*iw:ih [left];
> movie=input2.webm, scale=iw/2:ih/2 [right]; [left][right] overlay=main
> _w/2:0 [out]" -b:v 768k ouput.webm`

Of course you're expected to show the complete console output from your
command.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] Merge 2 Video + Audio files in a single file side by side.

2015-05-19 Thread meghana.rav...@amultek.com
Hi... 

I need some help :) 

I need to merge 2 video files along with their audio in single file side by
side. 

I am able to merge 2 video files in single file but it using audio of first
video file only, where as i need to merge audio of second file as well.

below is command i am using to do that.


`ffmpeg.exe -i input1.webm -vf "[in] scale=iw/2:ih/2, pad=2*iw:ih [left];
movie=input2.webm, scale=iw/2:ih/2 [right]; [left][right] overlay=main
_w/2:0 [out]" -b:v 768k ouput.webm`

i have tried various way with `amerge` but no success. As I am new to
FFMpeg, i am not sure how can i achieve this. 

Please please help me on this. 

Thanks in Advance. 



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Merge-2-Video-Audio-files-in-a-single-file-side-by-side-tp4670537.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


[FFmpeg-user] Capture H.264 stream from Logitech C930e (C930) webcam

2015-05-19 Thread Neik
I am trying to capture the camera-encoded H.264 video stream from a 
Logitech C930e webcam.


It seems that there is support for this in the UVC driver and I 
understand that guvcview supports this camera:


http://sourceforge.net/p/linux-uvc/mailman/message/33405777/

But, I am operating in a command line environment. I need to capture the 
H.264 stream from the camera, write it to a file, and possibly 
retransmit it. I would like to use ffmpeg and ffserver. Ideally I'd like 
this to work on a Raspberry Pi, but am happy to use whatever hardware 
and OS makes this work.


How can I do this using ffmpeg?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Conform framerate with ffmpeg

2015-05-19 Thread Carles Vila
On 16 May 2015 at 10:24, Carl Eugen Hoyos  wrote:

> Reuben Martin  gmail.com> writes:
>
> > On Friday, May 15, 2015 02:42:06 PM Carl Eugen Hoyos wrote:
> > > Carles Vila  gmail.com> writes:
> > > > 2. Is there a way to conform a ProRes file
> > > > directly with ffmpeg? All audio channels playback
> > > > sample rate should also be modified accordingly.
> > >
> > > How is that possible without transcoding?
> > >
> > Just a guess, it might have a flag set somewhere to
> > indicate pull up or pull down for the audio sampling rate.
>
> Allow me to rephrase:
> You cannot change the audio playback sample rate without
> reencoding.
>
> There is an input option -r that should allow changing
> the video speed, it does not always work though.
> Please test and report back.
>
> Carl Eugen
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


Hi, here are some of my findings regarding frame rate conforming.
Please find below 2 links with video samples. I created the original at 24
fps from scratch and then I used Apple Cinema tools to create the conformed
25 fps version.
As you can see, the 25 fps version has the same exact frames but shorter
duration. That's what I would like to achieve with ffmpeg. Additionally the
sample rate of the conformed version has been pulled up to 50.000 kHz
(=48.000x(25/24)) to keep audio in sync, but I can assure no transcoding is
made in this operation, it takes fractions of a second to modify the header
of the file.
I believe this is a feature of the Quicktime structure to be able to modify
these values in the header, btw. the operation of conforming in Cinema
Tools is only possible with intra-frame codecs like Prores.
Thanks for your insight wether this could be possible to do with ffmpeg. If
audio is a problem, I could afford to skip it completely and keep only the
video stream (-an)


Here is the information ffmpeg gives about both files

++

$ ffmpeg -i* original+24fps.mov*
ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct 28 2014 17:39:46 with Apple LLVM version 5.1
(clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.4.2 --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
--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.101 / 56.  4.101
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  1.100 /  5.  1.100
  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
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'original+24fps.mov':
  Metadata:
major_brand : qt
minor_version   : 537199360
compatible_brands: qt
creation_time   : 2015-05-16 22:46:55
  *Duration: 00:00:04.17,* start: 0.00, bitrate: 23585 kb/s
Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le,
1920x1080, 20475 kb/s, SAR 1:1 DAR 16:9, *24 fps, 24 tbr, 24 tbn, 24 tbc
(default)*
Metadata:
  creation_time   : 2015-05-16 22:46:55
  handler_name: Apple Alias Data Handler
  encoder : Apple ProRes 422 HQ
  timecode: 01:00:00:00
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), *48000 Hz,* 1
channels, s16, 768 kb/s (default)
Metadata:
  creation_time   : 2015-05-16 22:46:55
  handler_name: Apple Alias Data Handler
Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1
channels, s16, 768 kb/s (default)
Metadata:
  creation_time   : 2015-05-16 22:46:55
  handler_name: Apple Alias Data Handler
Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1
channels, s16, 768 kb/s (default)
Metadata:
  creation_time   : 2015-05-16 22:46:55
  handler_name: Apple Alias Data Handler
Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1
channels, s16, 768 kb/s (default)
Metadata:
  creation_time   : 2015-05-16 22:46:55
  handler_name: Apple Alias Data Handler
Stream #0:5(eng): Data: n

Re: [FFmpeg-user] Remove 'Annotation' from Quicktime output

2015-05-19 Thread Kevin Wells

> To: ffmpeg-user@ffmpeg.org
> From: ceho...@ag.or.at
> Date: Tue, 19 May 2015 07:51:55 +
> Subject: Re: [FFmpeg-user] Remove 'Annotation' from Quicktime output
>
> Kevin Wells  hotmail.co.uk> writes:
>
>> ffmpeg version 2.6.2-tessus
>
> Please test current FFmpeg git head before reporting
> issues here (this should be well explained on
> evermeet.cx - if not, please tell me!) and please
> avoid thread-hijacking!
>
> You can use -flags +bitexact to avoid writing the
> muxer library name to the output file, note that
> this makes future bug autodetection impossible and
> is therefore strongly discouraged!
>
> Carl Eugen
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Hi Carl, sorry about that, I will start a new thread next time and use the 
current git head.
-flags +bitexact works a treat, thanks. 
  
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] HD > SD Down-Convert Prores Color

2015-05-19 Thread Kevin Wells

From: kevwe...@hotmail.co.uk
To: ffmpeg-user@ffmpeg.org
Date: Mon, 18 May 2015 11:50:20 +
Subject: Re: [FFmpeg-user] HD> SD Down-Convert Prores Color



> To: ffmpeg-user@ffmpeg.org
> From: ceho...@ag.or.at
> Date: Mon, 18 May 2015 10:45:25 +
> Subject: Re: [FFmpeg-user] HD> SD Down-Convert Prores Color
>
> Kevin Wells  hotmail.co.uk> writes:
>
>> This does not suffer from the issue, but the colours look slightly off
>>
>> ffmpeg -i /Users/kev/Movies/HD_BARS.mov -vf scale=720:576
>> -vcodec v210 -an out.mov
>
> Please test the following, sorry for not realising this earlier:
> $ ffmpeg -i HD_BARS.mov -s pal -vcodec prores -an -movflags +write_colr
> -an -s pal -color_primaries bt709 -color_trc bt709 -colorspace bt709 out.mov
>
> Carl Eugen
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

>Hi Carl, this is extremely close, the best yet! Thanks for not giving up on me.
>Only trouble is the file SD PAL file is flagged as bt709?
>I will show the readout and attache the FCP video scope grabs.

Hi Carl, what should I change to make the output bt601? 
  
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] keeping one frame for 3

2015-05-19 Thread lorenzo angeli
Hi , I'm trying to have one still frame and an image sequence clip joined
with concat.
It seems to be working fine, but I'm not sure how to make the still image
lasting 3 frames. at the moment I'm using :

ffmpeg -loop 1 -t 1 -i  -i .%4d. --filter_complex
"[in][out]" . out.mov

What's the correct flag to set so the first input image stays for 3 frames
rather than 25 sec ?
Thanks
L.

P.s
Sorry if this question has already been asked before but I couldn't find
references.


-- 
---
Efesto Lab LTD, Chancery Station House, 31-33 High Holborn, London WC1V 6AX
---
www.efestolab.uk

skype: lorenzo.efestolab
phone: +44 7961031018
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Integration of ffmpeg with Haswell

2015-05-19 Thread Henk D. Schoneveld

On 18 May 2015, at 17:27, Shiwani Agrawal  wrote:

> Hello ,
> 
> Thanks for explanation , I would certainly test the speed enhancement for my 
> case before paying for the license .
First read about quality of encoders, x264 used by ffmpeg, being the winner for 
years at
http://www.compression.ru/video/codec_comparison/h264_2012/
> 
> Thanks and Regards ,
> Shiwnai
> 
>> Date: Mon, 18 May 2015 17:19:22 +0200
>> From: barsn...@gmx.net
>> To: ffmpeg-user@ffmpeg.org
>> Subject: Re: [FFmpeg-user] Integration of ffmpeg with Haswell
>> 
>> On Mon, May 18, 2015 at 15:07:03 +, Shiwani Agrawal wrote:
>> 
>>> Thanks for helping me out in this issue , just want to clarify in the
>>> end , does it mean that if we integrate ffmpeg with the media SDK it
>>> increases the speed (or Quality) of transcoding process by processor
>>> ? If yes , why ?
>> 
>> The process is called "hardware acceleration". See here:
>> https://trac.ffmpeg.org/wiki/HWAccelIntro
>> 
>> It helps applications - in this case decoders, encoders, filters, and
>> so on - use special hardware for certain calculations, thereby reducing
>> the load on the CPU and/or increasing the speed. In your case, you are
>> referring to the Intel Quick Sync hardware, which was created
>> particularly for video (and audio?) coding.
>> 
>> Using it _should_ increase the speed of the transcoding process (note
>> that speed, quality and compression size are always trade-offs), but
>> doesn't always, it depends on the implementation. On the other hard,
>> the hardware algorithms have certain restrictions and aren't as
>> flexible as software solutions. You won't be able to adjust all
>> parameters of the encoding process, and sometimes more complex profiles
>> or more modern codecs aren't supported either. So it really depends on
>> your use case.
>> 
>> And I think you need a really good justification to pay for an extra
>> license for the Intel SDK. (I'm not sure a working free implementation
>> exists yet.) As a normal user, I wouldn't go to the trouble of
>> integrating the SDK. Just check how good ffmpeg's other support is for
>> you first.
>> 
>> 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 mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Query

2015-05-19 Thread Moritz Barsnick
On Tue, May 19, 2015 at 06:40:11 -0400, Marcus Johnson wrote:
> As for the video, are you trying to reencode it (like change it to
> h.264 to save space) or do you just want to copy it into another file
> with the audio?

The original poster already wrote:
> want to merge to a single file (prores 422 hq)

which is a target codec, as far as I understand.

On Tue, May 19, 2015 at 06:47:48 -0400, Marcus Johnson wrote:
> You'll have to do this in two steps. here is the audio step.

No, you don't! You're not using ffmpeg correctly. This is definitely
not something you ever need an additional step for.

> ffmpeg -i front_left.wav -i front_right.wav -i front_center.wav -i lfe.wav
> -i back_left.wav -i back_right.wav -filter_complex
> "[0:a][1:a][2:a][3:a][4:a][5:a]amerge=inputs=6[aout]" -map "[aout]"
> output.wav

To your given audio command line, just add an additional input:
 -i video.mov
and an additional mapping after the input files:
 -map 6:v
(if the video the sixth input)
and an additional codec spec:
 -c:v copy
if the source is prores and just needs to be copied, but "uncompressed
mov" might mean anything, so instead
 -c:v prores
and change the suffix of the output file to a suitable format, such as
  outfile.mov

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


Re: [FFmpeg-user] Query

2015-05-19 Thread Hardik Kanakia
Thank You Marcus, I shall run the same and let you know if I get stuck
anywhere

Thank you so much !!

Regards,

Hardik Kanakia
+91 93204 89772

On Tue, May 19, 2015 at 4:17 PM, Marcus Johnson 
wrote:

> You'll have to do this in two steps. here is the audio step.
>
> Replace the *.wav files here with the actual path and filenames. (also, if
> the wav files are 24 bit you'll have to add -acodec pcm_s24le in front of
> the file names)
>
> ffmpeg -i front_left.wav -i front_right.wav -i front_center.wav -i lfe.wav
> -i back_left.wav -i back_right.wav -filter_complex
> "[0:a][1:a][2:a][3:a][4:a][5:a]amerge=inputs=6[aout]" -map "[aout]"
> output.wav
>
> Once you're done with the audio file, run this to mux the video and audio
> into a container: ffmpeg -i AudioFile.wav -i Video.264 -acodec copy -vcodec
> copy Outputfile.mkv
> ___
> 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] Query

2015-05-19 Thread Marcus Johnson
You'll have to do this in two steps. here is the audio step.

Replace the *.wav files here with the actual path and filenames. (also, if
the wav files are 24 bit you'll have to add -acodec pcm_s24le in front of
the file names)

ffmpeg -i front_left.wav -i front_right.wav -i front_center.wav -i lfe.wav
-i back_left.wav -i back_right.wav -filter_complex
"[0:a][1:a][2:a][3:a][4:a][5:a]amerge=inputs=6[aout]" -map "[aout]"
output.wav

Once you're done with the audio file, run this to mux the video and audio
into a container: ffmpeg -i AudioFile.wav -i Video.264 -acodec copy -vcodec
copy Outputfile.mkv
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Query

2015-05-19 Thread Marcus Johnson
As for the video, are you trying to reencode it (like change it to h.264 to
save space) or do you just want to copy it into another file with the audio?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Query

2015-05-19 Thread Hardik Kanakia
Thank You Marcus,

All the 6 separate tracks will become 5.1



Regards,

Hardik Kanakia
+91 93204 89772

On Tue, May 19, 2015 at 3:59 PM, Marcus Johnson 
wrote:

> should those six separate audio tracks become a 5.1 audio file, or should
> they be pasted one after the other in a line? if the latter you're talking
> about concatanation; if the former, you'ree talking about merging the
> files.
>
> I'm not even going to get into the problems with your video question.
> ___
> 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] Query

2015-05-19 Thread Marcus Johnson
should those six separate audio tracks become a 5.1 audio file, or should
they be pasted one after the other in a line? if the latter you're talking
about concatanation; if the former, you'ree talking about merging the files.

I'm not even going to get into the problems with your video question.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Query

2015-05-19 Thread Hardik Kanakia
Hello Moritz,

Thank You your inputs,

What I was referring to is;
I have 6 separate audio tracks (wav format) and video file (uncompressed
mov) (of the same length) and want to merge to a single file (prores 422
hq).
Somehow I am not able to as I am very new to the world of ffmpeg.

Thank You

Regards,

Hardik Kanakia
+91 93204 89772

On Mon, May 18, 2015 at 5:34 PM, Moritz Barsnick  wrote:

> [Your subject doesn't say very much. That's not helpful.]
>
> On Mon, May 18, 2015 at 16:59:35 +0530, Hardik Kanakia wrote:
>
> > I have 6 separate channels (5.1) and separate video file which needs to
> be
> > merged into 1 file
>
> $ ffmpeg -i videofile -i audiofile -c copy outfile.mkv
>
> Or are you saying you have six separate audio files? Please be more
> precise.
>
> Tell us what you are tryig to achieve (more precisely), what you tried,
> what you got, what you expected. Include the full command line and
> complete, uncut console output.
>
> 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


Re: [FFmpeg-user] How to silently ignore inexistent inputs

2015-05-19 Thread Yevgen Voronetskyy
I’ve tried to use this approach with ffprobe to check the aliveness of streams.
Unfortunately, the streams unpublishing are quite often, so the time gap is 
rather big and often I still getting the same error…

Anyway, thank you for your response :)
--
Yev


> On May 19, 2015, at 10:41, Anatol  wrote:
> 
> On startup, run a quick 'is alive' detection call ("ffmpeg -i rtmp://
> server.com/stream X") through all the streams
> that u have, then build your cmd line only for those that that are alive.
> 
> On Tue, May 19, 2015 at 9:40 AM, Yevgen Voronetskyy <
> yevge...@webgroup-limited.com> wrote:
> 
>> Hi,
>> 
>> I would like to generate a mosaic video from multiple RTMP streams.
>> I have a working ffmpeg CMD starting with the list of 25-30 online streams:
>> 
>> ffmpeg -i rtmp://server.com/stream1  -i rtmp://
>> server.com/stream2  … -i rtmp://
>> server.com/stream30  THE_REST_IS_OMMITTED
>> 
>> This command works well only if all streams are present.
>> If one of the stream is dead, the ffmpeg complaints “Server error: Failed
>> to play stream15; stream not found.” and stops.
>> 
>> Is there any ffmpeg option to by-pass inexistent sources?
>> 
>> Thanks in advance,
>> --
>> Yev
>> 
>> 
>> ___
>> 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] Remove 'Annotation' from Quicktime output

2015-05-19 Thread Carl Eugen Hoyos
Kevin Wells  hotmail.co.uk> writes:

> ffmpeg version 2.6.2-tessus

Please test current FFmpeg git head before reporting 
issues here (this should be well explained on 
evermeet.cx - if not, please tell me!) and please 
avoid thread-hijacking!

You can use -flags +bitexact to avoid writing the 
muxer library name to the output file, note that 
this makes future bug autodetection impossible and 
is therefore strongly discouraged!

Carl Eugen

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


Re: [FFmpeg-user] How to silently ignore inexistent inputs

2015-05-19 Thread Anatol
On startup, run a quick 'is alive' detection call ("ffmpeg -i rtmp://
server.com/stream X") through all the streams
that u have, then build your cmd line only for those that that are alive.

On Tue, May 19, 2015 at 9:40 AM, Yevgen Voronetskyy <
yevge...@webgroup-limited.com> wrote:

> Hi,
>
> I would like to generate a mosaic video from multiple RTMP streams.
> I have a working ffmpeg CMD starting with the list of 25-30 online streams:
>
> ffmpeg -i rtmp://server.com/stream1  -i rtmp://
> server.com/stream2  … -i rtmp://
> server.com/stream30  THE_REST_IS_OMMITTED
>
> This command works well only if all streams are present.
> If one of the stream is dead, the ffmpeg complaints “Server error: Failed
> to play stream15; stream not found.” and stops.
>
> Is there any ffmpeg option to by-pass inexistent sources?
>
> Thanks in advance,
> --
> Yev
>
>
> ___
> 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