Re: [FFmpeg-user] Converting MPEG-TS to MKV with hard coded subtitles produces error message

2015-04-08 Thread Nepheler
How about trying Handbrake? It support customize output V&A resolution
parameters before conversion. 



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Converting-MPEG-TS-to-MKV-with-hard-coded-subtitles-produces-error-message-tp4657313p4669858.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] Does the H.263 in FFmpeg support two pass encoding

2015-04-08 Thread Ramprasad N
Hi,
The second pass shows error (IO error: Error number 0 occurred) but the
file gets generated and looks fine, but I don't know whether it actually
used the 1st pass.

C:\Users\ramprasad>ffmpeg.exe -i foreman_qcif.y4m -b:v 128k -pass 1 -vcodec
h263 -f 3gp -y NUL
ffmpeg version N-69422-gf5722ba Copyright (c) 2000-2015 the FFmpeg
developers
  built on Jan 30 2015 22:02:24 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-lzma --enable-decklink --enable-zlib
  libavutil  54. 18.100 / 54. 18.100
  libavcodec 56. 21.101 / 56. 21.101
  libavformat56. 19.100 / 56. 19.100
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5.  9.102 /  5.  9.102
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  3.100 / 53.  3.100
Input #0, yuv4mpegpipe, from 'foreman_qcif.y4m':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 176x144, 25
fps, 25 tbr, 25 tbn, 25 tbc
Output #0, 3gp, to 'NUL':
  Metadata:
encoder : Lavf56.19.100
Stream #0:0: Video: h263 (s263 / 0x33363273), yuv420p, 176x144, q=2-31,
pass 1, 128 kb/s, 25 fps, 12800 tbn, 25 tbc
Metadata:
  encoder : Lavc56.21.101 h263
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h263 (native))
Press [q] to stop, [?] for help
frame=  300 fps=0.0 q=8.6 Lsize= 276kB time=00:00:12.00 bitrate=
188.5kbits/s
video:274kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.707967%

C:\Users\ramprasad>ffmpeg.exe -i foreman_qcif.y4m -b:v 128k -pass 2 -vcodec
h263 -f 3gp -y test.3gp
ffmpeg version N-69422-gf5722ba Copyright (c) 2000-2015 the FFmpeg
developers
  built on Jan 30 2015 22:02:24 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-lzma --enable-decklink --enable-zlib
  libavutil  54. 18.100 / 54. 18.100
  libavcodec 56. 21.101 / 56. 21.101
  libavformat56. 19.100 / 56. 19.100
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5.  9.102 /  5.  9.102
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  3.100 / 53.  3.100
Input #0, yuv4mpegpipe, from 'foreman_qcif.y4m':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 176x144, 25
fps, 25 tbr, 25 tbn, 25 tbc
IO error: Error number 0 occurred
Output #0, 3gp, to 'test.3gp':
  Metadata:
encoder : Lavf56.19.100
Stream #0:0: Video: h263 (s263 / 0x33363273), yuv420p, 176x144, q=2-31,
pass 2, 128 kb/s, 25 fps, 12800 tbn, 25 tbc
Metadata:
  encoder : Lavc56.21.101 h263
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h263 (native))
Press [q] to stop, [?] for help
frame=  300 fps=0.0 q=9.0 Lsize= 169kB time=00:00:12.00 bitrate=
115.7kbits/s
video:167kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 1.159217%

Also,
For the same command line, an older version of ffmpeg (dec-2013) fails in
the second pass with the error
[h263 @ 0192FBC0] statistics are damaged at line 0, parser out=0
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height

Does h263 (in ffmpeg) support 2 pass encoding?

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


Re: [FFmpeg-user] How can I solve multiple audio + video mixing and overlay problem

2015-04-08 Thread Jeromy
Oh Thanks.

I modified it.

But problem is occued.

command line:
./ffmpeg -i multimedia_sample/audio/1.amr -i multimedia_sample/audio/2.amr
-i multimedia_sample/audio/3.amr -i multimedia_sample/audio/4.amr -i
multimedia_sample/audio/5.amr -i multimedia_sample/audio/6.amr -i
multimedia_sample/video/1_1.mp4 -i multimedia_sample/video/2_1.mp4 -i
multimedia_sample/video/3_1.mp4 -i multimedia_sample/video/4_1.mp4 -i
multimedia_sample/video/5_1.mp4 -i multimedia_sample/video/6_1.mp4
-filter_complex
"amix=inputs=6:duration=longest:dropout_transition=6,asplit=2[a1][a2],nullsrc=s=1280x720[base];split=2[iv1][iv2];[iv1][base]overlay=0:0[mid1];[iv2][mid1]overlay=0:0[mid2];[iv3][mid2]overlay=0:0[mid3];[iv4][mid3]overlay=0:0[mid4];[iv5][mid4]overlay=0:0[mid5];[iv6][mid5]overlay=0:0[mid6];[0:v]scale=426x360[iv0];[1:v]scale=426x360[iv1];[2:v]scale=426x360[iv2];[3:v]scale=426x360[iv3];[4:v]scale=426x360[iv4];[5:v]scale=426x360[iv5];[base][iv0]overlay=1[tmp0];[tmp0][iv1]overlay=1:x=426[tmp1];[tmp1][iv2]overlay=1:x=852[tmp2];[tmp2][iv3]overlay=1:y=360[tmp3];[tmp3][iv4]overlay=1:x=426:y=360[tmp4];[tmp4][iv5]overlay=1:x=852:y=360[tmp5]"
-map [a1] c:a mp3 -f rtp -y rtp://111.111.111.111:1 -map [a2] c:a mp3 -f
rtp -y rtp://222.222.222.222:2 -map [v1] c:a libx264 -f rtp -y
rtp://333.333.333.333:3 -map [v2] c:a libx264 -f rtp -y
rtp://444.444.444.444:4

and then.
Stream specifier 'iv6' in filtergraph description
amix=inputs=6:duration=longest:dropout_transition=6,asplit=2[a1][a2],nullsrc=s=1280x720[base];split=2[iv1][iv2];[iv1][base]overlay=0:0[mid1];[iv2][mid1]overlay=0:0[mid2];[iv3][mid2]overlay=0:0[mid3];[iv4][mid3]overlay=0:0[mid4];[iv5][mid4]overlay=0:0[mid5];[iv6][mid5]overlay=0:0[mid6];[0:v]scale=426x360[iv0];[1:v]scale=426x360[iv1];[2:v]scale=426x360[iv2];[3:v]scale=426x360[iv3];[4:v]scale=426x360[iv4];[5:v]scale=426x360[iv5];[base][iv0]overlay=1[tmp0];[tmp0][iv1]overlay=1:x=426[tmp1];[tmp1][iv2]overlay=1:x=852[tmp2];[tmp2][iv3]overlay=1:y=360[tmp3];[tmp3][iv4]overlay=1:x=426:y=360[tmp4];[tmp4][iv5]overlay=1:x=852:y=360[tmp5]
matches no streams.

maybe it`s command problem.
but I don`t know... what is wrong...
Please let me know that is the problem... 

Jeromy.



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/How-can-I-solve-multiple-audio-video-mixing-and-overlay-problem-tp4669854p4669856.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] How can I solve multiple audio + video mixing and overlay problem

2015-04-08 Thread Dorian Meid

Am 09.04.2015 um 03:48 schrieb Jeromy :
> What am I wrong?


> [base];insrc=s=320x360,vsplits2[iv1][iv2]; \


Bash takes the semicolon ; in your command line as a command terminator.

Dorian


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


[FFmpeg-user] How can I solve multiple audio + video mixing and overlay problem

2015-04-08 Thread Jeromy
Hi, please excuse me for bad english.
I need to create six overlayed video (and it included six mixed audio, too).

And I wanna that 
1. Input is 12 audio and videos 
(6 are only audio stream included, and 6 are only video stream included
files).
2. Output is 4 RTP stream 
(1,2 is same thing - mixed all audio stream 3,4 is same thing - overlayed
all video).
3. Output video structure is below.
 

In order to do this I use following command:

./ffmpeg -i 1.mp3 -i 2.mp3 -i 3.mp3 -i 4.mp3 -i 5.mp3 -i 6.mp3 \
-i video1.mp4 -i video2.mp4 -i video3.mp4 -i video4.mp4 -i video5.mp4 -i
video6.mp4 \
-filter_complex \ 
amix=inputs=6:duration=longest:dropout_transition=6,asplit=2[a1][a2], \
nullsrc=s=1280x720 \
[base];insrc=s=320x360,vsplits2[iv1][iv2]; \
[iv1][base]overlay=0:0[mid1]; \
[iv2][mid1]overlay=0:0[mid2]; \
[iv3][mid2]overlay=0:0[mid3]; \
[iv4][mid3]overlay=0:0[mid4]; \
[iv5][mid4]overlay=0:0[mid5]; \
[iv6][mid5]overlay=0:0[mid6]; \
[0:v]scale=426x360[iv0];[1:v]scale=426x360[iv1];[2:v]scale=426x360[iv2];[3:v]scale=426x360[iv3];[4:v]scale=426x360[iv4];[5:v]scale=426x360[iv5];
[base][iv0]overlay=1 \
[tmp0];[tmp0][iv1]overlay=1:x=426[tmp1]; \
[tmp1][iv2]overlay=1:x=852[tmp2]; \
[tmp2][iv3]overlay=1:y=360[tmp3]; \
[tmp3][iv4]overlay=1:x=426:y=360[tmp4];\
[tmp4][iv5]overlay=1:x=852:y=360[tmp5]; \
-map [a1] c:a mp3 -f rtp -y rtp://111.111.111.111:1 \
-map [a2] c:a mp3 -f rtp -y rtp://222.222.222.222:2 \
-map [v1] c:a libx264 -f rtp -y rtp://333.333.333.333:3 \
-map [v2] c:a libx264 -f rtp -y rtp://444.444.444.444:4

but It doesn`t work... 
Error Message is below

At least one output file must be specified
-bash: [iv1][base]overlay=0:0[mid1]: command not found
-bash: [iv2][mid1]overlay=0:0[mid2]: command not found
-bash: [iv3][mid2]overlay=0:0[mid3]: command not found
-bash: [iv4][mid3]overlay=0:0[mid4]: command not found
-bash: [iv5][mid4]overlay=0:0[mid5]: command not found
-bash: [iv6][mid5]overlay=0:0[mid6]: command not found
-bash: [0:v]scale=426x360[iv0]: command not found
-bash: [1:v]scale=426x360[iv1]: command not found
-bash: [2:v]scale=426x360[iv2]: command not found
-bash: [3:v]scale=426x360[iv3]: command not found
-bash: [4:v]scale=426x360[iv4]: command not found
-bash: [5:v]scale=426x360[iv5]: command not found
-bash: [base][iv0]overlay=1[tmp0]: command not found
-bash: [tmp0][iv1]overlay=1:x=426[tmp1]: command not found
-bash: [tmp1][iv2]overlay=1:x=852[tmp2]: command not found
-bash: [tmp2][iv3]overlay=1:y=360[tmp3]: command not found
-bash: [tmp3][iv4]overlay=1:x=426:y=360[tmp4]: command not found
-bash: [tmp4][iv5]overlay=1:x=852:y=360[tmp5]: command not found
-bash: -map: command not found

What am I wrong?



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/How-can-I-solve-multiple-audio-video-mixing-and-overlay-problem-tp4669854.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Unknown URL Protocol

2015-04-08 Thread Moritz Barsnick
On Wed, Apr 08, 2015 at 20:59:36 +0530, basanth alluri wrote:
> I download the ffmpeg in my linux machine.I am successfully build the
> ffmpeg but i am getting the error in c file like unknown type name
> URLProtocol.
> 
> I found the url.h file in libavformat folder. In that url.h file
> URLProtocol function is there but in c program it is not included,so how to
> include that file?.

Please show us the command line and the complete, uncut console output.

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


[FFmpeg-user] ffmpeg is slow to pick up udp

2015-04-08 Thread Thomas Seilund

Hi All

I have ffmpeg running in one instance streaming to udp on the local host

Ffmpeg is running in another instance, also on local host, and reads the  
stream from udp


Why does it take 5 - 10 sec for the second instance to pick up the udp  
stream ?


I seem to be getting a lot of "Current profile doesn't provide more RBSP  
data in PPS, skipping"



First instance - streaming to udp:

ffmpeg -loop 1 -re -i overlays/test.png -c libx264 -preset ultrafast -r 24  
- pix_fmt yuv420p -g 1 -f mpegts udp://t420.netmaster.dk:8001
ffmpeg version N-69238-g2699a37 Copyright (c) 2000-2015 the FFmpeg  
developers

  built on Feb 24 2015 18:13:15 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --enable-gpl --enable-libmp3lame --enable-libvpx --enable-  
libx264 --enable-version3 --enable-libvorbis --enable-libfreetype --enable-  
libv4l2 --enable-libfdk-aac --enable-nonfree --enable-libpulse

  libavutil  54. 17.100 / 54. 17.100
  libavcodec 56. 20.100 / 56. 20.100
  libavformat56. 19.100 / 56. 19.100
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5.  8.101 /  5.  8.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  3.100 / 53.  3.100
Input #0, png_pipe, from 'overlays/test.png':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: png, rgb24, 86x106 [SAR 11811:11811 DAR 43:53], 25   
fps, 25 tbr, 25 tbn, 25 tbc

[libx264 @ 0x1ec90c0] using SAR=1/1
[libx264 @ 0x1ec90c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x1ec90c0] profile Constrained Baseline, level 1.0
Output #0, mpegts, to 'udp://t420.netmaster.dk:8001':
  Metadata:
encoder : Lavf56.19.100
Stream #0:0: Video: h264 (libx264), yuv420p, 86x106 [SAR 1:1 DAR   
43:53], q=-1--1, 24 fps, 90k tbn, 24 tbc

Metadata:
  encoder : Lavc56.20.100 libx264
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 10 fps=0.0 q=29.0 size= 7kB time=00:00:00.12 bitrate= 469.2kbits/s
Past duration 0.639992 too large
Past duration 0.679985 too large
Past duration 0.719994 too large
Past duration 0.759987 too large
Past duration 0.75 too large
Past duration 0.839989 too large
Past duration 0.879997 too large
frame= 23 fps= 23 q=29.0 size= 27kB time=00:00:00.66 bitrate= 336.1kbits/s
Past duration 0.919991 too large
Past duration 0.95 too large
Past duration 0.92 too large
frame= 36 fps= 24 q=29.0 size= 48kB time=00:00:01.20 bitrate= 323.6kbits/s
frame= 48 fps= 24 q=29.0 size= 66kB time=00:00:01.70 bitrate= 316.9kbits/s
frame= 60 fps= 24 q=29.0 size= 85kB time=00:00:02.20 bitrate= 314.0kbits/s  
dup=0 drop=1
frame= 73 fps= 24 q=29.0 size= 105kB time=00:00:02.75 bitrate= 312.3kbits/s  
dup=0 drop=1


Second instance reading from udp:

ffmpeg -loglevel debug -i udp://t420.netmaster.dk:8001 -c copy test.ts
ffmpeg version N-69238-g2699a37 Copyright (c) 2000-2015 the FFmpeg  
developers

  built on Feb 24 2015 18:13:15 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --enable-gpl --enable-libmp3lame --enable-libvpx --enable-  
libx264 --enable-version3 --enable-libvorbis --enable-libfreetype --enable-  
libv4l2 --enable-libfdk-aac --enable-nonfree --enable-libpulse

  libavutil  54. 17.100 / 54. 17.100
  libavcodec 56. 20.100 / 56. 20.100
  libavformat56. 19.100 / 56. 19.100
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5.  8.101 /  5.  8.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging  
level) with argument 'debug'.
Reading option '-i' ... matched as input file with argument  
'udp://t420.netmaster.dk:8001'.
Reading option '-c' ... matched as option 'c' (codec name) with argument  
'copy'.

Reading option 'test.ts' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file udp://t420.netmaster.dk:8001.
Successfully parsed a group of options.
Opening an input file: udp://t420.netmaster.dk:8001.
[udp @ 0x1bff8c0] end receive buffer size reported is 131072
[mpegts @ 0x1c001c0] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x1c001c0] stream=0 stream_type=1b pid=100 prog_reg_desc=
[mpegts @ 0x1c001c0] Before avformat_find_stream_info() pos: 0 bytes read: 
9556 seeks:0
[h264 @ 0x1c25640] Current profile doesn't provide more RBSP data in PPS,  
skipping

Last message repeated 122 times
[mpegts @ 0x1c001c0] max_analyze_duration 500 reached at 500  
microseconds
[mpegts @ 0x1c001c0] After avformat_find_stream_info() pos: 197024 bytes  
read:198308 seeks:0 frames:122

Input #0, mpegts, from 'udp://t420.netmaster.dk:8001':
  Duration: N/A, start: 47.15, bitrate: N/A
 

[FFmpeg-user] Unknown URL Protocol

2015-04-08 Thread basanth alluri
Hi Team,

I download the ffmpeg in my linux machine.I am successfully build the
ffmpeg but i am getting the error in c file like unknown type name
URLProtocol.

I found the url.h file in libavformat folder. In that url.h file
URLProtocol function is there but in c program it is not included,so how to
include that file?.


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


Re: [FFmpeg-user] Muxing MPEG-TS into MP4 changes frame rate

2015-04-08 Thread Andy Pryor
I have not.  I would really like some opinions here.  Should copying codecs
and muxing from TS -> MP4 change frame rate and bitrate?  Is there any way
to get seeking to be consistent across containers?



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Muxing-MPEG-TS-into-MP4-changes-frame-rate-tp4669613p4669846.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffmpeg is slow to pick up udp

2015-04-08 Thread tim nicholson
On 08/04/15 15:27, Thomas Seilund wrote:
> Hi All
> 
> 

What has this to do with "[FFmpeg-user] Faster vp9" ?

If you want to start a new subject, then please start a new thread, do
*not* hijack an existing thread and simply change the Subject, it
confuses thread following email clients.

If you want a reply please repost as described above.


-- 
Tim.
Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] ffmpeg is slow to pick up udp

2015-04-08 Thread Thomas Seilund

Hi All

I have ffmpeg running in one instance streaming to udp on the local host

Ffmpeg is running in another instance, also on local host, and reads the  
stream from udp


Why does it take 5 - 10 sec for the second instance to pick up the udp  
stream ?


I seem to be getting a lot of "Current profile doesn't provide more RBSP  
data in PPS, skipping"




First instance - streaming to udp:

ffmpeg -loop 1 -re -i overlays/test.png -c libx264 -preset ultrafast -r 24 - 
pix_fmt yuv420p -g 1 -f mpegts udp://t420.netmaster.dk:8001
ffmpeg version N-69238-g2699a37 Copyright (c) 2000-2015 the FFmpeg  
developers

  built on Feb 24 2015 18:13:15 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --enable-gpl --enable-libmp3lame --enable-libvpx --enable- 
libx264 --enable-version3 --enable-libvorbis --enable-libfreetype --enable- 
libv4l2 --enable-libfdk-aac --enable-nonfree --enable-libpulse

  libavutil  54. 17.100 / 54. 17.100
  libavcodec 56. 20.100 / 56. 20.100
  libavformat56. 19.100 / 56. 19.100
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5.  8.101 /  5.  8.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  3.100 / 53.  3.100
Input #0, png_pipe, from 'overlays/test.png':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: png, rgb24, 86x106 [SAR 11811:11811 DAR 43:53], 25  
fps, 25 tbr, 25 tbn, 25 tbc

[libx264 @ 0x1ec90c0] using SAR=1/1
[libx264 @ 0x1ec90c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x1ec90c0] profile Constrained Baseline, level 1.0
Output #0, mpegts, to 'udp://t420.netmaster.dk:8001':
  Metadata:
encoder : Lavf56.19.100
Stream #0:0: Video: h264 (libx264), yuv420p, 86x106 [SAR 1:1 DAR  
43:53], q=-1--1, 24 fps, 90k tbn, 24 tbc

Metadata:
  encoder : Lavc56.20.100 libx264
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame=   10 fps=0.0 q=29.0 size=   7kB time=00:00:00.12 bitrate=  
469.2kbits/s

Past duration 0.639992 too large
Past duration 0.679985 too large
Past duration 0.719994 too large
Past duration 0.759987 too large
Past duration 0.75 too large
Past duration 0.839989 too large
Past duration 0.879997 too large
frame=   23 fps= 23 q=29.0 size=  27kB time=00:00:00.66 bitrate=  
336.1kbits/s

Past duration 0.919991 too large
Past duration 0.95 too large
Past duration 0.92 too large
frame=   36 fps= 24 q=29.0 size=  48kB time=00:00:01.20 bitrate=  
323.6kbits/s
frame=   48 fps= 24 q=29.0 size=  66kB time=00:00:01.70 bitrate=  
316.9kbits/s
frame=   60 fps= 24 q=29.0 size=  85kB time=00:00:02.20 bitrate=  
314.0kbits/s dup=0 drop=1
frame=   73 fps= 24 q=29.0 size= 105kB time=00:00:02.75 bitrate=  
312.3kbits/s dup=0 drop=1



Second instance reading from udp:

ffmpeg -loglevel debug -i udp://t420.netmaster.dk:8001 -c copy test.ts
ffmpeg version N-69238-g2699a37 Copyright (c) 2000-2015 the FFmpeg  
developers

  built on Feb 24 2015 18:13:15 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --enable-gpl --enable-libmp3lame --enable-libvpx --enable- 
libx264 --enable-version3 --enable-libvorbis --enable-libfreetype --enable- 
libv4l2 --enable-libfdk-aac --enable-nonfree --enable-libpulse

  libavutil  54. 17.100 / 54. 17.100
  libavcodec 56. 20.100 / 56. 20.100
  libavformat56. 19.100 / 56. 19.100
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5.  8.101 /  5.  8.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging  
level) with argument 'debug'.
Reading option '-i' ... matched as input file with argument  
'udp://t420.netmaster.dk:8001'.
Reading option '-c' ... matched as option 'c' (codec name) with argument  
'copy'.

Reading option 'test.ts' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file udp://t420.netmaster.dk:8001.
Successfully parsed a group of options.
Opening an input file: udp://t420.netmaster.dk:8001.
[udp @ 0x1bff8c0] end receive buffer size reported is 131072
[mpegts @ 0x1c001c0] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x1c001c0] stream=0 stream_type=1b pid=100 prog_reg_desc=
[mpegts @ 0x1c001c0] Before avformat_find_stream_info() pos: 0 bytes read: 
9556 seeks:0
[h264 @ 0x1c25640] Current profile doesn't provide more RBSP data in PPS,  
skipping

Last message repeated 122 times
[mpegts @ 0x1c001c0] max_analyze_duration 500 reached at 500  
microseconds
[mpegts @ 0x1c001c0] After avformat_find_stream_info() pos: 197024 bytes  
read:198308 seeks:0 frames:122

Input #0, mpegts, from 'udp://t420.netmaster.dk:8001':
  

Re: [FFmpeg-user] Faster vp9

2015-04-08 Thread Christian Ebert
* tim nicholson on Wednesday, April 08, 2015 at 08:03:52 +0100
> On 07/04/15 15:18, Matt Zagrabelny wrote:
>> On Mon, Apr 6, 2015 at 11:10 PM, Andrew Sinclair  
>> wrote:
>>> Does anyone have any suggestions for faster vp9 encoding?
>> 
>> I don't have the ffmpeg technical chops to analyze your command-line,
>> but I just came across a Google VP9 encoding guide:
>> 
>> https://sites.google.com/a/webmproject.org/wiki/ffmpeg/vp9-encoding-guide
>> 
>> Maybe that will be helpful.
> 
> I see it advises using 2 pass encoding with crf, which seems a bit odd
> to me given that "This (crf) provides maximum compression efficiency
> with a single pass" or is that only true of x264? I would have thought
> that it should be true for all coders that implement such a mode.

The wiki has it for vp8 as well:
https://trac.ffmpeg.org/wiki/Encode/VP8#VariableBitrate

Not sure what to make of it.

-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Faster vp9

2015-04-08 Thread tim nicholson
On 07/04/15 15:18, Matt Zagrabelny wrote:
> On Mon, Apr 6, 2015 at 11:10 PM, Andrew Sinclair  wrote:
>> Hi,
>>
>> Does anyone have any suggestions for faster vp9 encoding?
> 
> Hi Andrew,
> 
> I don't have the ffmpeg technical chops to analyze your command-line,
> but I just came across a Google VP9 encoding guide:
> 
> https://sites.google.com/a/webmproject.org/wiki/ffmpeg/vp9-encoding-guide
> 
> Maybe that will be helpful.
> 

I see it advises using 2 pass encoding with crf, which seems a bit odd
to me given that "This (crf) provides maximum compression efficiency
with a single pass" or is that only true of x264? I would have thought
that it should be true for all coders that implement such a mode.

> [...]

-- 
Tim.
Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user