[FFmpeg-user] ffplay not found

2014-10-10 Thread Ruoyu

Hi there,

Another question, after compiling, I cannot find out the executable 
ffplay. How to compile it?


Thanks.


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


Re: [FFmpeg-user] ffplay not found

2014-10-10 Thread Reindl Harald


Am 10.10.2014 um 12:33 schrieb Ruoyu:

Another question, after compiling, I cannot find out the executable
ffplay. How to compile it?


./configure --help




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


[FFmpeg-user] c:v copy - output file is empty, nothing was encoded

2014-10-10 Thread Peter Trompeter
hi all,

i've been trying to solve a strange problem but i'm not really getting 
anywhere, so i'm hoping to find an expert here ...
basic situation is i have a raw h264 encoded video and want to mux it into an 
mp4 container. no audio. no re-encoding.

so i do: ffmpeg -i snippet.h264 -r 25 -c:v copy snippet.mp4

however, this does not seem to work. error message: Output file is empty, 
nothing was encoded

what am I doing wrong?

sample file can be found at: 
http://s000.tinyupload.com/?file_id=78774328066008732903

thanks
peter

---
full cmdline + output for reference:

crs@vbox:~/data$ ffmpeg -i snippet.h264 -r 25 -c:v copy snippet.mp4
ffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the FFmpeg 
developers
  built on Apr 26 2014 18:52:58 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --arch=amd64 --disable-stripping --enable-avresample 
--enable-pthreads --enable-runtime-cpudetect 
--extra-version='7:1.2.6-1~trusty1' --libdir=/usr/lib/x86_64-linux-gnu 
--prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype 
--enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame 
--enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus 
--enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora 
--enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib 
--enable-gpl --enable-postproc --enable-libcdio --enable-x11grab 
--enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared 
--disable-static
  libavutil  52. 18.100 / 52. 18.100
  libavcodec 54. 92.100 / 54. 92.100
  libavformat54. 63.104 / 54. 63.104
  libavdevice53.  5.103 / 53.  5.103
  libavfilter 3. 42.103 /  3. 42.103
  libswscale  2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc52.  2.100 / 52.  2.100
[h264 @ 0x171c2c0] Stream #0: not enough frames to estimate rate; consider 
increasing probesize
[h264 @ 0x171c2c0] Estimating duration from bitrate, this may be inaccurate
Input #0, h264, from 'snippet.h264':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 1440x544, 25 fps, 
25 tbr, 1200k tbn, 50 tbc
Output #0, mp4, to 'snippet.mp4':
  Metadata:
encoder : Lavf54.63.104
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1440x544, 
q=2-31, 25 fps, 12800 tbn, 25 tbc
Stream mapping:
  Stream #0:0 - #0:0 (copy)
Press [q] to stop, [?] for help
frame=0 fps=0.0 q=-1.0 Lsize=   0kB time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters 
if used)



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


[FFmpeg-user] merged video fails to play

2014-10-10 Thread a b

I have a PNG image and a video file and I want to merge them together into one 
video file. All of the work should be done under Linux.
1. The PNG image has 1280x720 resolution and I converted it to *.mp4 file using 
the following command:
$ ffmpeg -loop 1 -r 24 -i image.png -t 00:00:05 -vcodec h264 -pix_fmt yuv420p 
-an image.mp4

2. The video was created via pipe using the following command (pay attention to 
its last line):
$ gource -s 2 --auto-skip-seconds 0.1 --file-idle-time 0 --max-files 500 
--multi-sampling --bloom-multiplier 0.9 \
--bloom-intensity 0.4 -1280x720 --stop-at-end --output-ppm-stream - history.xml 
\
| ffmpeg -y -r 24 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset 
ultrafast -pix_fmt yuv420p video.mp4

3. Then I merged them in one video. The list of input files:
$ cat files.txt
file 'image.mp4'
file 'video.mp4'

This command was used to concatenate the files:
$ ffmpeg -f concat -i files.txt -c:v copy result.mp4

This command printed the following message, not sure if it is important:
[concat @ 0xc83b90] Estimating duration from bitrate, this may be inaccurate

4. Finally, I open result video with mplayer. I see the first image for 5 
seconds, as expected. Then, when the second video should start, mplayer hangs 
and the following messages appear in the console:
[h264 @ 0x7f8e00260520]deblocking_filter_idc 16 out of range
[h264 @ 0x7f8e00260520]decode_slice_header error
[h264 @ 0x7f8e00260520]Missing reference picture, default is 65539
[h264 @ 0x7f8e00260520]Missing reference picture, default is 65539
...
[h264 @ 0x7f8e00260520]cabac_init_idc 32 overflow
[h264 @ 0x7f8e00260520]decode_slice_header error
[h264 @ 0x7f8e00260520]illegal reordering_of_pic_nums_idc
[h264 @ 0x7f8e00260520]decode_slice_header error
[h264 @ 0x7f8e00260520]abs_diff_pic_num overflow
...
[h264 @ 0x7f8e00260520]top block unavailable for requested intra mode at 3 0
[h264 @ 0x7f8e00260520]error while decoding MB 3 0, bytestream 2463
[h264 @ 0x7f8e00260520]number of reference frames (0+5) exceeds max (4; 
probably corrupt input), discarding one
[h264 @ 0x7f8e00260520]Cannot use next picture in error concealment
[h264 @ 0x7f8e00260520]concealing 3600 DC, 3600 AC, 3600 MV errors in P frame
[h264 @ 0x7f8e00260520]number of reference frames (0+5) exceeds max (4; 
probably corrupt input), discarding one
[h264 @ 0x7f8e00260520]Cannot use next picture in error concealment
[h264 @ 0x7f8e00260520]concealing 3571 DC, 3571 AC, 3571 MV errors in P frame
...
[h264 @ 0x7f8e00260520]top block unavailable for requested intra4x4 mode -1 at 
59 0
...
[h264 @ 0x7f8e00260520]deblocking_filter_idc 3 out of range
[h264 @ 0x7f8e00260520]decode_slice_header error
[h264 @ 0x7f8e00260520]Missing reference picture, default is 65536
[h264 @ 0x7f8e00260520]Missing reference picture, default is 65536
[h264 @ 0x7f8e00260520]Reference 5 = 4
[h264 @ 0x7f8e00260520]error while decoding MB 49 0, bytestream 50981
[h264 @ 0x7f8e00260520]Cannot use next picture in error concealment
[h264 @ 0x7f8e00260520]concealing 3600 DC, 3600 AC, 3600 MV errors in P frame


Any ideas what could be wrong?

Here is ffmpeg's info about my video files:

$ ffmpeg -i image.mp4
[h264 @ 0x8e2f40] Warning: not compiled with thread support, using thread 
emulation
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'image.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.33.100
Duration: 00:00:03.00, start: 0.00, bitrate: 46 kb/s
Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), 
yuv444p, 1280x720 [SAR 1260:1273 DAR 2240:1273], 41 kb/s, 29.97 fps, 29.97 tbr, 
11988 tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler

$ ffmpeg -i video.mp4
[h264 @ 0x15e7f30] Warning: not compiled with thread support, using thread 
emulation
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.33.100
Duration: 00:19:17.38, start: 0.00, bitrate: 2646 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), 
yuv420p, 1280x720, 2645 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
Metadata:
handler_name : VideoHandler

$ ffmpeg -i result.mp4
[h264 @ 0x119bf30] Warning: not compiled with thread support, using thread 
emulation
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'result.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.33.100
Duration: 00:19:22.46, start: 0.00, bitrate: 2635 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 
[SAR 1260:1273 DAR 2240:1273], 2634 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc 
(default)
Metadata:
handler_name : VideoHandler

ffmpeg info:
$ ffmpeg version 2.2.7
built on Oct 4 2014 16:07:27 with gcc 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 
--mandir=/usr/share/man --enable-shared 

[FFmpeg-user] FFmpeg licensing

2014-10-10 Thread Matus Novak
Hi,

I am developing open-source framework that is licensed under LPGL and it is
mainly focused on graphical usage. I am also developing addons for this
framework and one of which is video player that uses FFmpeg libraries.

My question is, if I compile shared FFmpeg libraries *without* parameters
--enable-gpl and --enable-nonfree to make it LGPL compatible, then am I
legally allowed to make DDLs available on framework`s git repository? If I
understood right, I also need to make the source code available on same
repository from which DLLs were compiled?

My last question. I am also making closed-source app that is using my
framework also with addon that uses FFmpeg libraries and clients will not
be charged for this app. In order to ship the application I also need to
ship FFmpeg DLLs with exe in order to make app properly working. I am only
using shared libraries, not static. Do I need to include FFmpeg lib source
code into application? If yes, would it be OK if I only provided link to
repository (in which DLLs with source code and my framework are) inside
app`s readmy file?

Thank you.

with regards,
Matus Novak
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] Help : Stream video using FFMPEG from client side

2014-10-10 Thread venky v
I have setup a ffmpeg and I'm streaming a file from localhost to rtmp
server.
What i need is to stream a file from the client PC.

i.e., I am hosting ffmpeg on the server and i need my web application to
streams the file from the client PC to the rtmp server. Is it possible?
 I don't want to upload the entire file to my server because sometime the
files are from a live feed (mixer studio outputs)
-- 
VENKY
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] FFmpeg licensing

2014-10-10 Thread Reindl Harald


Am 09.10.2014 um 18:07 schrieb Matus Novak:

I am developing open-source framework that is licensed under LPGL and it is
mainly focused on graphical usage. I am also developing addons for this
framework and one of which is video player that uses FFmpeg libraries.

My question is, if I compile shared FFmpeg libraries *without* parameters
--enable-gpl and --enable-nonfree to make it LGPL compatible, then am I
legally allowed to make DDLs available on framework`s git repository? If I
understood right, I also need to make the source code available on same
repository from which DLLs were compiled?


if you use --enable-gpl you need to follow the GPL
if you use --enable-nonfree the binary is *undistributeable*

at the end you need to consult a laywer, this is the wrong place
there is a good reason why you find only sources on the official page

patent issues and so on.



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


Re: [FFmpeg-user] merged video fails to play

2014-10-10 Thread Carl Eugen Hoyos
a b microspam at list.ru writes:

 $ ffmpeg -loop 1 -r 24 -i image.png -t 00:00:05 
 -vcodec h264 -pix_fmt yuv420p -an image.mp4

 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'image.mp4':
 Duration: 00:00:03.00, start: 0.00, bitrate: 46 kb/s
 Stream #0:0(und): Video: h264 (High 4:4:4 Predictive)

It is very unlikely that above command (that requests 4:2:0) 
was used to produce the input file (that has 4:4:4).

You can only use concat on two videos with the same (very 
similar) properties, ie you need the same pix_fmt for both 
input videos.

Carl Eugen

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


Re: [FFmpeg-user] Right audio channel shifted

2014-10-10 Thread Carl Eugen Hoyos
Alex doenerbudenchef-at-yahoo.de at ffmpeg.org writes:

[...]

Since this is apparently not clear:
This is not the ffmbc user mailing list.
(FFmpeg != ffmbc)

Carl Eugen

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


Re: [FFmpeg-user] Right audio channel shifted

2014-10-10 Thread Alex
Thats absolutely clear, but I want to use ffmpeg to solve that issue.

Alex



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Right-audio-channel-shifted-tp4667730p4667732.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] ffplay not found

2014-10-10 Thread Ruoyu

Thanks. It works!

On 2014年10月10日 19:36, Moritz Barsnick wrote:

On Fri, Oct 10, 2014 at 13:09:45 +0200, Reindl Harald wrote:

Another question, after compiling, I cannot find out the executable
ffplay. How to compile it?

./configure --help

What that doesn't tell you though is that you need libsdl, and it needs
to be found, in order to have ffplay included in the build. You need
SDL-devel or libsdl1.2-dev or whatever it may be called on your
distribution.

You also need some other libs, notably X11 libs, as the note in this
document hints:

https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu#GettheDependencies


[...] ffplay and x11 dependencies: libsdl1.2-dev libva-dev
libvdpau-dev libx11-dev libxext-dev libxfixes-dev

(These package names are for Ubuntu. The RedHat/Fedora/CentOS wiki page
isn't so clear about this.)

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