[FFmpeg-user] av_interleaved_write_frame(): Broken pipe with drawtext
Hi, I'm having trouble getting ffserver & ffmpeg working with drawtext. I receive the error "av_interleaved_write_frame(): Broken pipe" and then ffmpeg stops. ffserver configuration: > HTTPPort 80 > > HTTPBindAddress 0.0.0.0 > > MaxClients 10 > > MaxBandwidth 500 > > > > > File /tmp/ffstuff/feed0.ffm > > FileMaxSize 10M > > > > > > > #File /tmp/ffstuff/feed0.ffm > > Feed webcam.ffm > > Format flv > > VideoSize 320x240 > > VideoFrameRate 30 > > VideoBitRate 200 > > VideoBufferSize 20 > > #NoAudio > > AudioChannels 1 > > AudioSampleRate 11025 > > VideoQMin 1 > > VideoQMax 10 > > #NoDefaults > > > > > > > Format status > > > ffmpeg command: ffmpeg -v debug -f alsa -ac 2 -i hw:1 -f video4linux2 -i /dev/video0 -r 30 -s 320x240 -filter_complex "drawtext=fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf: text='text'" http://localhost/webcam.ffm ffmpeg output: > ffmpeg version N-78843-g1c7e2cf Copyright (c) 2000-2016 the FFmpeg > developers > > built with gcc 4.9.2 (Raspbian 4.9.2-10) > > configuration: --enable-libfreetype --enable-libfontconfig > --enable-libfribidi > > libavutil 55. 19.100 / 55. 19.100 > > libavcodec 57. 27.101 / 57. 27.101 > > libavformat57. 27.100 / 57. 27.100 > > libavdevice57. 0.101 / 57. 0.101 > > libavfilter 6. 37.100 / 6. 37.100 > > libswscale 4. 0.100 / 4. 0.100 > > libswresample 2. 0.101 / 2. 0.101 > > Splitting the commandline. > > Reading option '-v' ... matched as option 'v' (set logging level) with > argument 'debug'. > > Reading option '-f' ... matched as option 'f' (force format) with argument > 'alsa'. > > Reading option '-ac' ... matched as option 'ac' (set number of audio > channels) with argument '2'. > > Reading option '-i' ... matched as input file with argument 'hw:1'. > > Reading option '-f' ... matched as option 'f' (force format) with argument > 'video4linux2'. > > Reading option '-i' ... matched as input file with argument '/dev/video0'. > > Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, > fraction or abbreviation)) with argument '30'. > > Reading option '-s' ... matched as option 's' (set frame size (WxH or > abbreviation)) with argument '320x240'. > > Reading option '-filter_complex' ... matched as option 'filter_complex' > (create a complex filtergraph) with argument > 'drawtext=fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf: > text='babypi''. > > Reading option 'http://localhost/webcam.ffm' ... matched as output file. > > Finished splitting the commandline. > > Parsing a group of options: global . > > Applying option v (set logging level) with argument debug. > > Applying option filter_complex (create a complex filtergraph) with > argument > drawtext=fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf: > text='babypi'. > > Successfully parsed a group of options. > > Parsing a group of options: input file hw:1. > > Applying option f (force format) with argument alsa. > > Applying option ac (set number of audio channels) with argument 2. > > Successfully parsed a group of options. > > Opening an input file: hw:1. > > [alsa @ 0x2cf73a0] All info found > > Guessed Channel Layout for Input Stream #0.0 : stereo > > Input #0, alsa, from 'hw:1': > > Duration: N/A, start: 1457398685.941241, bitrate: 1024 kb/s > > Stream #0:0, 1, 1/100: Audio: pcm_s16le, 32000 Hz, 2 channels, > s16, 1024 kb/s > > Successfully opened the file. > > Parsing a group of options: input file /dev/video0. > > Applying option f (force format) with argument video4linux2. > > Successfully parsed a group of options. > > Opening an input file: /dev/video0. > > [video4linux2,v4l2 @ 0x2d01eb0] fd:3 capabilities:8421 > > [video4linux2,v4l2 @ 0x2d01eb0] Current input_channel: 0, input_name: > Camera 1, input_std: 0 > > [video4linux2,v4l2 @ 0x2d01eb0] Querying the device for the current frame > size > > [video4linux2,v4l2 @ 0x2d01eb0] Setting frame size to 320x240 > > [video4linux2,v4l2 @ 0x2d01eb0] The V4L2 driver changed the pixel format > from 0x32315559 to 0x56595559 > > [video4linux2,v4l2 @ 0x2d01eb0] Trying to set codec:rawvideo > pix_fmt:yuv420p > > [video4linux2,v4l2 @ 0x2d01eb0] The V4L2 driver changed the pixel format > from 0x32315559 to 0x56595559 > > [video4linux2,v4l2 @ 0x2d01eb0] Trying to set codec:rawvideo > pix_fmt:yuv420p > > [video4linux2,v4l2 @ 0x2d01eb0] The V4L2 driver changed the pixel format > from 0x32315659 to 0x56595559 > > [video4linux2,v4l2 @ 0x2d01eb0] Trying to set codec:rawvideo > pix_fmt:yuv422p > > [video4linux2,v4l2 @ 0x2d01eb0] The V4L2 driver changed the pixel format > from 0x50323234 to 0x56595559 > > [video4linux2,v4l2 @ 0x2d01eb0] Trying to set codec:rawvideo > pix_fmt:yuyv422 > > [video4linux2,v4l2 @ 0x2d01eb0] All info found > > Input #1, video4linux2,v4l2, from '/dev/video0': > > Duration: N/A, start: 79423.600411, bitrate: 36864 kb/s > > Stream #1:0, 1, 1/100: Video: rawvideo, 1 reference frame (YUY2 / > 0x32595559),
[FFmpeg-user] audio noise filtering
Hi, I know almost nothing about audio filtering, and I wanted to better understand more about it. I would like to filter out some low level hum/noise from an mp4 file (h264/aac) and I understand there are different types of filters, for example, a noise gate. Can someone provide me with different configurations (command line syntax) for noise filtering that I can experiment on the mp4 file and see the results? If it helps, the video is a recording from a church service (kind of like an auditorium type location), and I was looking for ways to enhance the audio. Any help is appreciated thanks Ricardo ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Overlay one subtitle stream and copy another
Hans Carlson inbox.com> writes: > In fact, it appears the fifo for the subtitle stream isn't > needed, because this works as well: > >'[0:v]fifo[vid];[vid][0:3]overlay` Yes, I thought so. > My test file is only 22 secs long... is there a chance I'd > need the fifo on the subtitle stream if I'm processing > something longer? Sorry, I don't know;-( (But it should be trivial to test.) > I'm not really sure what the fifo filter is doing or why > it's needed, I suspect it is related to the fact that not all parts of the pipeline operate with the same speed (or that some parts are too greedy), in any case, fifo is buffering frames so they don't get lost. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Overlay one subtitle stream and copy another
On Mon, 7 Mar 2016, Carl Eugen Hoyos wrote: I suspect the stream specifiers [0:v] and [0:3] ensure that fifo is not used. I am not sure what the correct usage is but you could try '[0:v}fifo[v];[0:3]fifo[o];[v][o]overlay` (untested) Thanks, that seems to work. No more buffer overflow warnings and it plays fine without any video pauses. In fact, it appears the fifo for the subtitle stream isn't needed, because this works as well: '[0:v]fifo[vid];[vid][0:3]overlay` My test file is only 22 secs long... is there a chance I'd need the fifo on the subtitle stream if I'm processing something longer? I'm not really sure what the fifo filter is doing or why it's needed, since it only seems to be needed if I'm trying to overlay a subtitle stream AND copy a subtitle stream. But, in this case, the subtitle stream I'm copying has nothing to do with the subtitle stream which is overlayed on the video. Any additional enlightenment would be appreciated. If you have no further info, then thanks for the suggestion since it appears to fix the problem. FYI. The 2nd example in my original post -- copying and overlaying the SAME subtitle stream -- also seems to work with this approach: '[0:v]fifo[vid];[vid][0:2]overlay' ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Converting SDP/RTP files to WAV
kongslund.net> writes: > $ ffmpeg -loglevel debug -i input.sdp -i input.rtp output.wav I am sorry but I don't understand: There should be exactly one input and one output in your command line: Either ffmpeg -i input.sdp out.wav or ffmpeg -i input.rtp out.wav rtp normally looks this: ffmpeg -i rtp://127.0.0.1:991 out.wav not sure about sdp... Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] FFmpeg Intel icl compile (configure) issue
NoMercy gmail.com> writes: > > My next suggestion is to test the following (one line): > > /bin/sh -c "icl -nologo -Qdiag-error:4044,10157 -D_USE_MATH_DEFINES > > -Qms0 -Qvec- -Qsimd- -GS -fp:precise -c -Fo./test.o ./test.c" > still no errors. There should be an icl option for verbose mode, you can either patch configure to use it or pass it as part of the --cc option to configure. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Overlay one subtitle stream and copy another
Hans Carlson inbox.com> writes: > I changed my original command to use this filter_complex: > >-filter_complex 'fifo; [0:v][0:3]overlay' I suspect the stream specifiers [0:v] and [0:3] ensure that fifo is not used. I am not sure what the correct usage is but you could try '[0:v}fifo[v];[0:3]fifo[o];[v][o]overlay` (untested) Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] size and bitrate issues with nvidia accelerated transcoding
Hi Sreenath, On Mon, Mar 07, 2016 at 22:28:32 +0530, Sreenath BH wrote: > As can be seen the two outputs differ in the H264 profile(High vs > Main), bitrate, the pixel format and of course the file sizes. Different encoders can have different defaults. It appears that nvenc defaults to "Main", while libx264 defaults to preset "medium" which apparently implies "High" (but might depend on other things). If you want the same profiles and levels, you will need to request them explicitly. The same thing goes for the quality: libx264 defaults to crf=23, I don't know about nvenc. Furthermore, encoders can trade off quality (or size) for conversion speed. So if you want the same size, you have to specify "-b:v" explicitly. If you want the same quality, I guess you may have to experiment with the settings available to find something comparable. And finally, don't expect the same results as soon as you have the same profile, levels and bitrate (or quality). One encoder will be more efficient than the other, or give different results in different scene scenarios. Does this clarify some things? Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Overlay one subtitle stream and copy another
On Mon, 7 Mar 2016, Carl Eugen Hoyos wrote: Hans Carlson inbox.com> writes: Buffer queue overflow, dropping. You can use the fifo filter to avoid these, it will increase memory usage. Probably I'm doing something wrong, but adding the fifo filter didn't help. I'm not exactly sure how/where I should be using it. I changed my original command to use this filter_complex: -filter_complex 'fifo; [0:v][0:3]overlay' I still see the buffer overflow warnings. But the problem isn't just that I see these warnings, the problem is the resulting video doesn't play correctly. At a couple points, the video stalls and the audio continues for several seconds, then the video skips ahead. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] size and bitrate issues with nvidia accelerated transcoding
On 3/7/16, Carl Eugen Hoyoswrote: > Sreenath BH gmail.com> writes: > >> Should I rerun the ffmprg command without the "loglevel quiet" >> and report the output? > > Yes, please. > >> Please suggest. The input file is rather large, and ffmpeg > < console output is likely to be very long. > > Then cut the repeating lines in the middle of the console > output (if you cannot increase your console window size > which would likely make the output much smaller). > > Please do not top-post here! > > Carl Eugen > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > Hi, I hope I have got it right this time. Here is the output from ffmpeg as well as ffprobe. Input file: [ec2-user@ip-172-21-13-223 tmp]$ ll /tmp/large.mp4 -rw-r- 1 ec2-user ec2-user 320677736 Mar 2 23:29 /tmp/large.mp4 ffprobe output on input file: [ec2-user@ip-172-21-13-223 tmp]$ ffprobe /tmp/large.mp4 ffprobe version 3.0.git Copyright (c) 2007-2016 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4) configuration: --prefix=/opt/mediaserver/build/ffmpeg_build --extra-cflags=-I/opt/mediaserver/build/ffmpeg_build/include --extra-ldflags=-L/opt/mediaserver/build/ffmpeg_build/lib --bindir=/usrdata/mediaserver/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libx264 --enable-libvorbis --enable-libvpx --enable-nvenc --extra-cflags=-I../cudautils --extra-ldflags=-L../cudautils --enable-nonfree libavutil 55. 18.100 / 55. 18.100 libavcodec 57. 24.103 / 57. 24.103 libavformat57. 25.100 / 57. 25.100 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 32.100 / 6. 32.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc54. 0.100 / 54. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/large.mp4': Metadata: major_brand : mp42 minor_version : 1 compatible_brands: mp42mp41 creation_time : 2013-11-15 18:04:27 Duration: 01:49:12.30, start: 0.00, bitrate: 391 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 768x432 [SAR 1:1 DAR 16:9], 292 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc (default) Metadata: creation_time : 2013-11-15 18:04:27 handler_name: Apple Video Media Handler Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default) Metadata: creation_time : 2013-11-15 18:04:27 handler_name: Apple Sound Media Handler -- Running ffmpeg with libx264 codec root@ip-172-21-13-223:/tmp/legacy# ffmpeg -i /tmp/large.mp4 -c:a aac -c:v libx264 -pix_fmt yuv420p -movflags +faststart large-libx264.mp4 ffmpeg version 3.0.git Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4) configuration: --prefix=/opt/mediaserver/build/ffmpeg_build --extra-cflags=-I/opt/mediaserver/build/ffmpeg_build/include --extra-ldflags=-L/opt/mediaserver/build/ffmpeg_build/lib --bindir=/usrdata/mediaserver/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libx264 --enable-libvorbis --enable-libvpx --enable-nvenc --extra-cflags=-I../cudautils --extra-ldflags=-L../cudautils --enable-nonfree libavutil 55. 18.100 / 55. 18.100 libavcodec 57. 24.103 / 57. 24.103 libavformat57. 25.100 / 57. 25.100 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 32.100 / 6. 32.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc54. 0.100 / 54. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/large.mp4': Metadata: major_brand : mp42 minor_version : 1 compatible_brands: mp42mp41 creation_time : 2013-11-15 18:04:27 Duration: 01:49:12.30, start: 0.00, bitrate: 391 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 768x432 [SAR 1:1 DAR 16:9], 292 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc (default) Metadata: creation_time : 2013-11-15 18:04:27 handler_name: Apple Video Media Handler Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default) Metadata: creation_time : 2013-11-15 18:04:27 handler_name: Apple Sound Media Handler [libx264 @ 0x3aee420] using SAR=1/1 [libx264 @ 0x3aee420] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0x3aee420] profile High, level 3.0 [libx264 @ 0x3aee420] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
Re: [FFmpeg-user] Accurate Trimming Without Transcoding
I'm not suggesting to throw away the frames. Keep the frames but set an appropriate start time. That way the "trimmed" frames would be decoded but not displayed. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Accurate Trimming Without Transcoding
Please see below ... www.macfh.co.uk/CEMH.html > Is it possible to achieve frame accurate trimming of clips without > transcoding? > > e.g. if I have a 50 fps file with a fixed gop of 50 frames > and I'd like to > trim the first 24 frames without transcoding. Shouldn't ffmpeg simply > generate a remuxed file with a startTime of 0.48s and a > duration adjusted > accordingly? > > Is this possible to achieve? I too have this problem. Say you want to save one particular clip from a programme such as Singer-Songwriters On The BBC, inevitably what happens is that either you have some of the previous clip at the beginning, or you cut short the introduction to the song that is wanted. As Carl has pointed out, it is not possible just to throw away the leading frames, but what could be done, and would be very useful, is, where codec copying has been seleceted, to re-encode only the leading frame, and to copy the rest without re-encoding, and this would allow frame accurate editing of clips. If, as I suppose, it is not already possible to do this, I suggest it as a possible enhancement to the programme. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Failed to build ffmpeg for iOS due to GNU assembler not found
Mallikharjuna Rao krify.net> writes: > I have downloaded gas-preprocessor.pl from the link > (http://github.com/yuvi/gas-preprocessor/ ) Please use https://github.com/FFmpeg/gas-preprocessor > and copy it to /opt/local/bin I always copy it into /usr/local/bin Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Failed to build ffmpeg for iOS due to GNU assembler not found
Hello Team: I want to build ffmpeg iOS by installing mac ports on mac mini in OSX10.11.3 using xcode 7.2.1, I have downloaded gas-preprocessor.pl from the link (http://github.com/yuvi/gas-preprocessor/ ) and copy it to /opt/local/bin and run to make the all files. But failed with message: GNU assembler not found, install/update gas-preprocessor What is wrong with my building process? Please help, thanks! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] size and bitrate issues with nvidia accelerated transcoding
Sreenath BH gmail.com> writes: > Should I rerun the ffmprg command without the "loglevel quiet" > and report the output? Yes, please. > Please suggest. The input file is rather large, and ffmpeg < console output is likely to be very long. Then cut the repeating lines in the middle of the console output (if you cannot increase your console window size which would likely make the output much smaller). Please do not top-post here! Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Accurate Trimming Without Transcoding
Robert Nagy gmail.com> writes: > if I have a 50 fps file with a fixed gop of 50 frames and > I'd like to trim the first 24 frames without transcoding. Sorry if I misunderstand: If all frames from the second to 49th depend on the first frame you cannot cut away the first 24 frames: It would make the remaining 25 frames of the first gop unreadable. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] size and bitrate issues with nvidia accelerated transcoding
Hi Carl, Should I rerun the ffmprg command without the "loglevel quiet" and report the output? Please suggest. The input file is rather large, and ffmpeg console output is likely to be very long. thanks, Sreenath On 3/7/16, Carl Eugen Hoyoswrote: > Carl Eugen Hoyos ag.or.at> writes: > >> Sreenath BH gmail.com> writes: >> >> > ffmpeg -i large.mp4 -loglevel quiet -c:a aac -c:v nvenc >> > -pix_fmt yuv420p -movflags +faststart out.mp4 >> >> Always provide the complete, uncut console output when >> asking for support here. > > Sorry, I forgot: Never use -loglevel quiet except if > you want to report an issue with the loglevel option. > > Carl Eugen > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] size and bitrate issues with nvidia accelerated transcoding
Carl Eugen Hoyos ag.or.at> writes: > Sreenath BH gmail.com> writes: > > > ffmpeg -i large.mp4 -loglevel quiet -c:a aac -c:v nvenc > > -pix_fmt yuv420p -movflags +faststart out.mp4 > > Always provide the complete, uncut console output when > asking for support here. Sorry, I forgot: Never use -loglevel quiet except if you want to report an issue with the loglevel option. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] size and bitrate issues with nvidia accelerated transcoding
Sorry. Here is the unedited output from ffprobe. -- Original file (source file) root@ip-172-21-13-223:/tmp# ffprobe large.mp4 ffprobe version 3.0.git Copyright (c) 2007-2016 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4) configuration: --prefix=/opt/mediaserver/build/ffmpeg_build --extra-cflags=-I/opt/mediaserver/build/ffmpeg_build/include --extra-ldflags=-L/opt/mediaserver/build/ffmpeg_build/lib --bindir=/usrdata/mediaserver/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libx264 --enable-libvorbis --enable-libvpx --enable-nvenc --extra-cflags=-I../cudautils --extra-ldflags=-L../cudautils --enable-nonfree libavutil 55. 18.100 / 55. 18.100 libavcodec 57. 24.103 / 57. 24.103 libavformat57. 25.100 / 57. 25.100 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 32.100 / 6. 32.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc54. 0.100 / 54. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'large.mp4': Metadata: major_brand : mp42 minor_version : 1 compatible_brands: mp42mp41 creation_time : 2013-11-15 18:04:27 Duration: 01:49:12.30, start: 0.00, bitrate: 391 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 768x432 [SAR 1:1 DAR 16:9], 292 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc (default) Metadata: creation_time : 2013-11-15 18:04:27 handler_name: Apple Video Media Handler Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default) Metadata: creation_time : 2013-11-15 18:04:27 handler_name: Apple Sound Media Handler ffprobe output for libx264 encoded file: root@ip-172-21-13-223:/tmp/legacy/1# ffprobe large.transcoded.mp4 ffprobe version 3.0.git Copyright (c) 2007-2016 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4) configuration: --prefix=/opt/mediaserver/build/ffmpeg_build --extra-cflags=-I/opt/mediaserver/build/ffmpeg_build/include --extra-ldflags=-L/opt/mediaserver/build/ffmpeg_build/lib --bindir=/usrdata/mediaserver/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libx264 --enable-libvorbis --enable-libvpx --enable-nvenc --extra-cflags=-I../cudautils --extra-ldflags=-L../cudautils --enable-nonfree libavutil 55. 18.100 / 55. 18.100 libavcodec 57. 24.103 / 57. 24.103 libavformat57. 25.100 / 57. 25.100 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 32.100 / 6. 32.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc54. 0.100 / 54. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'large.transcoded.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.25.100 Duration: 01:49:12.30, start: 0.023220, bitrate: 383 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 768x432 [SAR 1:1 DAR 16:9], 245 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default) Metadata: handler_name: VideoHandler Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default) Metadata: handler_name: SoundHandler - ffprobe output from nvenc codec produced file: root@ip-172-21-13-223:/tmp/nvidia/1# ffprobe large.transcoded.mp4 ffprobe version 3.0.git Copyright (c) 2007-2016 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4) configuration: --prefix=/opt/mediaserver/build/ffmpeg_build --extra-cflags=-I/opt/mediaserver/build/ffmpeg_build/include --extra-ldflags=-L/opt/mediaserver/build/ffmpeg_build/lib --bindir=/usrdata/mediaserver/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libx264 --enable-libvorbis --enable-libvpx --enable-nvenc --extra-cflags=-I../cudautils --extra-ldflags=-L../cudautils --enable-nonfree libavutil 55. 18.100 / 55. 18.100 libavcodec 57. 24.103 / 57. 24.103 libavformat57. 25.100 / 57. 25.100 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 32.100 / 6. 32.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc54. 0.100 / 54. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'large.transcoded.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.25.100 Duration: 01:49:12.30, start: 0.023220, bitrate: 789 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 768x432 [SAR 1:1 DAR 16:9], 654 kb/s, 30 fps, 30 tbr,
Re: [FFmpeg-user] documentation in spanish
juan carlos Rebate gmail.com> writes: > Is there somewhere you can find updated documentation > in Spanish? Most likely not. > the questions raised here have not had good answers Did you consider that some of the questions (like yours) are not really "good" and therefore very difficult or impossible to answer? > and official documentation is confusing Please send patches (made with git format-patch) to improve the documentation! We apparently do not find it confusing, I hope you can imagine that we did not spend free time to intentionally write confusing documentation. > and incomplete, See above, feel free to point us to incomplete documentation but ideally you would fix it. > including blogs and websites I don't know of any blogs that contain FFmpeg documentation the documentation is part of the source code, for your (and our) convenience it is also provided on ffmpeg.org. > in Spanish do not provide documentation updated There is something that I don't understand about this whole request: If you believe that the documentation is both confusing and incomplete and if we can agree that at least some of the developers do not speak Spanish how would it be possible that there is Spanish FFmpeg documentation somewhere that is better than the existing (English) documentation? Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] size and bitrate issues with nvidia accelerated transcoding
Sreenath BH gmail.com> writes: > ffmpeg -i large.mp4 -loglevel quiet -c:a aac -c:v nvenc > -pix_fmt yuv420p -movflags +faststart out.mp4 Always provide the complete, uncut console output when asking for support here. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] capturing television rtp
juan carlos Rebate gmail.com> writes: > my Internet provider also offers me television (rtp), I have used > ffmpeg to capture a documentary with a duration of one hour, > transmitted atraves of one of these channels. > I have tried to preserve the codec of video and the quality, have > tried to select the audio codec like mp3, I have tried to eliminate > the audio track that was not of interest and have tried to eliminate > the subtitles track to reduce the size of the file, nevertheless I > obtain multiple bugs that I believe they are related to the audio, > > >ffmpeg -i imput1.ts -vcodec libxvid -b:v 2282 -acodec mp3 > -ac 0 -sn output1.avi You write in your subject that you need support with rtp but your command line does not relate to rtp (afaict). You write above that you tried to preserve the video codec but your command line contains "-vcodec libxvid". You write that you get "multiple bugs related to audio" but you don't explain what kind of bugs you get. I don't think "-ac 0" can have any useful effect. > I have realized the input of the following departure: And I don't understand this sentence. I don't think it is easily possible to give "good answers" no matter how often I read your mail. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Overlay one subtitle stream and copy another
Hans Carlson inbox.com> writes: > Buffer queue overflow, dropping. You can use the fifo filter to avoid these, it will increase memory usage. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user