Re: [FFmpeg-user] fMP4 generation speed

2018-06-26 Thread Carl Zwanzig
On 6/26/2018 9:20 PM, Ronak wrote: The temp files are made in the CWD. And they are constantly created and destroyed for every single fragment it seems. I looked into the ffmpeg code and it looks like every single method in hlsenc and dashenc opens and closes these file handles. I would like to

Re: [FFmpeg-user] fMP4 generation speed

2018-06-26 Thread Gyan Doshi
On 27-06-2018 09:50 AM, Ronak wrote: Just to clarify, I'm making a single fMP4 file here; not multiple. Just to confirm. Test with the MP4 muxer and create a fragmented MP4 to check speed. Regards, Gyan ___ ffmpeg-user mailing list

Re: [FFmpeg-user] ff_frame_thread_encoder_init failed when run via PHP exec

2018-06-26 Thread André Hänsel
> I ran ffmpeg with ulimit -a but it comes back with unrecognized option 'a' Not ffmpeg, just "ulimit -a". It will show you the current resource limits that are set in that environment. PHP might set some and then you will see it in the output. ___

Re: [FFmpeg-user] fMP4 generation speed

2018-06-26 Thread Ronak
> On Jun 25, 2018, at 6:03 PM, Carl Zwanzig wrote: > > On 6/25/2018 2:41 PM, Carl Eugen Hoyos wrote: >> 2018-06-25 15:02 GMT+02:00, Ronak: >>> 1. Apple does not create temp files >> Isn't that generally a disadvantage? > > Why would it be (not creating temp files)? Seems sensible from here. >

Re: [FFmpeg-user] ff_frame_thread_encoder_init failed when run via PHP exec

2018-06-26 Thread Robert Wilkin
Running it with -threads 1 in the terminal works but with PHP I get the same error: ffmpeg version 4.0.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2018 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 configuration: --enable-gpl

Re: [FFmpeg-user] ff_frame_thread_encoder_init failed when run via PHP exec

2018-06-26 Thread Robert Wilkin
Sorry for the delay in reply. I ran ffmpeg with ulimit -a but it comes back with unrecognized option 'a' It does that with both PHP and terminal. ffmpeg version 4.0.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2018 the FFmpeg developers built with gcc 6.3.0 (Debian

Re: [FFmpeg-user] ffmpeg support smb protocols

2018-06-26 Thread Reindl Harald
Am 27.06.2018 um 02:59 schrieb Wang Kiven: > hi ffmpeg, > samba source need me download for samba.org website or just use ffmpeg > source ./libavformat/libsmbclient ? logically from samba.org ./libavformat/libsmbclient is just the consumer code using libsmbclient and when you compile something

Re: [FFmpeg-user] ffmpeg support smb protocols

2018-06-26 Thread Wang Kiven
hi ffmpeg, samba source need me download for samba.org website or just use ffmpeg source ./libavformat/libsmbclient ? 2018-06-27 1:20 GMT+08:00 Reindl Harald : > > > Am 26.06.2018 um 14:33 schrieb Wang Kiven: > > i did install libsmbclient-dev package on my Ubuntu System > > you are *cross

Re: [FFmpeg-user] Getting started: how to enable filters

2018-06-26 Thread Carl Eugen Hoyos
2018-06-21 12:10 GMT+02:00, Carl Eugen Hoyos : > 2018-06-21 12:07 GMT+02:00, Todd Van Horne : >> I got ffmpeg installed and path set, command line runs but I get >> the error: >> >> "Unrecognized option 'libvidstab' >> Error splitting the argument list: Option not found" > > When asking for help

Re: [FFmpeg-user] make slideshow ?

2018-06-26 Thread Carl Eugen Hoyos
2018-06-26 23:28 GMT+02:00, mikeB : > In trying to create a slideshow - using the cmd line: > > ffmpeg -f concat -safe 0 -i temp_file.txt -c copy slide_show.avi (Complete, uncut console output - for the failing case - missing.) > works well (as does with .mp4 & .mov) BUT will NOT create the > >

Re: [FFmpeg-user] "Smoothing" RTSP over wlan

2018-06-26 Thread Carl Eugen Hoyos
2018-06-25 9:15 GMT+02:00, Michael Fritscher : > Scenario: Using RTSP over wlan to get video from a webcam, > using the lib itself. Sounds like wrong mailing list: http://ffmpeg.org/contact.html#MailingLists > the WLAN has the characteristic to "pause" for e.g. 300 ms, > and send all the data

Re: [FFmpeg-user] kmsgrab on Intel 8th generation aka h/w accelerated screen capture

2018-06-26 Thread Carl Eugen Hoyos
2018-06-26 3:41 GMT+02:00, Kai Hendry : > Or is there some other format that is safe to record to that FCPX will > be able to grok even if abruptly terminated? Did you test mpegts? Please do not top-post here, Carl Eugen ___ ffmpeg-user mailing list

Re: [FFmpeg-user] make slideshow ?

2018-06-26 Thread Taner Sener
I tried the following scripts. They create videos but they are very slow compared to libx264. Other than that, I didn't have any problems. ffmpeg -y -f concat -safe 0 -i tempFile.txt -codec:v libtheora -qscale:v 4 slide_show.ogv ffmpeg -y -f concat -safe 0 -i tempFile.txt -c:v libvpx-vp9

Re: [FFmpeg-user] make slideshow ?

2018-06-26 Thread mikeB
In trying to create a slideshow - using the cmd line: ffmpeg -f concat -safe 0 -i temp_file.txt -c copy slide_show.avi works well (as does with .mp4 & .mov) BUT will NOT create the video to .webm or .ogv format. Here is what my "tempFile.txt" looks like - file

Re: [FFmpeg-user] ff_frame_thread_encoder_init failed when run via PHP exec

2018-06-26 Thread Carl Eugen Hoyos
2018-06-23 13:39 GMT+02:00, rwilkin : > I am trying to create a thumbnail image from a video with PHP. This is the > command I am using: > > "/home2/public_html/ffmpeg/ffmpeg" -i > "/home2/public_html/ffmpeg/SampleVideo.mp4" -ss 00:00:01.000 -vframes 1 -y >

Re: [FFmpeg-user] Multithread AAC encoding

2018-06-26 Thread Carl Eugen Hoyos
2018-06-26 14:46 GMT+02:00, Gabriele Greco : > As subject says, it's possible to encode AAC multithread? I don't think so but FFmpeg supports several aac encoders with different settings, so it may be possible to improve performance. > ffmpeg -threads 0 -i input.mp3 -acodec aac -ab 96000 > -ar

Re: [FFmpeg-user] bitmap-subtitle in stream

2018-06-26 Thread Carl Eugen Hoyos
2018-06-26 19:57 GMT+02:00, Thomas Schmiedl : > For a test, I exported a bitmap-subtitle in "Subtitle Edit" and run this > ffmpeg (git-version) command: > > ffmpeg -i > http://62.113.210.250/medienasa-live/_definst_/mp4:punktum_high/playlist.m3u8 > -i sub.idx -i sub.sub -map 0:v -map 0:a -c copy

Re: [FFmpeg-user] Converting .trm files ("ForTheRecord") -- force AAC decoding?

2018-06-26 Thread Carl Eugen Hoyos
2018-06-26 20:07 GMT+02:00, John A Hawkinson : > Here's complete uncut console output from a naive attempt: > > pb3:CR24 jhawk$ ffmpeg -c:a aac $t1 t1.wav For future tries using FFmpeg, the syntax is: $ ffmpeg -i input output So, if FFmpeg would support AAC celp, it would be: $ ffmpeg -c:a aac

Re: [FFmpeg-user] Converting .trm files ("ForTheRecord") -- force AAC decoding?

2018-06-26 Thread John Hawkinson
> Please provide a sample input file if possible. http://mit.edu/jhawk/tmp/t1.trm Thanks! --jh...@mit.edu John Hawkinson ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link

Re: [FFmpeg-user] Converting .trm files ("ForTheRecord") -- force AAC decoding?

2018-06-26 Thread Lou Logan
On Tue, Jun 26, 2018, at 10:07 AM, John A Hawkinson wrote: > > How can I tell ffmpeg to attempt to use its AAC decoder? I feel like I'm > missing something obvious, but maybe I've successfully told it to do so > and the AAC decoder is not happy (maybe it's encrypted?). Please provide a sample

[FFmpeg-user] Converting .trm files ("ForTheRecord") -- force AAC decoding?

2018-06-26 Thread John A Hawkinson
I got some courtroom audio files today that are .trm files, which are apparently a semi-proprietary format produced by software called ForTheRecord. Living on a Mac, I would like to play them and convert them without using their proprietary Windows software (doesn't work under Wine) or their

Re: [FFmpeg-user] bitmap-subtitle in stream

2018-06-26 Thread Thomas Schmiedl
Am 21.06.2018 um 12:09 schrieb Carl Eugen Hoyos: 2018-06-21 11:44 GMT+02:00, Thomas Schmiedl : Am 16.06.2018 um 19:03 schrieb Carl Eugen Hoyos: 2018-06-16 18:56 GMT+02:00, Thomas Schmiedl : I use ffmpeg on a router to restream a DASH-stream

Re: [FFmpeg-user] ffmpeg support smb protocols

2018-06-26 Thread Reindl Harald
Am 26.06.2018 um 14:33 schrieb Wang Kiven: > i did install libsmbclient-dev package on my Ubuntu System you are *cross compiling* while the "libsmbclient-dev" is for your running system! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] x11grab segfault when display is closed

2018-06-26 Thread Moritz Barsnick
On Tue, Jun 26, 2018 at 09:04:15 -0500, Matt Garman wrote: > I am the original poster. Is the content in the previous email email > sufficient, or shall I work on generating more debug info? Assuming it's the same issue for you - you can use my given commands to check, if you happen to have

Re: [FFmpeg-user] x11grab segfault when display is closed

2018-06-26 Thread Matt Garman
On Tue, Jun 26, 2018 at 6:48 AM Moritz Barsnick wrote: > Without providing that (too lazy, and I'm not the original poster), I > can tell you that I can reporduce this, and it happens in this code in > libavdevice/xcbgrab.c:xcbgrab_read_packet(): > (...) I am the original poster. Is the

Re: [FFmpeg-user] ffmpeg support smb protocols

2018-06-26 Thread Taner Sener
You should do the same things you do when you try to build ffmpeg; - set your toolchain paths, - set CC, CXX, LD, AS, AR variables - set CFLAGS, CXXFLAGS, LDFLAGS - in samba source directory run ./configure with parameters similar to these; ./configure \ --prefix= --with-pic \

[FFmpeg-user] Multithread AAC encoding

2018-06-26 Thread Gabriele Greco
As subject says, it's possible to encode AAC multithread? Using fdk-aac on ffmpeg 3.4.x at the moment, but I can upgrade to 4.x or switch aac encoder if it allows it. ffmpeg -threads 0 -i input.mp3 -acodec aac -ab 96000 -ar 44100 -ac 2 test_encode.aac ...still uses a single CPU for the encoding

Re: [FFmpeg-user] ffmpeg support smb protocols

2018-06-26 Thread Wang Kiven
hi Tanner Sener i'm sorry,i'm an Android Developer, and i don't know how to build libsmbclient, i just use my NDK tools : /data/ijkplayer/ijkplayer/android/contrib/build/ffmpeg-armv7a/toolchain/bin//arm-linux-androideabi-gcc ./libavformat/libsmbclient.c it build error and error log is that:

Re: [FFmpeg-user] ffmpeg support smb protocols

2018-06-26 Thread Wang Kiven
hi ffmpeg, i did install libsmbclient-dev package on my Ubuntu System. and then i do the same action on another computer. it also build error. and i use your provided cmd : then it also build error error log : ERROR: frei0r.h header not found 2018-06-26 17:50 GMT+08:00 DopeLabs : > open a new

Re: [FFmpeg-user] x11grab segfault when display is closed

2018-06-26 Thread Moritz Barsnick
On Tue, Jun 26, 2018 at 00:35:19 +0200, Carl Eugen Hoyos wrote: > > # ./ffmpeg -an -f x11grab -framerate 10 -video_size 1280x1024 -i :13 > > /tmp/cap.mp4 > > However, if ffmpeg is still running when the display (:13 in the above > > command) is closed, ffmpeg segfaults. > > Please provide

Re: [FFmpeg-user] ffmpeg support smb protocols

2018-06-26 Thread Taner Sener
You are cross-compiling for arm-linux-androideabi toolchain. You need to cross-compile libsmbclient source first, with the same toolchain. Then you must put .pc (package-config) file of libsmbclient where ffmpeg's configure can find it (in PKG_CONFIG_PATH directory), or add libsmbclient include

Re: [FFmpeg-user] ff_frame_thread_encoder_init failed when run via PHP exec

2018-06-26 Thread André Hänsel
> > It works perfectly when I log in to the console via putty and run it. But > > when I run it via exec() in PHP it always comes back with > > ff_frame_thread_encoder_init failed Error initializing output stream 0:0 -- > > Error while opening encoder for output stream #0:0 - maybe incorrect > >

Re: [FFmpeg-user] ffmpeg support smb protocols

2018-06-26 Thread DopeLabs
open a new shell or screen and run configure again. ~/github/ffmpeg $ ./configure --enable-shared --enable-gpl --enable-nonfree --enable-avresample --enable-avisynth --enable-gnutls --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libflite --enable-libfontconfig

Re: [FFmpeg-user] ffmpeg support smb protocols

2018-06-26 Thread Wang Kiven
and i use system platform is ubuntu16.04 and then i did install libsmbclient-dev library. 2018-06-26 17:23 GMT+08:00 Wang Kiven : > hi manager, >i'm building ffmpeg so library for android. and now , i find my ffmpeg > so library don't support play video from smb address. so, i recompile the

[FFmpeg-user] ffmpeg support smb protocols

2018-06-26 Thread Wang Kiven
hi manager, i'm building ffmpeg so library for android. and now , i find my ffmpeg so library don't support play video from smb address. so, i recompile the ffmpeg project and add config : --enable-libsmbclient, but it build error :error info : ERROR : smbclient not find.can you give me help?