[FFmpeg-user] FFmpeg does not add meta tags to mp2 files

2015-07-25 Thread andrew
The most recent git FFmpeg does not add meta tags to mp2 files when
using the native encoder. An example here:

+-
andrew@ilium~/media/luckynight/test$ ffmpeg -i luckynight.wav -c:a mp2 -b:a 
320k -metadata artist="Jody Marie Gnant" test.mp2
ffmpeg version N-73994-g1909a91 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8.2 (GCC)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 
--docdir=/usr/doc/ffmpeg --mandir=/usr/man --enable-postproc --enable-avfilter 
--enable-pthreads --enable-shared --disable-static --disable-ffserver 
--enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libx265 
--enable-libvpx --enable-libopus --enable-libfdk-aac --enable-libfaac 
--enable-libtheora --enable-libilbc --enable-zlib --enable-libfreetype 
--disable-x11grab --enable-nonfree --enable-gpl --enable-version3 
--enable-libsoxr --enable-libopencore-amrnb --enable-libopencore-amrwb
  libavutil  54. 29.100 / 54. 29.100
  libavcodec 56. 52.100 / 56. 52.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 28.100 /  5. 28.100
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc53.  3.100 / 53.  3.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from 'luckynight.wav':
  Duration: 00:01:00.48, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 
channels, s16, 1411 kb/s
Output #0, mp2, to 'test.mp2':
  Metadata:
artist  : Jody Marie Gnant
encoder : Lavf56.40.101
Stream #0:0: Audio: mp2, 44100 Hz, stereo, s16, 320 kb/s
Metadata:
  encoder : Lavc56.52.100 mp2
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp2 (native))
Press [q] to stop, [?] for help
size=2363kB time=00:01:00.48 bitrate= 320.1kbits/s
video:0kB audio:2363kB subtitle:0kB other streams:0kB global headers:0kB muxing 
overhead: 0.00%
andrew@ilium~/media/luckynight/test$ 

+-

id3v2 2.4.0 tages can be added to such files using Mutagen's mid3v2,
is there something I am missing with FFmpeg and tagging mp2 files?

Thanks,

Andrew

-- 
You think that's air you're breathing now?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] How to capture an RTMP stream

2015-07-25 Thread Moritz Barsnick
On Fri, Jul 24, 2015 at 18:09:13 -0600, Deron wrote:
> Closing connection: NetStream.Play.StreamNotFound
> rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662: Unknown error 
> occurred

Interesting, because mplayer too can dump it just fine:
$ mplayer -v -dumpstream -dumpfile test.flv 
rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662
(Audio and video of the dump are out of sync though.)

I personally don't see why this shouldn't work with ffmpeg. *shrug*

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


Re: [FFmpeg-user] Running multiple ffmpeg commands with minimal loss in quality

2015-07-25 Thread Moritz Barsnick
On Fri, Jul 24, 2015 at 16:02:22 -0700, Michael Nolan wrote:
> do things like overlay, scale and trim videos, render text, render images,
[...]
> The biggest issue that I have is that the application that I run has to run
> ffmpeg multiple times, thus re-encoding the video(s) and making the end
> video look much lower quality than the original content. The original
> videos are .webm and encoded using QTmuxingAppLibWebM-0.0.1.

You say it "has to". Could you elaborate?

> Is there any way that I can help prevent this sort of thing or is there any
> existing tooling for taking a series of edits and running them in one
> command (meaning I don't have to re-encode multiple times)?

Not if it "has to". You didn't give us examples of what you are doing -
full command lines for the chain of edits - so I can only guess you are
basically using ffmpeg's filters (in the widest sense) to do these
edits.

If so, you can chain your filters to a filterchain or a complex filter.

$ ffmpeg [...] -vf filter1=a=a1:b=b1,filter2=c=c1:d=d1 [...]
$ ffmpeg [...] -filter_complex 
"[0:v][1:v]filter1=...[outv];[0:a]filter2[outa];[outv][2:v]overlay" [...]

Please show us your commands.

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


Re: [FFmpeg-user] FFmpeg does not add meta tags to mp2 files

2015-07-25 Thread Kimio Miyamura

> 2015/07/25 5:19 P.M. andrew  gmail.com> wrote: 
> 
> andrew@ilium~/media/luckynight/test$ ffmpeg -i luckynight.wav -c:a mp2 -b:a 
> 320k -metadata artist="Jody Marie Gnant" test.mp2

Try put -metadata option just after -i option.

$ ffmpeg -i luckynight.wav -metadata artist="Jody Marie Gnant" -c:a mp2 -b:a 
320k test.mp2


Best Regards,

// Miya

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


Re: [FFmpeg-user] FFmpeg does not add meta tags to mp2 files

2015-07-25 Thread Moritz Barsnick
On Sat, Jul 25, 2015 at 17:46:01 +0900, Kimio Miyamura wrote:
> Try put -metadata option just after -i option.
> $ ffmpeg -i luckynight.wav -metadata artist="Jody Marie Gnant" -c:a mp2 -b:a 
> 320k test.mp2

Miya, the order of output options does not matter, if they are all
place between the input and the output.

You could have tried your suggestion within 10 seconds[*] to see that
it doesn't help. ;-)

Moritz

[*]
$ ffmpeg -f lavfi -i sine -metadata artist="Jody Marie Gnant" -t 2 -c:a mp2 
-b:a 320k test.mp2
$ ffprobe test.mp2
$ ffmpeg -f lavfi -i sine -t 2 -c:a mp2 -b:a 320k -metadata artist="Jody Marie 
Gnant" test.mp2
$ ffprobe test.mp2
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Running multiple ffmpeg commands with minimal loss in quality

2015-07-25 Thread Francois Visagie
> -Original Message-
> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of
> Michael Nolan
> Sent: 25 July 2015 01:02
> To: ffmpeg-user@ffmpeg.org
> Subject: [FFmpeg-user] Running multiple ffmpeg commands with minimal
> loss in quality
> 
> Hi everyone,
> 
> I'm writing a video editor which will push out a large json file that
> includes the videos and a series of edits that were performed upon them. I
> have a python application which parses the json and runs ffmpeg commands
> to
> do things like overlay, scale and trim videos, render text, render images,
> etc.
> 
> The biggest issue that I have is that the application that I run has to run
> ffmpeg multiple times, thus re-encoding the video(s) and making the end
> video look much lower quality than the original content. The original
> videos are .webm and encoded using QTmuxingAppLibWebM-0.0.1.
> 
> Is there any way that I can help prevent this sort of thing or is there any
> existing tooling for taking a series of edits and running them in one
> command (meaning I don't have to re-encode multiple times)?
> 
> Any help would be appreciated.

The standard approach to this kind of issue is to use (as close to) losslessly 
encoded intermediate files as possible. I.e. either use a codec designed for 
lossless encoding such as "HuffYUV", or use something like x264 with "lossless" 
settings.

> 
> - Mike
> IRC: nolski
> ___
> 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] Running multiple ffmpeg commands with minimal loss in quality

2015-07-25 Thread Francois Visagie
> -Original Message-
> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of
> Moritz Barsnick
> Sent: 25 July 2015 10:45
> To: FFmpeg user discussions
> Subject: Re: [FFmpeg-user] Running multiple ffmpeg commands with
> minimal loss in quality
> 
> On Fri, Jul 24, 2015 at 16:02:22 -0700, Michael Nolan wrote:
> > do things like overlay, scale and trim videos, render text, render
> > images,
> [...]
> > The biggest issue that I have is that the application that I run has
> > to run ffmpeg multiple times, thus re-encoding the video(s) and making
> > the end video look much lower quality than the original content. The
> > original videos are .webm and encoded using QTmuxingAppLibWebM-
> 0.0.1.
> 
> You say it "has to". Could you elaborate?
> 
> > Is there any way that I can help prevent this sort of thing or is
> > there any existing tooling for taking a series of edits and running
> > them in one command (meaning I don't have to re-encode multiple times)?
> 
> Not if it "has to". You didn't give us examples of what you are doing - full
> command lines for the chain of edits - so I can only guess you are basically
> using ffmpeg's filters (in the widest sense) to do these edits.
> 
> If so, you can chain your filters to a filterchain or a complex filter.

Thanks, I neglected to mention this.

> 
> $ ffmpeg [...] -vf filter1=a=a1:b=b1,filter2=c=c1:d=d1 [...] $ ffmpeg [...] -
> filter_complex
> "[0:v][1:v]filter1=...[outv];[0:a]filter2[outa];[outv][2:v]overlay" [...]
> 
> Please show us your commands.
> 
> 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] FFmpeg does not add meta tags to mp2 files

2015-07-25 Thread Kimio Miyamura

> 2015/07/25 5:51 P.M. Moritz Barsnick  gmx.net> wrote:
> 
> On Sat, Jul 25, 2015 at 17:46:01 +0900, Kimio Miyamura wrote:
>> Try put -metadata option just after -i option.
>> $ ffmpeg -i luckynight.wav -metadata artist="Jody Marie Gnant" -c:a mp2 -b:a 
>> 320k test.mp2
> 
> Miya, the order of output options does not matter, if they are all
> place between the input and the output.
> 
> You could have tried your suggestion within 10 seconds[*] to see that
> it doesn't help. ;-)

Oh!  Sorry!!

I have believed Stackoverflow's post.

http://stackoverflow.com/questions/11183093/video-metadata-edit-with-ffmpeg 


In my memory, this worked for video file...

OK, my post is incorrect.  I'd like to follow-up how this thread is going...


Best Regards,

// Miya

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


Re: [FFmpeg-user] FFmpeg does not add meta tags to mp2 files

2015-07-25 Thread Nicolas George
Le septidi 7 thermidor, an CCXXIII, Kimio Miyamura a écrit :
> >> Try put -metadata option just after -i option.
> I have believed Stackoverflow's post.
> 
> http://stackoverflow.com/questions/11183093/video-metadata-edit-with-ffmpeg

The stackoverflow post is correct: the -metadata option should be after the
-i options, so it affects the output.

But it does not need to be JUST after the -i option, which is what you
wrote.

The generic syntax is:

ffmpeg [options for input_1] -i input_1 [options for input_2] -i input_2 \
  ... [options for output_1] output_1 [options for output_2] output_2 ...

Regards,

-- 
  Nicolas George


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


Re: [FFmpeg-user] Running multiple ffmpeg commands with minimal loss in quality

2015-07-25 Thread MrNice
On 25/07/15 09:54, Francois Visagie wrote:
>> -Original Message-
>> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of
>> Michael Nolan
>> Sent: 25 July 2015 01:02
>> To: ffmpeg-user@ffmpeg.org
>> Subject: [FFmpeg-user] Running multiple ffmpeg commands with minimal
>> loss in quality
>>
>> Hi everyone,
>>
>> I'm writing a video editor which will push out a large json file that
>> includes the videos and a series of edits that were performed upon them. I
>> have a python application which parses the json and runs ffmpeg commands
>> to
>> do things like overlay, scale and trim videos, render text, render images,
>> etc.
>>
>> The biggest issue that I have is that the application that I run has to run
>> ffmpeg multiple times, thus re-encoding the video(s) and making the end
>> video look much lower quality than the original content. The original
>> videos are .webm and encoded using QTmuxingAppLibWebM-0.0.1.
>>
>> Is there any way that I can help prevent this sort of thing or is there any
>> existing tooling for taking a series of edits and running them in one
>> command (meaning I don't have to re-encode multiple times)?
>>
>> Any help would be appreciated.
> 
> The standard approach to this kind of issue is to use (as close to) 
> losslessly encoded intermediate files as possible. I.e. either use a codec 
> designed for lossless encoding such as "HuffYUV", or use something like x264 
> with "lossless" settings.
> 
>>

Sorry to interfere,
>
> The standard approach to this kind of issue is to use (as close to)
losslessly encoded intermediate files as possible. I.e. either use a
codec designed for lossless encoding such as "HuffYUV", or use something
like x264 with "lossless" settings.
>
Why do you add " " around lossless for x264. Is x264 still lossy even
with "lossless" setting?
BTW what is/are it/they?

Thanks François
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] How to capture an RTMP stream

2015-07-25 Thread DopeLabs
rune:~ dopelabs$ ffmpeg -i 
"rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662" -c copy -f mp4 
test.mp4
ffmpeg version N-66156-gb76d6eb Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep  7 2014 07:54:06 with Apple LLVM version 5.1 (clang-503.0.40) 
(based on LLVM 3.4svn)
  configuration:
  libavutil  54.  7.100 / 54.  7.100
  libavcodec 56.  1.100 / 56.  1.100
  libavformat56.  4.100 / 56.  4.100
  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
[flv @ 0x7f8fcb01a000] Stream discovered after head already parsed
Input #0, flv, from 'rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662':
  Metadata:
copyright   : ''
author  : ''
description : ''
keywords: ''
rating  : ''
title   : 'SonLife'
presetname  : 'Custom'
creationdate: '21/07/2015 11:21:13 GMT-5'
videodevice : 'SDI Capture Card'
videoframerate  : 30
avclevel: 31.00
avcprofile  : 88.00
videokey: 50.00
videoonly   : 0
audioonly   : 0
audiodevice : 'SDI Capture Card'
audioinputvolume: 50.00
encoder : 'C21 Live Encoder'
  Duration: 00:00:00.00, start: 0.00, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 2048 
kb/s, 30.33 fps, 30 tbr, 1k tbn, 60 tbc
Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 93 kb/s
Stream #0:2: Data: none
Output #0, mp4, to 'test.mp4':
  Metadata:
copyright   : ''
author  : ''
description : ''
keywords: ''
rating  : ''
title   : 'SonLife'
presetname  : 'Custom'
creationdate: '21/07/2015 11:21:13 GMT-5'
videodevice : 'SDI Capture Card'
videoframerate  : 30
avclevel: 31.00
avcprofile  : 88.00
videokey: 50.00
videoonly   : 0
audioonly   : 0
audiodevice : 'SDI Capture Card'
audioinputvolume: 50.00
encoder : Lavf56.4.100
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 
1:1 DAR 16:9], q=2-31, 2048 kb/s, 30.33 fps, 16k tbn, 1k tbc
Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 93 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  404 fps= 53 q=-1.0 Lsize=3454kB time=00:00:10.68 
bitrate=2648.0kbits/s
video:3317kB audio:125kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: 0.360223%

rune:~ dopelabs$ ffprobe test.mp4
ffprobe version N-66156-gb76d6eb Copyright (c) 2007-2014 the FFmpeg developers
  built on Sep  7 2014 07:54:06 with Apple LLVM version 5.1 (clang-503.0.40) 
(based on LLVM 3.4svn)
  configuration:
  libavutil  54.  7.100 / 54.  7.100
  libavcodec 56.  1.100 / 56.  1.100
  libavformat56.  4.100 / 56.  4.100
  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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
title   : 'SonLife'
encoder : Lavf56.4.100
copyright   : ''
description : ''
  Duration: 00:00:10.70, start: 0.00, bitrate: 2644 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 
[SAR 1:1 DAR 16:9], 2539 kb/s, 37.76 fps, 30 tbr, 16k tbn, 60 tbc (default)
Metadata:
  handler_name: VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 
95 kb/s (default)
Metadata:
  handler_name: SoundHandler



> On Jul 25, 2015, at 1:34 AM, Moritz Barsnick  wrote:
> 
> On Fri, Jul 24, 2015 at 18:09:13 -0600, Deron wrote:
>> Closing connection: NetStream.Play.StreamNotFound
>> rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662: Unknown error 
>> occurred
> 
> Interesting, because mplayer too can dump it just fine:
> $ mplayer -v -dumpstream -dumpfile test.flv 
> rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662
> (Audio and video of the dump are out of sync though.)
> 
> I personally don't see why this shouldn't work with ffmpeg. *shrug*
> 
> 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 capture an RTMP stream

2015-07-25 Thread Moritz Barsnick
On Sat, Jul 25, 2015 at 02:55:54 -0700, DopeLabs wrote:
> rune:~ dopelabs$ ffmpeg -i 
> "rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662" -c copy -f mp4 
> test.mp4
> ffmpeg version N-66156-gb76d6eb Copyright (c) 2000-2014 the FFmpeg developers
>   built on Sep  7 2014 07:54:06 with Apple LLVM version 5.1 (clang-503.0.40) 
> (based on LLVM 3.4svn)
>   configuration:
>   libavutil  54.  7.100 / 54.  7.100
>   libavcodec 56.  1.100 / 56.  1.100
>   libavformat56.  4.100 / 56.  4.100
>   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

Then it seems like a regression. With my much newer version, I get the error 
which
the original poster quoted:

$ ffmpeg -i "rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662" -c copy 
-f mp4 test.mp4
ffmpeg version N-73534-g3bb58c3 Copyright (c) 2000-2015 the FFmpeg developers
  built with icc (ICC) 14.0.3 20140422
  configuration: --prefix=/usr/new/tools/video/install/ffmpeg/2015-07-11 
--cc=icc --cxx=icpc --enable-gpl --enable-version3 --enable-nonfree 
--disable-shared --enable-gnutls --enable-libcdio --enable-libfreetype 
--enable-libx264 --enable-libmp3lame --enable-openal --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp 
--enable-libass --enable-libv4l2 --enable-libvidstab --enable-libfdk-aac 
--enable-libsmbclient --enable-libquvi --enable-libzvbi --enable-libzmq
  libavutil  54. 28.100 / 54. 28.100
  libavcodec 56. 47.100 / 56. 47.100
  libavformat56. 40.100 / 56. 40.100
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 21.100 /  5. 21.100
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc53.  3.100 / 53.  3.100
Closing connection: NetStream.Play.StreamNotFound
rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662: Unknown error occurred

Looks like someone needs to do a git bisect. ;-) (Not me. :))
Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Copy-capturing h264 input while force-rewriting the PTS

2015-07-25 Thread Henk D. Schoneveld

On 25 Jul 2015, at 01:50, Peter Rabbitson  wrote:

> Hello!
> 
> I have a Logitech C920 affected by a know-yet-wontfix kernel uvc-video 
> bug[1]. Given That I need a relatively recent kernel and it looks like the 
> problematic patch in 3.17+ will not be reverted, I am hoping that ffmpeg can 
> somehow help me with a workaround.
> 
> The problem in short is that while the hardware h264 encoder in the camera 
> provides correct PTS values, the kernel driver then throws them away and 
> recalculates them incorrectly based on the usb clock or something [2]. I am 
> wondering if there is a way to force ffmpeg to discard the (now incorrect) 
> PTS again, and assign its own base on the machine clock.
> 
> I (blindly at this point) tried various permutations of formats (muxed or 
> raw) and the various ffmpeg options of:
> -fflags genpts
> -copyts
> -copytb [0/1]
> -map ,
> 
> All to no avail. Either the stream stutters[3] (when muxing into matroska or 
> mp4) or the stream runs smoothly but about 2x times faster than realtime 
> (when using -f h264 )
You need, afaik, slowmotion on a ‘bad’h264 to get a to be expected resulting.ext
I think you’ll need something like -vf “setpts=(1/)*PTS”
> 
> Is there *anything* ffmpeg can do to help me here, or do I need to compile a 
> custom kernel ripping out the problematic commit[4]?
> 
> Thanks!
> 
> 
> [1] http://sourceforge.net/p/linux-uvc/mailman/message/33564420/
> [2] 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/media/video/uvc/uvc_video.c?id=66847ef0#n524
> [3] https://vimeo.com/114550042
> [4] 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=66847ef
> ___
> 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 does not add meta tags to mp2 files

2015-07-25 Thread Kimio Miyamura
Hello Nicolas-san,

> 2015/07/25 6:44 P.M.  Nicolas George  nsup.org> wrote: 
> 
> Le septidi 7 thermidor, an CCXXIII, Kimio Miyamura a écrit :
 Try put -metadata option just after -i option.
>> I have believed Stackoverflow's post.
>> 
>> http://stackoverflow.com/questions/11183093/video-metadata-edit-with-ffmpeg
> 
> The stackoverflow post is correct: the -metadata option should be after the
> -i options, so it affects the output.
> 
> But it does not need to be JUST after the -i option, which is what you
> wrote.


OK now I understand what is wrong with me.  Thanks for your explanation.

I have confirmed that -metadata artist="Jody Marie Gnant" does not affect to 
the output with Moritz-san's sample code.  ffmpeg version is the latest, 
N-73994-g1909a91.

Now I'm curious about why -metadata artist="Jody Marie Gnant" does not affected 
to the output...

Does anyone know why?


Best Regards,

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


Re: [FFmpeg-user] FFmpeg does not add meta tags to mp2 files

2015-07-25 Thread James Darnley
On 2015-07-25 13:33, Kimio Miyamura wrote:
> Now I'm curious about why -metadata artist="Jody Marie Gnant" does not 
> affected to the output...
> 
> Does anyone know why?

Because nobody has written that feature yet.



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


Re: [FFmpeg-user] FFmpeg does not add meta tags to mp2 files

2015-07-25 Thread Moritz Barsnick
On Sat, Jul 25, 2015 at 13:40:21 +0200, James Darnley wrote:
> On 2015-07-25 13:33, Kimio Miyamura wrote:
> > Now I'm curious about why -metadata artist="Jody Marie Gnant" does not 
> > affected to the output...
> > 
> > Does anyone know why?
> 
> Because nobody has written that feature yet.

https://ffmpeg.org/pipermail/ffmpeg-user/2012-August/008633.html

It might not even be possible in classic terms with MPEG I/II (or PS)
containers. I think the original poster pointed out that ID3v2 tools
would add such "metadata" to MP2 files as well, but I think that just
happens to work, and is certainly not supported by ffmpeg.

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


Re: [FFmpeg-user] FFmpeg does not add meta tags to mp2 files

2015-07-25 Thread Carl Eugen Hoyos
andrew  gmail.com> writes:

> The most recent git FFmpeg does not add meta tags to 
> mp2 files when using the native encoder.

Yes, you can use "-f mp3" to get the tags for the 
output file.
I suspect such files will not conform to some specification.

Carl Eugen

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


Re: [FFmpeg-user] How to capture an RTMP stream

2015-07-25 Thread Carl Eugen Hoyos
Moritz Barsnick  gmx.net> writes:

>   configuration: --enable-librtmp

> Looks like someone needs to do a git bisect.  (Not me. :))

But you could test without "--enable-librtmp".

Carl Eugen

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


Re: [FFmpeg-user] Copy-capturing h264 input while force-rewriting the PTS

2015-07-25 Thread Carl Eugen Hoyos
Peter Rabbitson  rabbit.us> writes:

> I am hoping that ffmpeg can somehow help me with a 
> workaround.

You can try the input option "-r", unfortunately 
it does not work for many use-cases.

FFmpeg is not very good with h264 timestamps...

Carl Eugen

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


Re: [FFmpeg-user] How to capture an RTMP stream

2015-07-25 Thread Moritz Barsnick
On Sat, Jul 25, 2015 at 11:52:56 +, Carl Eugen Hoyos wrote:
> But you could test without "--enable-librtmp".

Is it possible to choose different protocol handlers at runtime, as it
is with decoders (analog to the choice of "mp3" vs. "mp3float" using
"-c:v" as inpt option)? Or does using librtmp totally disable ffmpeg's
native implementation?

(Indeed, my librtmp doesn't seem to like this URL, shown by trying with
rtmpdump. But I'm not the original poster. ;-))

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


Re: [FFmpeg-user] Running multiple ffmpeg commands with minimal loss in quality

2015-07-25 Thread Carl Eugen Hoyos
Francois Visagie  gmail.com> writes:

> I.e. either use a codec designed for lossless encoding 
> such as "HuffYUV", or use something like x264 with 
> "lossless" settings.

FFv1 should be superior in (nearly) every regard, for 
example you would need several different x264 libraries 
to support all possible colour spaces and they are not 
supported by Huffyuv at all.

Carl Eugen

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


[FFmpeg-user] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread vedran
Hello guys,

i need somebody to write me commands for converting videos i'm prepared to
pay that. it should be able to process feew different formats and convert
videos to a few most popular formats.. nothing which would not work out of
box in ffmpeg.. and maybe some tweaking about processor usage and quality
but that second part is less important. Anyone interested?


Please send me how much would that cost aprox. I need to convert *most of*
these:

mov (QuickTime Movie)
mp4 (MPEG-4 Video)
mpe (MPEG Video)
mpeg (MPEG Video)
mpeg4 (MPEG-4 Video)
3g2 (Mobile Video)
3gp (Mobile Video)
3gpp (Mobile Video)
asf (Windows Media Video)
avi (AVI Video)



And convert to *most of* these:


   - HTML5, Flash: MP4/H.264, High profile
   - HTML5: WebM
   - HTML5: Ogg
   - Mobile: MP4/H.264, Baseline profile, 480x360, for wide compatibility
   - Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS devices
   (iPhone 4, iPad, Apple TV)
   - Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for non-smartphones*




Important is to support being played in chrome, firefox, ie9 and iphone and
android.. .. at least, most of those with importance of being able to play
on iphones


p.s. i use videojs for video play.



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


Re: [FFmpeg-user] FFmpeg does not add meta tags to mp2 files

2015-07-25 Thread Kimio Miyamura
Hello James-san,

> 2015/07/25 8:40 P.M.  James Darnley  gmail.com> wrote:
> 
> On 2015-07-25 13:33, Kimio Miyamura wrote:
>> Now I'm curious about why -metadata artist="Jody Marie Gnant" does not 
>> affected to the output...
>> 
>> Does anyone know why?
> 
> Because nobody has written that feature yet.

Thanks for your short enough answer!


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


Re: [FFmpeg-user] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread Another Sillyname
would help if you stated windows or 'nix

On 25 July 2015 at 13:32, vedran  wrote:
> Hello guys,
>
> i need somebody to write me commands for converting videos i'm prepared to
> pay that. it should be able to process feew different formats and convert
> videos to a few most popular formats.. nothing which would not work out of
> box in ffmpeg.. and maybe some tweaking about processor usage and quality
> but that second part is less important. Anyone interested?
>
>
> Please send me how much would that cost aprox. I need to convert *most of*
> these:
>
> mov (QuickTime Movie)
> mp4 (MPEG-4 Video)
> mpe (MPEG Video)
> mpeg (MPEG Video)
> mpeg4 (MPEG-4 Video)
> 3g2 (Mobile Video)
> 3gp (Mobile Video)
> 3gpp (Mobile Video)
> asf (Windows Media Video)
> avi (AVI Video)
>
>
>
> And convert to *most of* these:
>
>
>- HTML5, Flash: MP4/H.264, High profile
>- HTML5: WebM
>- HTML5: Ogg
>- Mobile: MP4/H.264, Baseline profile, 480x360, for wide compatibility
>- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS devices
>(iPhone 4, iPad, Apple TV)
>- Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for non-smartphones*
>
>
>
>
> Important is to support being played in chrome, firefox, ie9 and iphone and
> android.. .. at least, most of those with importance of being able to play
> on iphones
>
>
> p.s. i use videojs for video play.
>
>
>
> Greetings
> ___
> 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] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread vedran
debian with multimedia repos

On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
anothersn...@googlemail.com> wrote:

> would help if you stated windows or 'nix
>
> On 25 July 2015 at 13:32, vedran  wrote:
> > Hello guys,
> >
> > i need somebody to write me commands for converting videos i'm prepared
> to
> > pay that. it should be able to process feew different formats and convert
> > videos to a few most popular formats.. nothing which would not work out
> of
> > box in ffmpeg.. and maybe some tweaking about processor usage and quality
> > but that second part is less important. Anyone interested?
> >
> >
> > Please send me how much would that cost aprox. I need to convert *most
> of*
> > these:
> >
> > mov (QuickTime Movie)
> > mp4 (MPEG-4 Video)
> > mpe (MPEG Video)
> > mpeg (MPEG Video)
> > mpeg4 (MPEG-4 Video)
> > 3g2 (Mobile Video)
> > 3gp (Mobile Video)
> > 3gpp (Mobile Video)
> > asf (Windows Media Video)
> > avi (AVI Video)
> >
> >
> >
> > And convert to *most of* these:
> >
> >
> >- HTML5, Flash: MP4/H.264, High profile
> >- HTML5: WebM
> >- HTML5: Ogg
> >- Mobile: MP4/H.264, Baseline profile, 480x360, for wide compatibility
> >- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS devices
> >(iPhone 4, iPad, Apple TV)
> >- Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for non-smartphones*
> >
> >
> >
> >
> > Important is to support being played in chrome, firefox, ie9 and iphone
> and
> > android.. .. at least, most of those with importance of being able to
> play
> > on iphones
> >
> >
> > p.s. i use videojs for video play.
> >
> >
> >
> > Greetings
> > ___
> > 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] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread vedran
i'm not into ffmpeg so i feel that i would have to spend A LOT OF TIME
tuning this.. and i would rather pay for somebody writing me commands which
i would put into a scrips.. also it would be great to have multiple output
once it is created...

i saw it here: https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs



On Sat, Jul 25, 2015 at 2:38 PM, vedran  wrote:

> debian with multimedia repos
>
> On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
> anothersn...@googlemail.com> wrote:
>
>> would help if you stated windows or 'nix
>>
>> On 25 July 2015 at 13:32, vedran  wrote:
>> > Hello guys,
>> >
>> > i need somebody to write me commands for converting videos i'm prepared
>> to
>> > pay that. it should be able to process feew different formats and
>> convert
>> > videos to a few most popular formats.. nothing which would not work out
>> of
>> > box in ffmpeg.. and maybe some tweaking about processor usage and
>> quality
>> > but that second part is less important. Anyone interested?
>> >
>> >
>> > Please send me how much would that cost aprox. I need to convert *most
>> of*
>> > these:
>> >
>> > mov (QuickTime Movie)
>> > mp4 (MPEG-4 Video)
>> > mpe (MPEG Video)
>> > mpeg (MPEG Video)
>> > mpeg4 (MPEG-4 Video)
>> > 3g2 (Mobile Video)
>> > 3gp (Mobile Video)
>> > 3gpp (Mobile Video)
>> > asf (Windows Media Video)
>> > avi (AVI Video)
>> >
>> >
>> >
>> > And convert to *most of* these:
>> >
>> >
>> >- HTML5, Flash: MP4/H.264, High profile
>> >- HTML5: WebM
>> >- HTML5: Ogg
>> >- Mobile: MP4/H.264, Baseline profile, 480x360, for wide
>> compatibility
>> >- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS devices
>> >(iPhone 4, iPad, Apple TV)
>> >- Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for non-smartphones*
>> >
>> >
>> >
>> >
>> > Important is to support being played in chrome, firefox, ie9 and iphone
>> and
>> > android.. .. at least, most of those with importance of being able to
>> play
>> > on iphones
>> >
>> >
>> > p.s. i use videojs for video play.
>> >
>> >
>> >
>> > Greetings
>> > ___
>> > 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] FFmpeg does not add meta tags to mp2 files

2015-07-25 Thread Kimio Miyamura
Hello Moritz-san, 

> 2015/07/25 8:43 P.M.  Moritz Barsnick  gmx.net> wrote:
> 
> On Sat, Jul 25, 2015 at 13:40:21 +0200, James Darnley wrote:
>> On 2015-07-25 13:33, Kimio Miyamura wrote:
>>> Now I'm curious about why -metadata artist="Jody Marie Gnant" does not 
>>> affected to the output...
>>> 
>>> Does anyone know why?
>> 
>> Because nobody has written that feature yet.
> 
> https://ffmpeg.org/pipermail/ffmpeg-user/2012-August/008633.html
> 
> It might not even be possible in classic terms with MPEG I/II (or PS)
> containers. I think the original poster pointed out that ID3v2 tools
> would add such "metadata" to MP2 files as well, but I think that just
> happens to work, and is certainly not supported by ffmpeg.

Thanks for your explanation.  
I firstly know that there are containers which can not hold metadata.  It was 
learn my lesson.


Best Regards,

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


Re: [FFmpeg-user] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread Another Sillyname
If you're willing to do some work I have a script I use that does most
of what you want, happy to let you have it and you could use it as the
'base' for what you're trying to do.

The problem with paying for something like this is frankly you
probably wouldn't want to pay a sensible commercial rate so the
numbers wouldn't make sense.





On 25 July 2015 at 13:40, vedran  wrote:
> i'm not into ffmpeg so i feel that i would have to spend A LOT OF TIME
> tuning this.. and i would rather pay for somebody writing me commands which
> i would put into a scrips.. also it would be great to have multiple output
> once it is created...
>
> i saw it here: https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
>
>
>
> On Sat, Jul 25, 2015 at 2:38 PM, vedran  wrote:
>
>> debian with multimedia repos
>>
>> On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
>> anothersn...@googlemail.com> wrote:
>>
>>> would help if you stated windows or 'nix
>>>
>>> On 25 July 2015 at 13:32, vedran  wrote:
>>> > Hello guys,
>>> >
>>> > i need somebody to write me commands for converting videos i'm prepared
>>> to
>>> > pay that. it should be able to process feew different formats and
>>> convert
>>> > videos to a few most popular formats.. nothing which would not work out
>>> of
>>> > box in ffmpeg.. and maybe some tweaking about processor usage and
>>> quality
>>> > but that second part is less important. Anyone interested?
>>> >
>>> >
>>> > Please send me how much would that cost aprox. I need to convert *most
>>> of*
>>> > these:
>>> >
>>> > mov (QuickTime Movie)
>>> > mp4 (MPEG-4 Video)
>>> > mpe (MPEG Video)
>>> > mpeg (MPEG Video)
>>> > mpeg4 (MPEG-4 Video)
>>> > 3g2 (Mobile Video)
>>> > 3gp (Mobile Video)
>>> > 3gpp (Mobile Video)
>>> > asf (Windows Media Video)
>>> > avi (AVI Video)
>>> >
>>> >
>>> >
>>> > And convert to *most of* these:
>>> >
>>> >
>>> >- HTML5, Flash: MP4/H.264, High profile
>>> >- HTML5: WebM
>>> >- HTML5: Ogg
>>> >- Mobile: MP4/H.264, Baseline profile, 480x360, for wide
>>> compatibility
>>> >- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS devices
>>> >(iPhone 4, iPad, Apple TV)
>>> >- Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for non-smartphones*
>>> >
>>> >
>>> >
>>> >
>>> > Important is to support being played in chrome, firefox, ie9 and iphone
>>> and
>>> > android.. .. at least, most of those with importance of being able to
>>> play
>>> > on iphones
>>> >
>>> >
>>> > p.s. i use videojs for video play.
>>> >
>>> >
>>> >
>>> > Greetings
>>> > ___
>>> > 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] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread Mahesh Patade
Hey,

Please check below url. I have written scripts to convert videos in multi
bitrate format.

http://patademahesh.github.io/Distributed-Video-Transcoding/

Thanks
Mahesh
On Jul 25, 2015 6:30 PM, "Another Sillyname" 
wrote:

> If you're willing to do some work I have a script I use that does most
> of what you want, happy to let you have it and you could use it as the
> 'base' for what you're trying to do.
>
> The problem with paying for something like this is frankly you
> probably wouldn't want to pay a sensible commercial rate so the
> numbers wouldn't make sense.
>
>
>
>
>
> On 25 July 2015 at 13:40, vedran  wrote:
> > i'm not into ffmpeg so i feel that i would have to spend A LOT OF TIME
> > tuning this.. and i would rather pay for somebody writing me commands
> which
> > i would put into a scrips.. also it would be great to have multiple
> output
> > once it is created...
> >
> > i saw it here:
> https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
> >
> >
> >
> > On Sat, Jul 25, 2015 at 2:38 PM, vedran  wrote:
> >
> >> debian with multimedia repos
> >>
> >> On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
> >> anothersn...@googlemail.com> wrote:
> >>
> >>> would help if you stated windows or 'nix
> >>>
> >>> On 25 July 2015 at 13:32, vedran  wrote:
> >>> > Hello guys,
> >>> >
> >>> > i need somebody to write me commands for converting videos i'm
> prepared
> >>> to
> >>> > pay that. it should be able to process feew different formats and
> >>> convert
> >>> > videos to a few most popular formats.. nothing which would not work
> out
> >>> of
> >>> > box in ffmpeg.. and maybe some tweaking about processor usage and
> >>> quality
> >>> > but that second part is less important. Anyone interested?
> >>> >
> >>> >
> >>> > Please send me how much would that cost aprox. I need to convert
> *most
> >>> of*
> >>> > these:
> >>> >
> >>> > mov (QuickTime Movie)
> >>> > mp4 (MPEG-4 Video)
> >>> > mpe (MPEG Video)
> >>> > mpeg (MPEG Video)
> >>> > mpeg4 (MPEG-4 Video)
> >>> > 3g2 (Mobile Video)
> >>> > 3gp (Mobile Video)
> >>> > 3gpp (Mobile Video)
> >>> > asf (Windows Media Video)
> >>> > avi (AVI Video)
> >>> >
> >>> >
> >>> >
> >>> > And convert to *most of* these:
> >>> >
> >>> >
> >>> >- HTML5, Flash: MP4/H.264, High profile
> >>> >- HTML5: WebM
> >>> >- HTML5: Ogg
> >>> >- Mobile: MP4/H.264, Baseline profile, 480x360, for wide
> >>> compatibility
> >>> >- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS devices
> >>> >(iPhone 4, iPad, Apple TV)
> >>> >- Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for non-smartphones*
> >>> >
> >>> >
> >>> >
> >>> >
> >>> > Important is to support being played in chrome, firefox, ie9 and
> iphone
> >>> and
> >>> > android.. .. at least, most of those with importance of being able to
> >>> play
> >>> > on iphones
> >>> >
> >>> >
> >>> > p.s. i use videojs for video play.
> >>> >
> >>> >
> >>> >
> >>> > Greetings
> >>> > ___
> >>> > 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 mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] FFmpeg does not add meta tags to mp2 files

2015-07-25 Thread Carl Eugen Hoyos
Moritz Barsnick  gmx.net> writes:

> On Sat, Jul 25, 2015 at 13:40:21 +0200, James Darnley wrote:
> > On 2015-07-25 13:33, Kimio Miyamura wrote:
> > > Now I'm curious about why -metadata artist="Jody Marie 
> > > Gnant" does not affected to the output...
> > > 
> > > Does anyone know why?
> > 
> > Because nobody has written that feature yet.

I believe it works fine.

> https://ffmpeg.org/pipermail/ffmpeg-user/2012-August/008633.html

This looks unrelated: You cannot easily put metadata 
into a program stream but it should be no problem to 
add some id3 data in front of a mp2 file.

Carl Eugen

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


[FFmpeg-user] Cropping small portion of input video while rescaling

2015-07-25 Thread Kieran O'Leary
Hello,

I am working with a 2k full aperture 16mm DPX scan. It has approx 32 pixels of 
the black perforation area of the film on the top and bottom. I am hoping to 
transcode everything to 720/576 v210 as I'm working on a DVD project (I'm going 
to do a lot of work in a NLE after I transcode). I am using 24fps for now as 
the audio was transferred at 24fps as well. I plan on syncing everything up in 
an NLE and then convert both to 25fps.
I've tried the following output but it results in a 720 * 560 output. I'd like 
the black bars to be removed but the output video to be 720*576. I've achieved 
this in the past with Apple compressor's cropping tool.
Also, is there anything else I'm messing up in general? I'm using square pixels 
as opposed to the PAL standard, as I can convert at the DVD authoring stage (I 
hope I'm not making a colossal mistake there as AVID MC 8 seems to just export 
with square pixels anyhow). The output of the 576p video is really lovely. 
ffmpeg resizing is brilliant.

full output:

ifi-edit2:~ admin$ 
/Users/admin/Downloads/SnowLeopard_Lion_Mountain_Lion_Mavericks_Yosemite_24/ffmpeg
 -start_number 867116 -r 24 -i /Volumes/Stardom/glitch\ tests/untitled\ 
folder/%06d.dpx -r 24 -vf "scale=720:576, crop=in_w:in_h-32" -c:v v210 
/Volumes/Stardom/glitch\ tests/untitled\ 
folder/ffmpegv210reseiz24cro32pxcrope.mov

ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers

  built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)

  configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads 
--enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx 
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 
--enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb 
--enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 
--disable-doc --arch=x86_64 --enable-runtime-cpudetect

  libavutil  54. 27.100 / 54. 27.100

  libavcodec 56. 41.100 / 56. 41.100

  libavformat56. 36.100 / 56. 36.100

  libavdevice56.  4.100 / 56.  4.100

  libavfilter 5. 16.101 /  5. 16.101

  libswscale  3.  1.101 /  3.  1.101

  libswresample   1.  2.100 /  1.  2.100

  libpostproc53.  3.100 / 53.  3.100

Input #0, image2, from '/Volumes/Stardom/glitch tests/untitled folder/%06d.dpx':

  Duration: 00:00:11.72, start: 0.00, bitrate: N/A

Stream #0:0: Video: dpx, gbrp10le, 2048x1556, 25 tbr, 25 tbn, 25 tbc

Output #0, mov, to '/Volumes/Stardom/glitch tests/untitled 
folder/ffmpegv210reseiz24cro32pxcrope.mov':

  Metadata:

encoder : Lavf56.36.100

Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 720x544, q=2-31, 
200 kb/s, 24 fps, 12288 tbn, 24 tbc

Metadata:

  encoder : Lavc56.41.100 v210

Stream mapping:

  Stream #0:0 -> #0:0 (dpx (native) -> v210 (native))

Press [q] to stop, [?] for help

frame=8 fps=0.0 q=0.0 size=8160kB time=00:00:00.33 
bitrate=200541.2kbitsframe=   15 fps= 13 q=0.0 size=   15300kB time=00:00:00.62 
bitrate=200540.6kbitsframe=   21 fps= 13 q=0.0 size=   21420kB time=00:00:00.87 
bitrate=200540.5kbitsframe=   27 fps= 12 q=0.0 size=   27540kB time=00:00:01.12 
bitrate=200540.4kbitsframe=   33 fps= 12 q=0.0 size=   33660kB time=00:00:01.37 
bitrate=200540.4kbitsframe=   38 fps= 12 q=0.0 size=   38760kB time=00:00:01.58 
bitrate=200540.4kbitsframe=   44 fps= 12 q=0.0 size=   44880kB time=00:00:01.83 
bitrate=200540.4kbitsframe=   50 fps= 12 q=0.0 size=   51000kB time=00:00:02.08 
bitrate=200540.3kbitsframe=   56 fps= 12 q=0.0 size=   57120kB time=00:00:02.33 
bitrate=200540.3kbitsframe=   62 fps= 11 q=0.0 size=   63240kB time=00:00:02.58 
bitrate=200540.3kbitsframe=   68 fps= 11 q=0.0 size=   69360kB time=00:00:02.83 
bitrate=200540.3kbitsframe=   74 fps= 11 q=0.0 size=   75480kB time=00:00:03.08 
bitrate=200540.3kbitsframe=   80 fps= 11 q=0.0 size=   81600kB time=00:00:03.33 
bitrate=200540.3kbitsframe=   86 fps= 11 q=0.0 size=   87720kB time=00:00:03.58 
bitrate=200540.3kbitsframe=   92 fps= 11 q=0.0 size=   93840kB time=00:00:03.83 
bitrate=200540.3kbitsframe=   98 fps= 11 q=0.0 size=   99960kB time=00:00:04.08 
bitrate=200540.2kbitsframe=  104 fps= 11 q=0.0 size=  106080kB time=00:00:04.33 
bitrate=200540.2kbitsframe=  110 fps= 11 q=0.0 size=  112200kB time=00:00:04.58 
bitrate=200540.2kbitsframe=  116 fps= 11 q=0.0 size=  118320kB time=00:00:04.83 
bitrate=200540.2kbitsframe=  122 fps= 11 q=0.0 size=  124440kB time=00:00:05.08 
bitrate=200540.2kbitsframe=  128 fps= 11 q=0.0 size=  130560kB time=00:00:05.33 
bitrate=200540.2kbitsframe=  134 fps= 11 q=0.0 size=  136680kB time=00:00:05.58 
bitrate=200540.2kbitsframe=  140 fps= 11 q=0.0 size=  142800kB time=00:00:05.83 
bitrate=200540.2kbitsframe=  146 fps= 11 q=0.0 size=  148920kB time=00:00:06.08 
bitrate=200540.2kbitsframe=  152 fps= 11 q=0.0 size=  155040kB time=00:00:06.33 
bitrate=200540.2kbitsframe=  158 fps= 11 q=0.0 size=  161160kB time=00:00:06.58 
bitrate=200540.2kbits

Re: [FFmpeg-user] Cropping small portion of input video while rescaling

2015-07-25 Thread Kieran O'Leary


Putting the crop filter before the resize in the filter chain produced the 
desired effect. Any other feedback on my command line would be greatly 
appreciated. I can't get inline quoting to work on outlook web app (which I 
have to use today) so I didn't do any quotes. Sorry if this makes things even 
more confusing.
--
This email has been scanned for spam and malware by The Email Laundry.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)

2015-07-25 Thread MrNice
> 0-
>>> The objective is to get lossless audio and video
>>
>> Just to make sure: Do you mean video and
>> lossless audio?
> Yes of course. This was a short way (in a wrong order indeed) to say
> "...to get and keep the best Dazzle can provide without adding artefacts".
> 
> 1- I read the video stream with -pix_fmt yuyv422 then write with
> -pix_fmt yuv422p. No choice, as you wrote,
> “As said, you cannot use PIX_FMT_YUYV422 because no encoder supports it.”
> I think there is no lost but only a different way to organise. Do you agree?
> 
> 2- There are clipping and drops (Highlighted by ). I
> don't know why. Could you help?
> 
> 3- With libx264 are there some options I could add to improve the
> quality? (libx264 has a lot of options hard for me to understand)
> ___

@Carl

In another thread you wrote:

>> I.e. either use a codec designed for lossless encoding
>> such as "HuffYUV", or use something like x264 with
>> "lossless" settings.

> FFv1 should be superior in (nearly) every regard, for
> example you would need several different x264 libraries
> to support all possible colour spaces and they are not
> supported by Huffyuv at all.
>
> Carl Eugen


I am confused. What should be the best codec for my usage: FFV1, x264,
Huffyuv, other?
Could you tell me the good options for this codec?

JP

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


Re: [FFmpeg-user] Cropping small portion of input video while rescaling

2015-07-25 Thread Carl Eugen Hoyos
Kieran O'Leary  irishfilm.ie> writes:

> -start_number 867116 -r 24

This should be -framerate 24

> -r 24

Remove this one unless there is a (specific) reason.

> ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers

On this mailing list, this is old...

>   configuration:

> --enable-pthreads --arch=x86_64

Please remove them, they don't do what you think they do.

> --enable-avfilter --enable-filters --enable-runtime-cpudetect

Please remove them, they have no effect.

Carl Eugen

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


Re: [FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)

2015-07-25 Thread Carl Eugen Hoyos
MrNice  iol.ie> writes:

> Input #0, pulse, from 'alsa_input.pci-_00_14.2.analog-stereo':
>   Duration: N/A, start: 1437724175.042321

> Input #1, video4linux2,v4l2, from '/dev/video0':
>   Duration: N/A, start: 1349.084272

This is a major issue, you may try options like 
the following that may fix it:
-ts abs
-ts mono2abs

-wallclock 0

(And it is of course possible that this issue 
disappears with alsa, I don't know...)


Carl Eugen

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


Re: [FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)

2015-07-25 Thread Carl Eugen Hoyos
MrNice  iol.ie> writes:

> I am confused. What should be the best codec for 
> my usage: FFV1, x264, Huffyuv, other?

I believe I suggested "-vcodec mpeg2video -mbd 2 -qscale 2" 
and I didn't change my opinion;-)

ffv1 is lossless, mpeg2video is not and x264 is not 
lossless unless you tell it to be.

Both regarding quality and filesize, I would not suggest 
a lossless encoding from your low-quality source, but a 
high-quality lossy encoding.

(x264 of course allows smaller filesizes than mpeg2video 
for the same quality, so you can safely choose it instead.)

Carl Eugen

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


Re: [FFmpeg-user] How to capture an RTMP stream

2015-07-25 Thread Deron

On 7/25/15 6:02 AM, Moritz Barsnick wrote:

On Sat, Jul 25, 2015 at 11:52:56 +, Carl Eugen Hoyos wrote:

But you could test without "--enable-librtmp".

Is it possible to choose different protocol handlers at runtime, as it
is with decoders (analog to the choice of "mp3" vs. "mp3float" using
"-c:v" as inpt option)? Or does using librtmp totally disable ffmpeg's
native implementation?

(Indeed, my librtmp doesn't seem to like this URL, shown by trying with
rtmpdump. But I'm not the original poster. ;-))

Moritz



Well, my rtmpdump _does_ work. It claims to be v2.4 and I was able to 
get the stream and pipe it to ffmpeg. Inelegant, but it works. Sadly, 
the audio/video is out of sync by about 75ms. Just enough to be annoying.


What can I do to help track down the problem? Is the interest only in 
the native solution (try without librtmp) or ??


Side question: With the sync problem, I've used -itsoffset (and mapping 
of course) in the past to fix sync issues, but that obviously won't help 
if I don't have the streams split _before_ it gets to ffmpeg. Any solution?


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


Re: [FFmpeg-user] How to capture an RTMP stream

2015-07-25 Thread Carl Eugen Hoyos
Deron  pagestream.org> writes:

> Well, my rtmpdump _does_ work. It claims to be v2.4 and I was able to 
> get the stream and pipe it to ffmpeg. Inelegant, but it works. Sadly, 
> the audio/video is out of sync by about 75ms. Just enough to be annoying.

Does the same desync exist with FFmpeg?

Carl Eugen

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


Re: [FFmpeg-user] How to capture an RTMP stream

2015-07-25 Thread Deron

On 7/25/15 9:57 AM, Carl Eugen Hoyos wrote:

Deron  pagestream.org> writes:


Well, my rtmpdump _does_ work. It claims to be v2.4 and I was able to
get the stream and pipe it to ffmpeg. Inelegant, but it works. Sadly,
the audio/video is out of sync by about 75ms. Just enough to be annoying.

Does the same desync exist with FFmpeg?

Carl Eugen



I would have to get ffmpeg to work to begin with to test that. Should I 
try ffmpeg without librtmp?


It could be the stream source itself for all I know, but I would still 
need to adjust sync someplace along the food chain if so. I was just 
wondering if there was some unexplored option to adjust audio sync in 
this case within ffmpeg.


Thanks for everyone's time,

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


Re: [FFmpeg-user] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread vedran
Well if solves my problems, I would pay.

What I needed is what I asked. ..


Please give me some more info.

How sophisticated is your code, how can I use it, how much would i have to
pay.
On Jul 25, 2015 3:00 PM, "Another Sillyname" 
wrote:

> If you're willing to do some work I have a script I use that does most
> of what you want, happy to let you have it and you could use it as the
> 'base' for what you're trying to do.
>
> The problem with paying for something like this is frankly you
> probably wouldn't want to pay a sensible commercial rate so the
> numbers wouldn't make sense.
>
>
>
>
>
> On 25 July 2015 at 13:40, vedran  wrote:
> > i'm not into ffmpeg so i feel that i would have to spend A LOT OF TIME
> > tuning this.. and i would rather pay for somebody writing me commands
> which
> > i would put into a scrips.. also it would be great to have multiple
> output
> > once it is created...
> >
> > i saw it here:
> https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
> >
> >
> >
> > On Sat, Jul 25, 2015 at 2:38 PM, vedran  wrote:
> >
> >> debian with multimedia repos
> >>
> >> On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
> >> anothersn...@googlemail.com> wrote:
> >>
> >>> would help if you stated windows or 'nix
> >>>
> >>> On 25 July 2015 at 13:32, vedran  wrote:
> >>> > Hello guys,
> >>> >
> >>> > i need somebody to write me commands for converting videos i'm
> prepared
> >>> to
> >>> > pay that. it should be able to process feew different formats and
> >>> convert
> >>> > videos to a few most popular formats.. nothing which would not work
> out
> >>> of
> >>> > box in ffmpeg.. and maybe some tweaking about processor usage and
> >>> quality
> >>> > but that second part is less important. Anyone interested?
> >>> >
> >>> >
> >>> > Please send me how much would that cost aprox. I need to convert
> *most
> >>> of*
> >>> > these:
> >>> >
> >>> > mov (QuickTime Movie)
> >>> > mp4 (MPEG-4 Video)
> >>> > mpe (MPEG Video)
> >>> > mpeg (MPEG Video)
> >>> > mpeg4 (MPEG-4 Video)
> >>> > 3g2 (Mobile Video)
> >>> > 3gp (Mobile Video)
> >>> > 3gpp (Mobile Video)
> >>> > asf (Windows Media Video)
> >>> > avi (AVI Video)
> >>> >
> >>> >
> >>> >
> >>> > And convert to *most of* these:
> >>> >
> >>> >
> >>> >- HTML5, Flash: MP4/H.264, High profile
> >>> >- HTML5: WebM
> >>> >- HTML5: Ogg
> >>> >- Mobile: MP4/H.264, Baseline profile, 480x360, for wide
> >>> compatibility
> >>> >- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS devices
> >>> >(iPhone 4, iPad, Apple TV)
> >>> >- Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for non-smartphones*
> >>> >
> >>> >
> >>> >
> >>> >
> >>> > Important is to support being played in chrome, firefox, ie9 and
> iphone
> >>> and
> >>> > android.. .. at least, most of those with importance of being able to
> >>> play
> >>> > on iphones
> >>> >
> >>> >
> >>> > p.s. i use videojs for video play.
> >>> >
> >>> >
> >>> >
> >>> > Greetings
> >>> > ___
> >>> > 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 mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread vedran
man, this is good but I need very simple thing.

If somebody have time just to write me ffmpeg commands how to convert to
following formats and that is it.
On Jul 25, 2015 3:22 PM, "Mahesh Patade"  wrote:

> Hey,
>
> Please check below url. I have written scripts to convert videos in multi
> bitrate format.
>
> http://patademahesh.github.io/Distributed-Video-Transcoding/
>
> Thanks
> Mahesh
> On Jul 25, 2015 6:30 PM, "Another Sillyname" 
> wrote:
>
> > If you're willing to do some work I have a script I use that does most
> > of what you want, happy to let you have it and you could use it as the
> > 'base' for what you're trying to do.
> >
> > The problem with paying for something like this is frankly you
> > probably wouldn't want to pay a sensible commercial rate so the
> > numbers wouldn't make sense.
> >
> >
> >
> >
> >
> > On 25 July 2015 at 13:40, vedran  wrote:
> > > i'm not into ffmpeg so i feel that i would have to spend A LOT OF TIME
> > > tuning this.. and i would rather pay for somebody writing me commands
> > which
> > > i would put into a scrips.. also it would be great to have multiple
> > output
> > > once it is created...
> > >
> > > i saw it here:
> > https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
> > >
> > >
> > >
> > > On Sat, Jul 25, 2015 at 2:38 PM, vedran  wrote:
> > >
> > >> debian with multimedia repos
> > >>
> > >> On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
> > >> anothersn...@googlemail.com> wrote:
> > >>
> > >>> would help if you stated windows or 'nix
> > >>>
> > >>> On 25 July 2015 at 13:32, vedran  wrote:
> > >>> > Hello guys,
> > >>> >
> > >>> > i need somebody to write me commands for converting videos i'm
> > prepared
> > >>> to
> > >>> > pay that. it should be able to process feew different formats and
> > >>> convert
> > >>> > videos to a few most popular formats.. nothing which would not work
> > out
> > >>> of
> > >>> > box in ffmpeg.. and maybe some tweaking about processor usage and
> > >>> quality
> > >>> > but that second part is less important. Anyone interested?
> > >>> >
> > >>> >
> > >>> > Please send me how much would that cost aprox. I need to convert
> > *most
> > >>> of*
> > >>> > these:
> > >>> >
> > >>> > mov (QuickTime Movie)
> > >>> > mp4 (MPEG-4 Video)
> > >>> > mpe (MPEG Video)
> > >>> > mpeg (MPEG Video)
> > >>> > mpeg4 (MPEG-4 Video)
> > >>> > 3g2 (Mobile Video)
> > >>> > 3gp (Mobile Video)
> > >>> > 3gpp (Mobile Video)
> > >>> > asf (Windows Media Video)
> > >>> > avi (AVI Video)
> > >>> >
> > >>> >
> > >>> >
> > >>> > And convert to *most of* these:
> > >>> >
> > >>> >
> > >>> >- HTML5, Flash: MP4/H.264, High profile
> > >>> >- HTML5: WebM
> > >>> >- HTML5: Ogg
> > >>> >- Mobile: MP4/H.264, Baseline profile, 480x360, for wide
> > >>> compatibility
> > >>> >- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS
> devices
> > >>> >(iPhone 4, iPad, Apple TV)
> > >>> >- Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for
> non-smartphones*
> > >>> >
> > >>> >
> > >>> >
> > >>> >
> > >>> > Important is to support being played in chrome, firefox, ie9 and
> > iphone
> > >>> and
> > >>> > android.. .. at least, most of those with importance of being able
> to
> > >>> play
> > >>> > on iphones
> > >>> >
> > >>> >
> > >>> > p.s. i use videojs for video play.
> > >>> >
> > >>> >
> > >>> >
> > >>> > Greetings
> > >>> > ___
> > >>> > 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 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] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread Mahesh Patade
You do not have to pay a single penny. JUST follow instructions i have
given in my blog.

Thanks Mahesh
On Jul 25, 2015 10:05 PM, "vedran"  wrote:

> Well if solves my problems, I would pay.
>
> What I needed is what I asked. ..
>
>
> Please give me some more info.
>
> How sophisticated is your code, how can I use it, how much would i have to
> pay.
> On Jul 25, 2015 3:00 PM, "Another Sillyname" 
> wrote:
>
> > If you're willing to do some work I have a script I use that does most
> > of what you want, happy to let you have it and you could use it as the
> > 'base' for what you're trying to do.
> >
> > The problem with paying for something like this is frankly you
> > probably wouldn't want to pay a sensible commercial rate so the
> > numbers wouldn't make sense.
> >
> >
> >
> >
> >
> > On 25 July 2015 at 13:40, vedran  wrote:
> > > i'm not into ffmpeg so i feel that i would have to spend A LOT OF TIME
> > > tuning this.. and i would rather pay for somebody writing me commands
> > which
> > > i would put into a scrips.. also it would be great to have multiple
> > output
> > > once it is created...
> > >
> > > i saw it here:
> > https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
> > >
> > >
> > >
> > > On Sat, Jul 25, 2015 at 2:38 PM, vedran  wrote:
> > >
> > >> debian with multimedia repos
> > >>
> > >> On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
> > >> anothersn...@googlemail.com> wrote:
> > >>
> > >>> would help if you stated windows or 'nix
> > >>>
> > >>> On 25 July 2015 at 13:32, vedran  wrote:
> > >>> > Hello guys,
> > >>> >
> > >>> > i need somebody to write me commands for converting videos i'm
> > prepared
> > >>> to
> > >>> > pay that. it should be able to process feew different formats and
> > >>> convert
> > >>> > videos to a few most popular formats.. nothing which would not work
> > out
> > >>> of
> > >>> > box in ffmpeg.. and maybe some tweaking about processor usage and
> > >>> quality
> > >>> > but that second part is less important. Anyone interested?
> > >>> >
> > >>> >
> > >>> > Please send me how much would that cost aprox. I need to convert
> > *most
> > >>> of*
> > >>> > these:
> > >>> >
> > >>> > mov (QuickTime Movie)
> > >>> > mp4 (MPEG-4 Video)
> > >>> > mpe (MPEG Video)
> > >>> > mpeg (MPEG Video)
> > >>> > mpeg4 (MPEG-4 Video)
> > >>> > 3g2 (Mobile Video)
> > >>> > 3gp (Mobile Video)
> > >>> > 3gpp (Mobile Video)
> > >>> > asf (Windows Media Video)
> > >>> > avi (AVI Video)
> > >>> >
> > >>> >
> > >>> >
> > >>> > And convert to *most of* these:
> > >>> >
> > >>> >
> > >>> >- HTML5, Flash: MP4/H.264, High profile
> > >>> >- HTML5: WebM
> > >>> >- HTML5: Ogg
> > >>> >- Mobile: MP4/H.264, Baseline profile, 480x360, for wide
> > >>> compatibility
> > >>> >- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS
> devices
> > >>> >(iPhone 4, iPad, Apple TV)
> > >>> >- Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for
> non-smartphones*
> > >>> >
> > >>> >
> > >>> >
> > >>> >
> > >>> > Important is to support being played in chrome, firefox, ie9 and
> > iphone
> > >>> and
> > >>> > android.. .. at least, most of those with importance of being able
> to
> > >>> play
> > >>> > on iphones
> > >>> >
> > >>> >
> > >>> > p.s. i use videojs for video play.
> > >>> >
> > >>> >
> > >>> >
> > >>> > Greetings
> > >>> > ___
> > >>> > 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 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] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread vedran
if it helps me i would send you something for sure.. however just give me
those instructions..

i hope you understand what i actually need..

for me it would be great and enough if i just had 5-6 ffmpeg commands that
do this and that is all.. i have another script that would handle when
where and how that starts

On Sat, Jul 25, 2015 at 6:41 PM, Mahesh Patade 
wrote:

> You do not have to pay a single penny. JUST follow instructions i have
> given in my blog.
>
> Thanks Mahesh
> On Jul 25, 2015 10:05 PM, "vedran"  wrote:
>
> > Well if solves my problems, I would pay.
> >
> > What I needed is what I asked. ..
> >
> >
> > Please give me some more info.
> >
> > How sophisticated is your code, how can I use it, how much would i have
> to
> > pay.
> > On Jul 25, 2015 3:00 PM, "Another Sillyname" <
> anothersn...@googlemail.com>
> > wrote:
> >
> > > If you're willing to do some work I have a script I use that does most
> > > of what you want, happy to let you have it and you could use it as the
> > > 'base' for what you're trying to do.
> > >
> > > The problem with paying for something like this is frankly you
> > > probably wouldn't want to pay a sensible commercial rate so the
> > > numbers wouldn't make sense.
> > >
> > >
> > >
> > >
> > >
> > > On 25 July 2015 at 13:40, vedran  wrote:
> > > > i'm not into ffmpeg so i feel that i would have to spend A LOT OF
> TIME
> > > > tuning this.. and i would rather pay for somebody writing me commands
> > > which
> > > > i would put into a scrips.. also it would be great to have multiple
> > > output
> > > > once it is created...
> > > >
> > > > i saw it here:
> > > https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
> > > >
> > > >
> > > >
> > > > On Sat, Jul 25, 2015 at 2:38 PM, vedran  wrote:
> > > >
> > > >> debian with multimedia repos
> > > >>
> > > >> On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
> > > >> anothersn...@googlemail.com> wrote:
> > > >>
> > > >>> would help if you stated windows or 'nix
> > > >>>
> > > >>> On 25 July 2015 at 13:32, vedran  wrote:
> > > >>> > Hello guys,
> > > >>> >
> > > >>> > i need somebody to write me commands for converting videos i'm
> > > prepared
> > > >>> to
> > > >>> > pay that. it should be able to process feew different formats and
> > > >>> convert
> > > >>> > videos to a few most popular formats.. nothing which would not
> work
> > > out
> > > >>> of
> > > >>> > box in ffmpeg.. and maybe some tweaking about processor usage and
> > > >>> quality
> > > >>> > but that second part is less important. Anyone interested?
> > > >>> >
> > > >>> >
> > > >>> > Please send me how much would that cost aprox. I need to convert
> > > *most
> > > >>> of*
> > > >>> > these:
> > > >>> >
> > > >>> > mov (QuickTime Movie)
> > > >>> > mp4 (MPEG-4 Video)
> > > >>> > mpe (MPEG Video)
> > > >>> > mpeg (MPEG Video)
> > > >>> > mpeg4 (MPEG-4 Video)
> > > >>> > 3g2 (Mobile Video)
> > > >>> > 3gp (Mobile Video)
> > > >>> > 3gpp (Mobile Video)
> > > >>> > asf (Windows Media Video)
> > > >>> > avi (AVI Video)
> > > >>> >
> > > >>> >
> > > >>> >
> > > >>> > And convert to *most of* these:
> > > >>> >
> > > >>> >
> > > >>> >- HTML5, Flash: MP4/H.264, High profile
> > > >>> >- HTML5: WebM
> > > >>> >- HTML5: Ogg
> > > >>> >- Mobile: MP4/H.264, Baseline profile, 480x360, for wide
> > > >>> compatibility
> > > >>> >- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS
> > devices
> > > >>> >(iPhone 4, iPad, Apple TV)
> > > >>> >- Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for
> > non-smartphones*
> > > >>> >
> > > >>> >
> > > >>> >
> > > >>> >
> > > >>> > Important is to support being played in chrome, firefox, ie9 and
> > > iphone
> > > >>> and
> > > >>> > android.. .. at least, most of those with importance of being
> able
> > to
> > > >>> play
> > > >>> > on iphones
> > > >>> >
> > > >>> >
> > > >>> > p.s. i use videojs for video play.
> > > >>> >
> > > >>> >
> > > >>> >
> > > >>> > Greetings
> > > >>> > ___
> > > >>> > 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 mailing list
> > ffmpeg-user@ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.o

Re: [FFmpeg-user] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread vedran
aha, @Mahesh Patade i'm soory i looked this, s much more than i need..
i need solution for single server, locally .. doing one video at a time..

On Sat, Jul 25, 2015 at 6:46 PM, vedran  wrote:

> if it helps me i would send you something for sure.. however just give me
> those instructions..
>
> i hope you understand what i actually need..
>
> for me it would be great and enough if i just had 5-6 ffmpeg commands that
> do this and that is all.. i have another script that would handle when
> where and how that starts
>
> On Sat, Jul 25, 2015 at 6:41 PM, Mahesh Patade 
> wrote:
>
>> You do not have to pay a single penny. JUST follow instructions i have
>> given in my blog.
>>
>> Thanks Mahesh
>> On Jul 25, 2015 10:05 PM, "vedran"  wrote:
>>
>> > Well if solves my problems, I would pay.
>> >
>> > What I needed is what I asked. ..
>> >
>> >
>> > Please give me some more info.
>> >
>> > How sophisticated is your code, how can I use it, how much would i have
>> to
>> > pay.
>> > On Jul 25, 2015 3:00 PM, "Another Sillyname" <
>> anothersn...@googlemail.com>
>> > wrote:
>> >
>> > > If you're willing to do some work I have a script I use that does most
>> > > of what you want, happy to let you have it and you could use it as the
>> > > 'base' for what you're trying to do.
>> > >
>> > > The problem with paying for something like this is frankly you
>> > > probably wouldn't want to pay a sensible commercial rate so the
>> > > numbers wouldn't make sense.
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > On 25 July 2015 at 13:40, vedran  wrote:
>> > > > i'm not into ffmpeg so i feel that i would have to spend A LOT OF
>> TIME
>> > > > tuning this.. and i would rather pay for somebody writing me
>> commands
>> > > which
>> > > > i would put into a scrips.. also it would be great to have multiple
>> > > output
>> > > > once it is created...
>> > > >
>> > > > i saw it here:
>> > > https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
>> > > >
>> > > >
>> > > >
>> > > > On Sat, Jul 25, 2015 at 2:38 PM, vedran  wrote:
>> > > >
>> > > >> debian with multimedia repos
>> > > >>
>> > > >> On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
>> > > >> anothersn...@googlemail.com> wrote:
>> > > >>
>> > > >>> would help if you stated windows or 'nix
>> > > >>>
>> > > >>> On 25 July 2015 at 13:32, vedran  wrote:
>> > > >>> > Hello guys,
>> > > >>> >
>> > > >>> > i need somebody to write me commands for converting videos i'm
>> > > prepared
>> > > >>> to
>> > > >>> > pay that. it should be able to process feew different formats
>> and
>> > > >>> convert
>> > > >>> > videos to a few most popular formats.. nothing which would not
>> work
>> > > out
>> > > >>> of
>> > > >>> > box in ffmpeg.. and maybe some tweaking about processor usage
>> and
>> > > >>> quality
>> > > >>> > but that second part is less important. Anyone interested?
>> > > >>> >
>> > > >>> >
>> > > >>> > Please send me how much would that cost aprox. I need to convert
>> > > *most
>> > > >>> of*
>> > > >>> > these:
>> > > >>> >
>> > > >>> > mov (QuickTime Movie)
>> > > >>> > mp4 (MPEG-4 Video)
>> > > >>> > mpe (MPEG Video)
>> > > >>> > mpeg (MPEG Video)
>> > > >>> > mpeg4 (MPEG-4 Video)
>> > > >>> > 3g2 (Mobile Video)
>> > > >>> > 3gp (Mobile Video)
>> > > >>> > 3gpp (Mobile Video)
>> > > >>> > asf (Windows Media Video)
>> > > >>> > avi (AVI Video)
>> > > >>> >
>> > > >>> >
>> > > >>> >
>> > > >>> > And convert to *most of* these:
>> > > >>> >
>> > > >>> >
>> > > >>> >- HTML5, Flash: MP4/H.264, High profile
>> > > >>> >- HTML5: WebM
>> > > >>> >- HTML5: Ogg
>> > > >>> >- Mobile: MP4/H.264, Baseline profile, 480x360, for wide
>> > > >>> compatibility
>> > > >>> >- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS
>> > devices
>> > > >>> >(iPhone 4, iPad, Apple TV)
>> > > >>> >- Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for
>> > non-smartphones*
>> > > >>> >
>> > > >>> >
>> > > >>> >
>> > > >>> >
>> > > >>> > Important is to support being played in chrome, firefox, ie9 and
>> > > iphone
>> > > >>> and
>> > > >>> > android.. .. at least, most of those with importance of being
>> able
>> > to
>> > > >>> play
>> > > >>> > on iphones
>> > > >>> >
>> > > >>> >
>> > > >>> > p.s. i use videojs for video play.
>> > > >>> >
>> > > >>> >
>> > > >>> >
>> > > >>> > Greetings
>> > > >>> > ___
>> > > >>> > 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] Animated GIF convertion and average frame rate

2015-07-25 Thread Sub Phil
RE:
https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images

To see why some animated GIF are not working in the export of LibreOffice
Impress, I compare thanks to ffprobe.

I noticed that working animated GIF has:
r_frame_rate=20/1
avg_frame_rate=20/1

While non working animated GIF has:
r_frame_rate=100/7
avg_frame_rate=57/4

I try to use ffmpeg to converted the non working gif to the same parameters
as the working one my CLI is


F:\Art>ffmpeg -y -i "feather.gif" -r 20 -s 260x173 "feather conv.gif"
(Console output below)

Now, if I ffprobe the new gif I see:
r_frame_rate=20/1
avg_frame_rate=175/12

How can I now change the avg_frame_rate to 20/1?
I tried to use the framerate option, but didn't work.

F:\Art>ffmpeg -framerate 20/1 -i "feather.gif" -r 20 -s 260x173 "feather
conv.gif"
ffmpeg version N-73993-g8a17335 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-fo
ntconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libbs2b --ena
ble-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme
--enable-libgsm --enable-libilbc --enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-l
ibtwolame --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-l
zma --enable-decklink --enable-zlib
  libavutil  54. 29.100 / 54. 29.100
  libavcodec 56. 52.100 / 56. 52.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 28.100 /  5. 28.100
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc53.  3.100 / 53.  3.100
Option framerate not found.

F:\Art>

Thanks


ffmpeg version N-73993-g8a17335 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-fo
ntconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libbs2b --ena
ble-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme
--enable-libgsm --enable-libilbc --enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-l
ibtwolame --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-l
zma --enable-decklink --enable-zlib
  libavutil  54. 29.100 / 54. 29.100
  libavcodec 56. 52.100 / 56. 52.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 28.100 /  5. 28.100
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc53.  3.100 / 53.  3.100
Input #0, gif, from 'hj tease feather.gif':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: gif, bgra, 400x225, 14.25 fps, 14.29 tbr, 100 tbn,
100 tbc
Output #0, gif, to 'hj tease feather conv.gif':
  Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: gif, bgr8, 260x173, q=2-31, 200 kb/s, 20 fps, 100
tbn, 20 tbc
Metadata:
  encoder : Lavc56.52.100 gif
Stream mapping:
  Stream #0:0 -> #0:0 (gif (native) -> gif (native))
Press [q] to stop, [?] for help
frame=   42 fps=0.0 q=-0.0 Lsize= 934kB time=00:00:02.90
bitrate=2639.2kbits/s
video:933kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.118986%

F:\Art\>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Running multiple ffmpeg commands with minimal loss in quality

2015-07-25 Thread Michael Nolan
The application is a bit more complex than that. The source code is
available on Github right now (https://github.com/Nolski/popcoder/ the
ffmpeg commands reside in editor.py and the process of running all of the
commands is in video.py) but since we are stitching together video, doing
overlays, rendering text, simply throwing them into a filter chain is
harder than you would think and I'm not even sure if it's possible at all.

 I have attempted to re-encode in a lossless format but no matter the
encoding that I try I always seem to get the error "Error while opening
encoder for output stream #0:0 - maybe incorrect parameters such as
bit_rate, rate, width or height".

By changing the encoding I mean I'm just tacking "-c:v ffvhuff" into the
command before the filter.

On Sat, Jul 25, 2015 at 1:45 AM, Moritz Barsnick  wrote:

> On Fri, Jul 24, 2015 at 16:02:22 -0700, Michael Nolan wrote:
> > do things like overlay, scale and trim videos, render text, render
> images,
> [...]
> > The biggest issue that I have is that the application that I run has to
> run
> > ffmpeg multiple times, thus re-encoding the video(s) and making the end
> > video look much lower quality than the original content. The original
> > videos are .webm and encoded using QTmuxingAppLibWebM-0.0.1.
>
> You say it "has to". Could you elaborate?
>
> > Is there any way that I can help prevent this sort of thing or is there
> any
> > existing tooling for taking a series of edits and running them in one
> > command (meaning I don't have to re-encode multiple times)?
>
> Not if it "has to". You didn't give us examples of what you are doing -
> full command lines for the chain of edits - so I can only guess you are
> basically using ffmpeg's filters (in the widest sense) to do these
> edits.
>
> If so, you can chain your filters to a filterchain or a complex filter.
>
> $ ffmpeg [...] -vf filter1=a=a1:b=b1,filter2=c=c1:d=d1 [...]
> $ ffmpeg [...] -filter_complex
> "[0:v][1:v]filter1=...[outv];[0:a]filter2[outa];[outv][2:v]overlay" [...]
>
> Please show us your commands.
>
> Moritz
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



-- 

Mike Nolan | Web Development Intern
mno...@mozilla.com
IRC: nolski
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread Another Sillyname
OK, Let's cut to the chase..how much would you want to pay (and I
ask this having stated earlier you won't be offering commercial
rates).

If you want it done I would suggest that you need to attract someone
willing to do it for the money, therefore you need to tell them what
you're willing to pay.

Asking how much they want isn't going to work in my opinion.



On 25 July 2015 at 17:49, vedran  wrote:
> aha, @Mahesh Patade i'm soory i looked this, s much more than i need..
> i need solution for single server, locally .. doing one video at a time..
>
> On Sat, Jul 25, 2015 at 6:46 PM, vedran  wrote:
>
>> if it helps me i would send you something for sure.. however just give me
>> those instructions..
>>
>> i hope you understand what i actually need..
>>
>> for me it would be great and enough if i just had 5-6 ffmpeg commands that
>> do this and that is all.. i have another script that would handle when
>> where and how that starts
>>
>> On Sat, Jul 25, 2015 at 6:41 PM, Mahesh Patade 
>> wrote:
>>
>>> You do not have to pay a single penny. JUST follow instructions i have
>>> given in my blog.
>>>
>>> Thanks Mahesh
>>> On Jul 25, 2015 10:05 PM, "vedran"  wrote:
>>>
>>> > Well if solves my problems, I would pay.
>>> >
>>> > What I needed is what I asked. ..
>>> >
>>> >
>>> > Please give me some more info.
>>> >
>>> > How sophisticated is your code, how can I use it, how much would i have
>>> to
>>> > pay.
>>> > On Jul 25, 2015 3:00 PM, "Another Sillyname" <
>>> anothersn...@googlemail.com>
>>> > wrote:
>>> >
>>> > > If you're willing to do some work I have a script I use that does most
>>> > > of what you want, happy to let you have it and you could use it as the
>>> > > 'base' for what you're trying to do.
>>> > >
>>> > > The problem with paying for something like this is frankly you
>>> > > probably wouldn't want to pay a sensible commercial rate so the
>>> > > numbers wouldn't make sense.
>>> > >
>>> > >
>>> > >
>>> > >
>>> > >
>>> > > On 25 July 2015 at 13:40, vedran  wrote:
>>> > > > i'm not into ffmpeg so i feel that i would have to spend A LOT OF
>>> TIME
>>> > > > tuning this.. and i would rather pay for somebody writing me
>>> commands
>>> > > which
>>> > > > i would put into a scrips.. also it would be great to have multiple
>>> > > output
>>> > > > once it is created...
>>> > > >
>>> > > > i saw it here:
>>> > > https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
>>> > > >
>>> > > >
>>> > > >
>>> > > > On Sat, Jul 25, 2015 at 2:38 PM, vedran  wrote:
>>> > > >
>>> > > >> debian with multimedia repos
>>> > > >>
>>> > > >> On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
>>> > > >> anothersn...@googlemail.com> wrote:
>>> > > >>
>>> > > >>> would help if you stated windows or 'nix
>>> > > >>>
>>> > > >>> On 25 July 2015 at 13:32, vedran  wrote:
>>> > > >>> > Hello guys,
>>> > > >>> >
>>> > > >>> > i need somebody to write me commands for converting videos i'm
>>> > > prepared
>>> > > >>> to
>>> > > >>> > pay that. it should be able to process feew different formats
>>> and
>>> > > >>> convert
>>> > > >>> > videos to a few most popular formats.. nothing which would not
>>> work
>>> > > out
>>> > > >>> of
>>> > > >>> > box in ffmpeg.. and maybe some tweaking about processor usage
>>> and
>>> > > >>> quality
>>> > > >>> > but that second part is less important. Anyone interested?
>>> > > >>> >
>>> > > >>> >
>>> > > >>> > Please send me how much would that cost aprox. I need to convert
>>> > > *most
>>> > > >>> of*
>>> > > >>> > these:
>>> > > >>> >
>>> > > >>> > mov (QuickTime Movie)
>>> > > >>> > mp4 (MPEG-4 Video)
>>> > > >>> > mpe (MPEG Video)
>>> > > >>> > mpeg (MPEG Video)
>>> > > >>> > mpeg4 (MPEG-4 Video)
>>> > > >>> > 3g2 (Mobile Video)
>>> > > >>> > 3gp (Mobile Video)
>>> > > >>> > 3gpp (Mobile Video)
>>> > > >>> > asf (Windows Media Video)
>>> > > >>> > avi (AVI Video)
>>> > > >>> >
>>> > > >>> >
>>> > > >>> >
>>> > > >>> > And convert to *most of* these:
>>> > > >>> >
>>> > > >>> >
>>> > > >>> >- HTML5, Flash: MP4/H.264, High profile
>>> > > >>> >- HTML5: WebM
>>> > > >>> >- HTML5: Ogg
>>> > > >>> >- Mobile: MP4/H.264, Baseline profile, 480x360, for wide
>>> > > >>> compatibility
>>> > > >>> >- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS
>>> > devices
>>> > > >>> >(iPhone 4, iPad, Apple TV)
>>> > > >>> >- Mobile: 3GP/MPEG4, 320x240 and/or 177x144, for
>>> > non-smartphones*
>>> > > >>> >
>>> > > >>> >
>>> > > >>> >
>>> > > >>> >
>>> > > >>> > Important is to support being played in chrome, firefox, ie9 and
>>> > > iphone
>>> > > >>> and
>>> > > >>> > android.. .. at least, most of those with importance of being
>>> able
>>> > to
>>> > > >>> play
>>> > > >>> > on iphones
>>> > > >>> >
>>> > > >>> >
>>> > > >>> > p.s. i use videojs for video play.
>>> > > >>> >
>>> > > >>> >
>>> > > >>> >
>>> > > >>> > Greetings
>>> > > >>> > ___
>>> > > >>> > ffmpeg-user mailing list
>>> > > >>> > ffmpeg-user@

Re: [FFmpeg-user] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread vedran
look, just say that you know to do it, now and fast, i'm really into that..
i have no doubts that we would agree on that..

i have no clue how much could that cost.. that is why i'm not offering..

on one hand it could be 20 minutes to tweak that and in another case, maybe
somebody would need a day..i don't have feeling about that



On Sat, Jul 25, 2015 at 7:56 PM, Another Sillyname <
anothersn...@googlemail.com> wrote:

> OK, Let's cut to the chase..how much would you want to pay (and I
> ask this having stated earlier you won't be offering commercial
> rates).
>
> If you want it done I would suggest that you need to attract someone
> willing to do it for the money, therefore you need to tell them what
> you're willing to pay.
>
> Asking how much they want isn't going to work in my opinion.
>
>
>
> On 25 July 2015 at 17:49, vedran  wrote:
> > aha, @Mahesh Patade i'm soory i looked this, s much more than i
> need..
> > i need solution for single server, locally .. doing one video at a time..
> >
> > On Sat, Jul 25, 2015 at 6:46 PM, vedran  wrote:
> >
> >> if it helps me i would send you something for sure.. however just give
> me
> >> those instructions..
> >>
> >> i hope you understand what i actually need..
> >>
> >> for me it would be great and enough if i just had 5-6 ffmpeg commands
> that
> >> do this and that is all.. i have another script that would handle when
> >> where and how that starts
> >>
> >> On Sat, Jul 25, 2015 at 6:41 PM, Mahesh Patade 
> >> wrote:
> >>
> >>> You do not have to pay a single penny. JUST follow instructions i have
> >>> given in my blog.
> >>>
> >>> Thanks Mahesh
> >>> On Jul 25, 2015 10:05 PM, "vedran"  wrote:
> >>>
> >>> > Well if solves my problems, I would pay.
> >>> >
> >>> > What I needed is what I asked. ..
> >>> >
> >>> >
> >>> > Please give me some more info.
> >>> >
> >>> > How sophisticated is your code, how can I use it, how much would i
> have
> >>> to
> >>> > pay.
> >>> > On Jul 25, 2015 3:00 PM, "Another Sillyname" <
> >>> anothersn...@googlemail.com>
> >>> > wrote:
> >>> >
> >>> > > If you're willing to do some work I have a script I use that does
> most
> >>> > > of what you want, happy to let you have it and you could use it as
> the
> >>> > > 'base' for what you're trying to do.
> >>> > >
> >>> > > The problem with paying for something like this is frankly you
> >>> > > probably wouldn't want to pay a sensible commercial rate so the
> >>> > > numbers wouldn't make sense.
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> >>> > > On 25 July 2015 at 13:40, vedran  wrote:
> >>> > > > i'm not into ffmpeg so i feel that i would have to spend A LOT OF
> >>> TIME
> >>> > > > tuning this.. and i would rather pay for somebody writing me
> >>> commands
> >>> > > which
> >>> > > > i would put into a scrips.. also it would be great to have
> multiple
> >>> > > output
> >>> > > > once it is created...
> >>> > > >
> >>> > > > i saw it here:
> >>> > > https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
> >>> > > >
> >>> > > >
> >>> > > >
> >>> > > > On Sat, Jul 25, 2015 at 2:38 PM, vedran 
> wrote:
> >>> > > >
> >>> > > >> debian with multimedia repos
> >>> > > >>
> >>> > > >> On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
> >>> > > >> anothersn...@googlemail.com> wrote:
> >>> > > >>
> >>> > > >>> would help if you stated windows or 'nix
> >>> > > >>>
> >>> > > >>> On 25 July 2015 at 13:32, vedran  wrote:
> >>> > > >>> > Hello guys,
> >>> > > >>> >
> >>> > > >>> > i need somebody to write me commands for converting videos
> i'm
> >>> > > prepared
> >>> > > >>> to
> >>> > > >>> > pay that. it should be able to process feew different formats
> >>> and
> >>> > > >>> convert
> >>> > > >>> > videos to a few most popular formats.. nothing which would
> not
> >>> work
> >>> > > out
> >>> > > >>> of
> >>> > > >>> > box in ffmpeg.. and maybe some tweaking about processor usage
> >>> and
> >>> > > >>> quality
> >>> > > >>> > but that second part is less important. Anyone interested?
> >>> > > >>> >
> >>> > > >>> >
> >>> > > >>> > Please send me how much would that cost aprox. I need to
> convert
> >>> > > *most
> >>> > > >>> of*
> >>> > > >>> > these:
> >>> > > >>> >
> >>> > > >>> > mov (QuickTime Movie)
> >>> > > >>> > mp4 (MPEG-4 Video)
> >>> > > >>> > mpe (MPEG Video)
> >>> > > >>> > mpeg (MPEG Video)
> >>> > > >>> > mpeg4 (MPEG-4 Video)
> >>> > > >>> > 3g2 (Mobile Video)
> >>> > > >>> > 3gp (Mobile Video)
> >>> > > >>> > 3gpp (Mobile Video)
> >>> > > >>> > asf (Windows Media Video)
> >>> > > >>> > avi (AVI Video)
> >>> > > >>> >
> >>> > > >>> >
> >>> > > >>> >
> >>> > > >>> > And convert to *most of* these:
> >>> > > >>> >
> >>> > > >>> >
> >>> > > >>> >- HTML5, Flash: MP4/H.264, High profile
> >>> > > >>> >- HTML5: WebM
> >>> > > >>> >- HTML5: Ogg
> >>> > > >>> >- Mobile: MP4/H.264, Baseline profile, 480x360, for wide
> >>> > > >>> compatibility
> >>> > > >>> >- Mobile: MP4/H.264, Main profile, 1280x720, for newer iOS
> >>> > devi

[FFmpeg-user] multiple fade out slow down encoding about two to three times

2015-07-25 Thread Tomáš Hnyk



Hello,
I created initial captions with fade ins and outs like this:

ffmpeg -i in.mov \
-framerate 24 -loop 1 -i a/01.png \
-framerate 24 -loop 1 -i a/02.png \
-framerate 24 -loop 1 -i a/03.png \
-framerate 24 -loop 1 -i a/04.png \
-framerate 24 -loop 1 -i a/05.png \
-framerate 24 -loop 1 -i a/06.png \
-framerate 24 -loop 1 -i a/07.png \
-framerate 24 -loop 1 -i a/08.png \
-framerate 24 -loop 1 -i a/09.png \
-filter_complex \
"[1:v]fade=in:0:d=0.2,fade=out:20:d=0.2[fad1]; \
[2:v]fade=in:28:d=0.2,fade=out:48:d=0.2[fad2]; \
[3:v]fade=in:56:d=0.2,fade=out:76:d=0.2[fad3]; \
[4:v]fade=in:84:d=0.2,fade=out:104:d=0.2[fad4]; \
[5:v]fade=in:112:d=0.2,fade=out:132:d=0.2[fad5]; \
[6:v]fade=in:140:d=0.2,fade=out:160:d=0.2[fad6]; \
[7:v]fade=in:168:d=0.2,fade=out:188:d=0.2[fad7]; \
[8:v]fade=in:196:d=0.2,fade=out:216:d=0.2[fad8]; \
[9:v]fade=in:224:d=0.2,fade=out:265:d=0.2[fad9]; \
[0:v][fad1]overlay=0:0:enable='between(t,0,1)'[tmp1]; \
[tmp1][fad2]overlay=0:0:enable='between(t,1.2,2.2)'[tmp2]; \
[tmp2][fad3]overlay=0:0:enable='between(t,2.4,3.4)'[tmp3]; \
[tmp3][fad4]overlay=0:0:enable='between(t,3.6,4.6)'[tmp4]; \
[tmp4][fad5]overlay=0:0:enable='between(t,4.8,5.8)'[tmp5]; \
[tmp5][fad6]overlay=0:0:enable='between(t,6,  7  )'[tmp6]; \
[tmp6][fad7]overlay=0:0:enable='between(t,7.2,8.2)'[tmp7]; \
[tmp7][fad8]overlay=0:0:enable='between(t,8.4,9.4)'[tmp8]; \
[tmp8][fad9]overlay=0:0:enable='between(t,9.6,11.2)'[tmp9]; \
[tmp9]ass=../subtitles.ass[outv]" \
-map [outv] -map a:0 \
-c libx264 -preset slow  -profile:v high -crf 19 \
-strict -2 -c:a aac -b:a 192k \
-f mov -y out.mov

It encodes at 5.5 fps if I let it run for five minutes (the video is  
almost two hours)

If I instead do:

ffmpeg -i in.mov \
-i a/01.png -i a/02.png -i a/03.png -i a/04.png -i a/05.png -i a/06.png -i  
a/07.png -i a/08.png -i a/09.png \

-filter_complex \
"[0:v][1:v]overlay=0:0:enable='between(t,0,1)'[tmp1]; \
[tmp1][2:v]overlay=0:0:enable='between(t,1.2,2.2)'[tmp2]; \
[tmp2][3:v]overlay=0:0:enable='between(t,2.4,3.4)'[tmp3]; \
[tmp3][4:v]overlay=0:0:enable='between(t,3.6,4.6)'[tmp4]; \
[tmp4][5:v]overlay=0:0:enable='between(t,4.8,5.8)'[tmp5]; \
[tmp5][6:v]overlay=0:0:enable='between(t,6,  7  )'[tmp6]; \
[tmp6][7:v]overlay=0:0:enable='between(t,7.2,8.2)'[tmp7]; \
[tmp7][8:v]overlay=0:0:enable='between(t,8.4,9.4)'[tmp8]; \
[tmp8][9:v]overlay=0:0:enable='between(t,9.6,11.2)'[tmp9]; \
[tmp9]ass=../neposunute.ass[outv]" \
-map [outv] -map a:0 \
-c libx264 -preset slow  -profile:v high -crf 19 \
-strict -2 -c:a aac -b:a 192k \
-f mov -y  out.mov

It encodes in roughly 14 fps. But fade ins and outs occur only at the very  
beginning (in the first 11 seconds), yet the slow down is preserved (I  
also run the compilation for about five minuts). Is this a performance bug?

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


Re: [FFmpeg-user] Copy-capturing h264 input while force-rewriting the PTS

2015-07-25 Thread Peter Rabbitson

On 07/25/2015 12:54 PM, Henk D. Schoneveld wrote:


On 25 Jul 2015, at 01:50, Peter Rabbitson  wrote:


Hello!

I have a Logitech C920 affected by a know-yet-wontfix kernel uvc-video bug[1]. 
Given That I need a relatively recent kernel and it looks like the problematic 
patch in 3.17+ will not be reverted, I am hoping that ffmpeg can somehow help 
me with a workaround.

The problem in short is that while the hardware h264 encoder in the camera 
provides correct PTS values, the kernel driver then throws them away and 
recalculates them incorrectly based on the usb clock or something [2]. I am 
wondering if there is a way to force ffmpeg to discard the (now incorrect) PTS 
again, and assign its own base on the machine clock.

I (blindly at this point) tried various permutations of formats (muxed or raw) 
and the various ffmpeg options of:
-fflags genpts
-copyts
-copytb [0/1]
-map ,

All to no avail. Either the stream stutters[3] (when muxing into matroska or 
mp4) or the stream runs smoothly but about 2x times faster than realtime (when 
using -f h264 )

You need, afaik, slowmotion on a ‘bad’h264 to get a to be expected resulting.ext
I think you’ll need something like -vf “setpts=(1/)*PTS”


What is  in this case...? The camera returns a variable frame 
rate afaik...

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


Re: [FFmpeg-user] multiple fade out slow down encoding about two to three times

2015-07-25 Thread Paul B Mahol
Dana 25. 7. 2015. 20:31 osoba "Tomáš Hnyk"  napisala
je:
>
>
>
> Hello,
> I created initial captions with fade ins and outs like this:
>
> ffmpeg -i in.mov \
> -framerate 24 -loop 1 -i a/01.png \
> -framerate 24 -loop 1 -i a/02.png \
> -framerate 24 -loop 1 -i a/03.png \
> -framerate 24 -loop 1 -i a/04.png \
> -framerate 24 -loop 1 -i a/05.png \
> -framerate 24 -loop 1 -i a/06.png \
> -framerate 24 -loop 1 -i a/07.png \
> -framerate 24 -loop 1 -i a/08.png \
> -framerate 24 -loop 1 -i a/09.png \
> -filter_complex \
> "[1:v]fade=in:0:d=0.2,fade=out:20:d=0.2[fad1]; \
> [2:v]fade=in:28:d=0.2,fade=out:48:d=0.2[fad2]; \
> [3:v]fade=in:56:d=0.2,fade=out:76:d=0.2[fad3]; \
> [4:v]fade=in:84:d=0.2,fade=out:104:d=0.2[fad4]; \
> [5:v]fade=in:112:d=0.2,fade=out:132:d=0.2[fad5]; \
> [6:v]fade=in:140:d=0.2,fade=out:160:d=0.2[fad6]; \
> [7:v]fade=in:168:d=0.2,fade=out:188:d=0.2[fad7]; \
> [8:v]fade=in:196:d=0.2,fade=out:216:d=0.2[fad8]; \
> [9:v]fade=in:224:d=0.2,fade=out:265:d=0.2[fad9]; \
> [0:v][fad1]overlay=0:0:enable='between(t,0,1)'[tmp1]; \
> [tmp1][fad2]overlay=0:0:enable='between(t,1.2,2.2)'[tmp2]; \
> [tmp2][fad3]overlay=0:0:enable='between(t,2.4,3.4)'[tmp3]; \
> [tmp3][fad4]overlay=0:0:enable='between(t,3.6,4.6)'[tmp4]; \
> [tmp4][fad5]overlay=0:0:enable='between(t,4.8,5.8)'[tmp5]; \
> [tmp5][fad6]overlay=0:0:enable='between(t,6,  7  )'[tmp6]; \
> [tmp6][fad7]overlay=0:0:enable='between(t,7.2,8.2)'[tmp7]; \
> [tmp7][fad8]overlay=0:0:enable='between(t,8.4,9.4)'[tmp8]; \
> [tmp8][fad9]overlay=0:0:enable='between(t,9.6,11.2)'[tmp9]; \
> [tmp9]ass=../subtitles.ass[outv]" \
> -map [outv] -map a:0 \
> -c libx264 -preset slow  -profile:v high -crf 19 \
> -strict -2 -c:a aac -b:a 192k \
> -f mov -y out.mov
>
> It encodes at 5.5 fps if I let it run for five minutes (the video is
almost two hours)
> If I instead do:
>
> ffmpeg -i in.mov \
> -i a/01.png -i a/02.png -i a/03.png -i a/04.png -i a/05.png -i a/06.png
-i a/07.png -i a/08.png -i a/09.png \
> -filter_complex \
> "[0:v][1:v]overlay=0:0:enable='between(t,0,1)'[tmp1]; \
> [tmp1][2:v]overlay=0:0:enable='between(t,1.2,2.2)'[tmp2]; \
> [tmp2][3:v]overlay=0:0:enable='between(t,2.4,3.4)'[tmp3]; \
> [tmp3][4:v]overlay=0:0:enable='between(t,3.6,4.6)'[tmp4]; \
> [tmp4][5:v]overlay=0:0:enable='between(t,4.8,5.8)'[tmp5]; \
> [tmp5][6:v]overlay=0:0:enable='between(t,6,  7  )'[tmp6]; \
> [tmp6][7:v]overlay=0:0:enable='between(t,7.2,8.2)'[tmp7]; \
> [tmp7][8:v]overlay=0:0:enable='between(t,8.4,9.4)'[tmp8]; \
> [tmp8][9:v]overlay=0:0:enable='between(t,9.6,11.2)'[tmp9]; \
> [tmp9]ass=../neposunute.ass[outv]" \
> -map [outv] -map a:0 \
> -c libx264 -preset slow  -profile:v high -crf 19 \
> -strict -2 -c:a aac -b:a 192k \
> -f mov -y  out.mov
>
> It encodes in roughly 14 fps. But fade ins and outs occur only at the
very beginning (in the first 11 seconds), yet the slow down is preserved (I
also run the compilation for about five minuts). Is this a performance bug?

What ffmpeg version you are using?
Fade filter can use multiple cores to speed up filtering.
What fps speed you want?

> Regards,
> Tomas
> ___
> 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] multiple fade out slow down encoding about two to three times

2015-07-25 Thread Tomáš Hnyk

On Sat, 25 Jul 2015 22:18:43 +0200, Paul B Mahol  wrote:


Dana 25. 7. 2015. 20:31 osoba "Tomáš Hnyk"  napisala
je:




It encodes in roughly 14 fps. But fade ins and outs occur only at the
very beginning (in the first 11 seconds), yet the slow down is preserved  
(I
also run the compilation for about five minuts). Is this a performance  
bug?


What ffmpeg version you are using?
Fade filter can use multiple cores to speed up filtering.
What fps speed you want?


The version is:
ffmpeg version 2.5.7-0ubuntu0.15.04.1 Copyright (c) 2000-2015 the FFmpeg  
developers

  built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13)

All my 4 cores were used to the fullest. I want the same fps as without  
the fade filter in the parts of the video where there is no fading. The  
video is 105 minutes long. Fade ins and outs are all in the first eleven  
seconds. I do not mind if these first eleven seconds are rendered  
super-slowly, but why does the whole encoding process (for the whole  
105-minute-long video) take about 2.5 as long as without the fade filter?

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


Re: [FFmpeg-user] Help to convert some formats to web suitable. I sould pay for help

2015-07-25 Thread Another Sillyname
I'm out..if you're still in negotiation mode rather then getting
to the point mode I've lost interest.

Good luck.

On 25 July 2015 at 19:13, vedran  wrote:
> look, just say that you know to do it, now and fast, i'm really into that..
> i have no doubts that we would agree on that..
>
> i have no clue how much could that cost.. that is why i'm not offering..
>
> on one hand it could be 20 minutes to tweak that and in another case, maybe
> somebody would need a day..i don't have feeling about that
>
>
>
> On Sat, Jul 25, 2015 at 7:56 PM, Another Sillyname <
> anothersn...@googlemail.com> wrote:
>
>> OK, Let's cut to the chase..how much would you want to pay (and I
>> ask this having stated earlier you won't be offering commercial
>> rates).
>>
>> If you want it done I would suggest that you need to attract someone
>> willing to do it for the money, therefore you need to tell them what
>> you're willing to pay.
>>
>> Asking how much they want isn't going to work in my opinion.
>>
>>
>>
>> On 25 July 2015 at 17:49, vedran  wrote:
>> > aha, @Mahesh Patade i'm soory i looked this, s much more than i
>> need..
>> > i need solution for single server, locally .. doing one video at a time..
>> >
>> > On Sat, Jul 25, 2015 at 6:46 PM, vedran  wrote:
>> >
>> >> if it helps me i would send you something for sure.. however just give
>> me
>> >> those instructions..
>> >>
>> >> i hope you understand what i actually need..
>> >>
>> >> for me it would be great and enough if i just had 5-6 ffmpeg commands
>> that
>> >> do this and that is all.. i have another script that would handle when
>> >> where and how that starts
>> >>
>> >> On Sat, Jul 25, 2015 at 6:41 PM, Mahesh Patade 
>> >> wrote:
>> >>
>> >>> You do not have to pay a single penny. JUST follow instructions i have
>> >>> given in my blog.
>> >>>
>> >>> Thanks Mahesh
>> >>> On Jul 25, 2015 10:05 PM, "vedran"  wrote:
>> >>>
>> >>> > Well if solves my problems, I would pay.
>> >>> >
>> >>> > What I needed is what I asked. ..
>> >>> >
>> >>> >
>> >>> > Please give me some more info.
>> >>> >
>> >>> > How sophisticated is your code, how can I use it, how much would i
>> have
>> >>> to
>> >>> > pay.
>> >>> > On Jul 25, 2015 3:00 PM, "Another Sillyname" <
>> >>> anothersn...@googlemail.com>
>> >>> > wrote:
>> >>> >
>> >>> > > If you're willing to do some work I have a script I use that does
>> most
>> >>> > > of what you want, happy to let you have it and you could use it as
>> the
>> >>> > > 'base' for what you're trying to do.
>> >>> > >
>> >>> > > The problem with paying for something like this is frankly you
>> >>> > > probably wouldn't want to pay a sensible commercial rate so the
>> >>> > > numbers wouldn't make sense.
>> >>> > >
>> >>> > >
>> >>> > >
>> >>> > >
>> >>> > >
>> >>> > > On 25 July 2015 at 13:40, vedran  wrote:
>> >>> > > > i'm not into ffmpeg so i feel that i would have to spend A LOT OF
>> >>> TIME
>> >>> > > > tuning this.. and i would rather pay for somebody writing me
>> >>> commands
>> >>> > > which
>> >>> > > > i would put into a scrips.. also it would be great to have
>> multiple
>> >>> > > output
>> >>> > > > once it is created...
>> >>> > > >
>> >>> > > > i saw it here:
>> >>> > > https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
>> >>> > > >
>> >>> > > >
>> >>> > > >
>> >>> > > > On Sat, Jul 25, 2015 at 2:38 PM, vedran 
>> wrote:
>> >>> > > >
>> >>> > > >> debian with multimedia repos
>> >>> > > >>
>> >>> > > >> On Sat, Jul 25, 2015 at 2:37 PM, Another Sillyname <
>> >>> > > >> anothersn...@googlemail.com> wrote:
>> >>> > > >>
>> >>> > > >>> would help if you stated windows or 'nix
>> >>> > > >>>
>> >>> > > >>> On 25 July 2015 at 13:32, vedran  wrote:
>> >>> > > >>> > Hello guys,
>> >>> > > >>> >
>> >>> > > >>> > i need somebody to write me commands for converting videos
>> i'm
>> >>> > > prepared
>> >>> > > >>> to
>> >>> > > >>> > pay that. it should be able to process feew different formats
>> >>> and
>> >>> > > >>> convert
>> >>> > > >>> > videos to a few most popular formats.. nothing which would
>> not
>> >>> work
>> >>> > > out
>> >>> > > >>> of
>> >>> > > >>> > box in ffmpeg.. and maybe some tweaking about processor usage
>> >>> and
>> >>> > > >>> quality
>> >>> > > >>> > but that second part is less important. Anyone interested?
>> >>> > > >>> >
>> >>> > > >>> >
>> >>> > > >>> > Please send me how much would that cost aprox. I need to
>> convert
>> >>> > > *most
>> >>> > > >>> of*
>> >>> > > >>> > these:
>> >>> > > >>> >
>> >>> > > >>> > mov (QuickTime Movie)
>> >>> > > >>> > mp4 (MPEG-4 Video)
>> >>> > > >>> > mpe (MPEG Video)
>> >>> > > >>> > mpeg (MPEG Video)
>> >>> > > >>> > mpeg4 (MPEG-4 Video)
>> >>> > > >>> > 3g2 (Mobile Video)
>> >>> > > >>> > 3gp (Mobile Video)
>> >>> > > >>> > 3gpp (Mobile Video)
>> >>> > > >>> > asf (Windows Media Video)
>> >>> > > >>> > avi (AVI Video)
>> >>> > > >>> >
>> >>> > > >>> >
>> >>> > > >>> >
>> >>> > > >>> > And convert to *most of* these:
>> >>> > > >>> >
>> >>> > > >>> >

Re: [FFmpeg-user] what program to use to grab device and send to ffserver?

2015-07-25 Thread Ricardo Kleemann
Hi guys,

I’ve had the chance to try out all 16 modes…

> On Jun 24, 2015, at 10:04 AM, Ricardo Kleemann  
> wrote:
> 
> Thanks. I was thinking about that last night. With Flash Media Live Encoder, 
> the only one that works is the 1920x1080 60fps. I guess I'll have to try each 
> one and see.
> 

I only got video from modes 9 and 12

[decklink @ 0x7f94b081ba00] 9   1920x1080 at 3/1001 fps
[decklink @ 0x7f94b081ba00] 12  1920x1080 at 3/1001 fps 
(interlaced, upper field first)

what is the effective difference between interlaced and non-interlaced, in 
terms of the resulting video file? In terms of streaming, also…?

thank you
Ricardo


> On Wed, Jun 24, 2015 at 1:08 AM, Arnaud Wijns  > wrote:
> Hello,
> 
> Make sure you are using the good input format for your device. BMD is quite 
> touchy in that field.
> For instance, with a 1080i 50fps camera, I must choose the following format : 
> 11 1920x1080 at 25000/1000 fps (interlaced, upper field first). If I use any 
> other, I also have the mire (vertical color bars).
> Do not hesitate to try all available formats. One of them will suit your 
> needs (typically 8, 10, 11 or 13 if you use a full HD camera / 14, 16 for a 
> screen grabber).
> 
> If none of them works, I am not sure what to do in that case ;)
> 
> Arnaud.
> 
> Arnaud WIJNS
> ULB Podcast | Informaticien
> http://podcast.ulb.ac.be  
> >
> 
> Téléphone : 02/650.29.26
> Email : arnaud.wi...@ulb.ac.be  
> >
> 
> Université libre de Bruxelles
> Campus du Solbosch - CP 160/26
> Avenue F.D. Roosevelt, 50 - 1050 Ixelles
> 
> > Le 24 juin 2015 à 04:42, Ricardo Kleemann  > > a écrit :
> >
> > Hello Arnaud,
> >
> > Thanks again for your great help.
> >
> > Please see below…
> >
> >> On Jun 22, 2015, at 5:28 AM, Arnaud Wijns  >> > wrote:
> >>
> >> Hello Ricardo,
> >>
> >> I am working on a project which uses the same devices for the same purpose.
> >>
> >> You can use both bmdtools (with pipe to FFMPEG) or decklink support for 
> >> FFMPEG (the second solution is easier and works better imo).
> >>
> >> 1) Install the Mac driver for BMD (BMD Desktop)
> >> 2) Download the Decklink SDK (from 
> >> https://www.blackmagicdesign.com/support/download/f3e35f03b97440c4893fdf7e0dfdf97c/Mac%20OS%20X
> >>  
> >> )
> >> 3) Install all dependencies for FFMPEG (use Brew as explained in the 
> >> FFMPEG compilation guide for Mac OS)
> >> —> brew install automake fdk-aac git lame libass libtool libvorbis libvpx \
> >>  opus sdl shtool texi2html theora wget x264 xvid yasm
> >> 4) Download FFMPEG from Git
> >> —> git clone git://source.ffmpeg.org/ffmpeg.git 
> >>  ffmpeg
> >>  cd ffmpeg
> >> 5) Prepare the configuration file (adapt according to your needs BUT 
> >> —enable-deckling is required for BMD). Adapt the path for your Decklink SDK
> >> —> ./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 --enable-decklink 
> >> --extra-cflags=-I/somepath/blackmagicsdk/Mac/include 
> >> --extra-ldflags=-L/somepath/blackmagicsdk/Mac/include
> >> 6) If you use Mac OS X 10.9 or above, edit « config.mak »
> >> —> vi config.mak
> >>  Remove all references to « -std=c99 » (there are 2)
> >> 7) Edit DeckLinkAPIDispatch.cpp (in /somepath/blackmagicsdk/Mac/include)
> >> —> add the word "static" to the beginning of lines 56, 77, and 157
> >> 56: void InitDeckLinkAPI (void)
> >> 77: boolIsDeckLinkAPIPresent (void)
> >> 157: void InitBMDStreamingAPI(void)
> >> 8) Make && sudo make install
> >>
> >> Now that FFMPEG in installed with Decklink support, you can get the 
> >> audio-video stream from your BMD devices directly in FFMPEG.
> >>
> >> Use the following commands:
>  ffmpeg -f decklink -list_devices 1 -i dummy
>  ffmpeg -f decklink -list_formats 1 -i ‘UltraStudio Mini Recorder’
>  ffmpeg -f decklink -i ‘UltraStudio Mini Recorder@16’ output.mov
> >>
> >
> > I was able to build ffmpeg with support for BMD.
> >
> >
> > These commands are now all working and I get the set of formats supported.
> >
> > My problem now is that ffmpeg (and even ffplay) all they show is the 
> > multi-colored vertical bars. If I run BMD Media Express, however, I see the 
> > video coming from the camera. So something seems quite strange in how 
> > ffmpeg is acquiring the source.
> >
> > I get the error of “No input signal detected”
> >
> > $ ffmpeg -f decklink -i 'UltraStudio Mini Record

Re: [FFmpeg-user] what program to use to grab device and send to ffserver?

2015-07-25 Thread Ricardo Kleemann
Hello Arnaud,

> On Jun 24, 2015, at 1:08 AM, Arnaud Wijns  wrote:
> 
> Hello,
> 
> Make sure you are using the good input format for your device. BMD is quite 
> touchy in that field.
> For instance, with a 1080i 50fps camera, I must choose the following format : 
> 11 1920x1080 at 25000/1000 fps (interlaced, upper field first). If I use any 
> other, I also have the mire (vertical color bars).
> Do not hesitate to try all available formats. One of them will suit your 
> needs (typically 8, 10, 11 or 13 if you use a full HD camera / 14, 16 for a 
> screen grabber).
> 
> If none of them works, I am not sure what to do in that case ;)
> 

I thought the blackmagic device already provided H.264 in hardware, however it 
seems the drivers are seeing rawvideo. Do you know how to get h264 video? 

$ ffprobe -f decklink -i 'UltraStudio Mini Recorder@12'
ffprobe version N-73104-g7604358 Copyright (c) 2007-2015 the FFmpeg developers
  built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree 
--enable-ffplay --enable-libass --enable-libfdk-aac --enable-libfreetype 
--enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis 
--enable-libvpx --enable-libx264 --enable-libxvid --enable-decklink 
--extra-cflags=-I/Users/ptl/blackmagicsdk/Mac/include 
--extra-ldflags=-L/Users/ptl/blackmagicsdk/Mac/include
  libavutil  54. 27.100 / 54. 27.100
  libavcodec 56. 44.100 / 56. 44.100
  libavformat56. 38.100 / 56. 38.100
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 17.100 /  5. 17.100
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc53.  3.100 / 53.  3.100
[decklink @ 0x7f9182802a00] Found Decklink mode 1920 x 1080 with rate 29.97(i)
[decklink @ 0x7f9182802a00] Frame received (#1) - Input returned - Frames 
dropped 1
Input #0, decklink, from 'UltraStudio Mini Recorder@12':
  Duration: N/A, start: 0.00, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream #0:1: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1920x1080, -5 
kb/s, 29.97 tbr, 1000k tbn, 29.97 tbc



> Arnaud.
> 
> Arnaud WIJNS
> ULB Podcast | Informaticien
> http://podcast.ulb.ac.be 
> 
> Téléphone : 02/650.29.26
> Email : arnaud.wi...@ulb.ac.be 
> 
> Université libre de Bruxelles
> Campus du Solbosch - CP 160/26
> Avenue F.D. Roosevelt, 50 - 1050 Ixelles
> 
>> Le 24 juin 2015 à 04:42, Ricardo Kleemann  a écrit :
>> 
>> Hello Arnaud,
>> 
>> Thanks again for your great help.
>> 
>> Please see below…
>> 
>>> On Jun 22, 2015, at 5:28 AM, Arnaud Wijns  wrote:
>>> 
>>> Hello Ricardo,
>>> 
>>> I am working on a project which uses the same devices for the same purpose.
>>> 
>>> You can use both bmdtools (with pipe to FFMPEG) or decklink support for 
>>> FFMPEG (the second solution is easier and works better imo).
>>> 
>>> 1) Install the Mac driver for BMD (BMD Desktop)
>>> 2) Download the Decklink SDK (from 
>>> https://www.blackmagicdesign.com/support/download/f3e35f03b97440c4893fdf7e0dfdf97c/Mac%20OS%20X)
>>> 3) Install all dependencies for FFMPEG (use Brew as explained in the FFMPEG 
>>> compilation guide for Mac OS)
>>> —> brew install automake fdk-aac git lame libass libtool libvorbis libvpx \
>>> opus sdl shtool texi2html theora wget x264 xvid yasm
>>> 4) Download FFMPEG from Git
>>> —> git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
>>> cd ffmpeg
>>> 5) Prepare the configuration file (adapt according to your needs BUT 
>>> —enable-deckling is required for BMD). Adapt the path for your Decklink SDK
>>> —> ./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 --enable-decklink 
>>> --extra-cflags=-I/somepath/blackmagicsdk/Mac/include 
>>> --extra-ldflags=-L/somepath/blackmagicsdk/Mac/include 
>>> 6) If you use Mac OS X 10.9 or above, edit « config.mak » 
>>> —> vi config.mak
>>> Remove all references to « -std=c99 » (there are 2)
>>> 7) Edit DeckLinkAPIDispatch.cpp (in /somepath/blackmagicsdk/Mac/include)
>>> —> add the word "static" to the beginning of lines 56, 77, and 157
>>> 56: void InitDeckLinkAPI (void)
>>> 77: boolIsDeckLinkAPIPresent (void)
>>> 157: void InitBMDStreamingAPI(void)
>>> 8) Make && sudo make install
>>> 
>>> Now that FFMPEG in installed with Decklink support, you can get the 
>>> audio-video stream from your BMD devices directly in FFMPEG.
>>> 
>>> Use the following commands:
> ffmpeg -f decklink -list_devices 1 -i dummy
> ffmpeg -f decklink -list_formats 1 -i ‘UltraStudio Mini Recorder’
> ffmpeg -f decklink -i ‘UltraStudio Mini Recorder@16’ output.mov
>>> 
>> 
>> I was able to build ffmpeg with support 

[FFmpeg-user] taking audio and video inputs from different devices

2015-07-25 Thread Ricardo Kleemann
Hi,

I’m not having much success mixing in audio from the default audio input with 
the video. The video comes out fine but audio is basically inaudible with 
intermittent a little bit of static.

I don’t know if I have the proper settings, I do know that if I don’t use the 
async flag then the video plays back in very fast forward.

the avfoundation “none:1” would be to use the default built-in audio 


$ ffmpeg -f avfoundation -i "none:1" -ac 2 -f decklink -re -i 'UltraStudio Mini 
Recorder@9' -vcodec libx264 -crf 20 -preset veryfast -vf scale=640:360 -async 1 
out7.mp4
ffmpeg version N-73104-g7604358 Copyright (c) 2000-2015 the FFmpeg developers
  built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree 
--enable-ffplay --enable-libass --enable-libfdk-aac --enable-libfreetype 
--enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis 
--enable-libvpx --enable-libx264 --enable-libxvid --enable-decklink 
--extra-cflags=-I/Users/ptl/blackmagicsdk/Mac/include 
--extra-ldflags=-L/Users/ptl/blackmagicsdk/Mac/include
  libavutil  54. 27.100 / 54. 27.100
  libavcodec 56. 44.100 / 56. 44.100
  libavformat56. 38.100 / 56. 38.100
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 17.100 /  5. 17.100
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc53.  3.100 / 53.  3.100
Input #0, avfoundation, from 'none:1':
  Duration: N/A, start: 28853.224036, bitrate: 2822 kb/s
Stream #0:0: Audio: pcm_f32le, 44100 Hz, stereo, flt, 2822 kb/s
[decklink @ 0x7f8362024800] Found Decklink mode 1920 x 1080 with rate 29.97
[decklink @ 0x7f8362024800] Frame received (#1) - No input signal detected - 
Frames dropped 1
Guessed Channel Layout for  Input Stream #1.0 : stereo
Input #1, decklink, from 'UltraStudio Mini Recorder@9':
  Duration: N/A, start: 0.00, bitrate: 1536 kb/s
Stream #1:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream #1:1: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1920x1080, -5 
kb/s, 29.97 tbr, 1000k tbn, 29.97 tbc
File 'out7.mp4' already exists. Overwrite ? [y/N] [decklink @ 0x7f8362024800] 
Frame received (#2) - Input returned - Frames dropped 2
y
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
-async is forwarded to lavfi similarly to -af 
aresample=async=1:min_hard_comp=0.10:first_pts=0.
[libx264 @ 0x7f83618ad000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 
AVX
[libx264 @ 0x7f83618ad000] profile High 4:2:2, level 3.0, 4:2:2 8-bit
[libx264 @ 0x7f83618ad000] 264 - core 144 r2533 c8a773e - H.264/MPEG-4 AVC 
codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: 
cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 
psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 
deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=2 
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 
open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 
rc_lookahead=10 rc=crf mbtree=1 crf=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 
ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out7.mp4':
  Metadata:
encoder : Lavf56.38.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv422p, 
640x360, q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc
Metadata:
  encoder : Lavc56.44.100 libx264
Stream #0:1: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 44100 Hz, 
stereo, s16, 128 kb/s
Metadata:
  encoder : Lavc56.44.100 libfdk_aac
Stream mapping:
  Stream #1:1 -> #0:0 (rawvideo (native) -> h264 (libx264))
  Stream #0:0 -> #0:1 (pcm_f32le (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[decklink @ 0x7f8362024800] Thread message queue blocking; consider raising the 
thread_queue_size option (current value: 8)
frame=   17 fps=0.0 q=0.0 size=   0kB time=00:00:00.00 bitrate=N/A dup=10 
dr[avfoundation @ 0x7f8362015800] Thread message queue blocking; consider 
raising the thread_queue_size option (current value: 8)
frame=   32 fps= 32 q=26.0 size=  52kB time=00:00:00.34 
bitrate=1230.7kbits/frame=   47 fps= 31 q=26.0 size= 194kB time=00:00:00.90 
bitrate=1754.8kbits/frame=   62 fps= 31 q=26.0 size= 338kB time=00:00:01.36 
bitrate=2023.0kbits/

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