[Ffmpeg-devel-irc] ffmpeg.log.20141115

burek burek021 at gmail.com
Sun Nov 16 02:05:01 CET 2014


[00:13] <danomite-> c_14, here's the bug report: https://trac.ffmpeg.org/ticket/4110
[07:05] <aleb> I'm using deshake=edge=0 and I get a green margin - how can I make it black?
[08:49] <vity> How do you troubleshoot a codec appearing in the configuration list, but no the -codecs list?
[08:51] <vity> I.e. when I do ./configure --enable-libfdk_aac, it tells me libfdk_aac is enabled, but ffmpeg -codecs | grep fdk doesn't show anything, and trying to encode with it says "Unknown encoder"
[09:04] <relaxed> vity: make sure you're using the correct binary. what does "which ffmpeg" return?
[09:05] <vity> relaxed: /usr/local/bin/ffmpeg , but I get the same problem running ffmpeg from the compilation directory
[09:07] <relaxed> ffmpeg -codecs|grep aac
[09:07] <vity> shows aac and aac_latm
[09:07] <vity> only aac has the encode flag though
[09:09] <relaxed> run configure again and post your config.log somewhere
[09:12] <vity> http://privatepaste.com/download/af6ddcbf7a
[09:13] <relaxed> ok, now run make
[09:14] <relaxed> then run "./ffmpeg -codecs|grep aac"  (the ./ is important)
[09:15] <vity> that's what I was doing when I said "from the compilation directory", but make just returns a list of HTML and MAN files since I didn't clean it after the last time
[09:16] <vity> It still just has aac and aac_latm
[09:17] <vity> The one message I get that might help, is up at the top it says "WARNING: library configuration mismatch", but googling that makes it sound inconsequential
[09:24] <relaxed> vity: run "LD_LIBRARY_PATH=/usr/local/lib ./ffmpeg -codecs|grep aac"
[09:26] <vity> relaxed: still just aac and aac_latm, but without the configuration warning
[09:26] <relaxed> are you following this guide? https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
[09:27] <vity> vaguely. I'm in arch instead of ubuntu, but otherwise pretty much the same
[09:28] <relaxed> follow the guide
[12:54] <kaotiko> hi
[12:55] <pagios> hi all, i want to serve an offline video file on apache, for some reason loading the file in my videoplayer works fine but cannot seek unless the video file buffers in the player, any idea how to provide a seeking (youtube like where you can jump in into different time frame and play from that point in time) ?
[12:56] <relaxed> pagios: which video container?
[12:56] <pagios> relaxed: mp4
[12:57] <relaxed> did you use "-movflags faststart" or qtfaststart?
[12:57] <pagios> yes
[12:57] <pagios> do you have any mp4 file samepl file working with seeking?
[12:57] <pagios> i can then compare
[12:58] <relaxed> hmm, are you using a flashplayer?
[12:58] <relaxed> or html5?
[12:59] <pagios> relaxed: flash[player for RTMP and html5 for hls
[13:00] <pmallek> hmm http://pl.wikipedia.org/wiki/HTML5_video#cite_note-3 is this real? i need only mp4 (H.264) to cover all browsers?
[13:01] <t4nk877> Hi guys - I'm trying to run ffmpeg on modulus.io (node.js), and I keep running into an error "spawn ENOENT". From what I understand this means that the path to ffmpeg can't be found. Is this the *only* reason that I would be getting this error? Thx in advance :)
[13:02] <t4nk877> (*it works fine on my local machine btw)
[13:03] <pagios> relaxed: do you have any working mp4 sample file to share?
[13:04] <relaxed> pagios: I do not, sorry. Streaming isn't really in my wheelhouse.
[13:04] <danomite> I have ffmpeg outputing an rtp stream via multicast, on the other end I have rtpdump listening and outputting info about the stream, I have found several instances where the timestamp goes in reverse, does it seem to be related to this bug: https://trac.ffmpeg.org/ticket/4110#comment:6
[13:14] <Wader8> hello
[13:14] <Wader8> can ffmpeg stream rtsp from rtmp in live mode ?
[13:15] <danomite> yes
[13:15] <Wader8> then I don't need any temporary huge files on disk right ?
[13:15] <Wader8> but it's not a space problem
[13:16] <danomite> I've only been able to get ffmpeg to publish stream to an rtmp server, no intermediate files
[13:16] <Wader8> it's a bit convoluted i had to use all kinds of steps, basically, the RTMP stream comes from the web, and i'd like to play it on a nokia phone with accepts only rtsp with plain-mp4
[13:17] <Wader8> well i have to set up a RTSP server myself right ?  .. total newbie when it comes to this
[13:18] <Wader8> althought i've done some research with HSL because i am still not able to find a program to dump those stupid adobe flash segmented streams
[13:18] <danomite> I've only used rtmp successfuly with the nginx plugin
[13:18] <Wader8> maybe you have an idea about that ?
[13:18] <Wader8> oh btw im on win7
[13:18] <danomite> Are you serving from win7?
[13:19] <Wader8> can you give me a few pointers what should I search for ... what's this Wowza thing i keep getitng across
[13:21] <Wader8> those m3u8 streams I haven't found a way to download, it says it's a 2GB file, it let's me only download a few megs, or about 14 seconds, and i've sniffed for some settings that kind of streaming and tried to use URL tricks to change parameters but i was unsuccessful at changing the timing that controled the 14 sec cutoff
[13:21] <Wader8> segmented whatever, but that's unrelated
[13:21] <Wader8> no I'm not streaming anything at the moment
[13:21] <Wader8> I just got into this, been planing for a few days
[13:22] <Wader8> here's the deal, the source is RTMP and it's from the web, externally
[13:23] <Wader8> i need to caputre that, conver it to a visual-mp4 that older nokia phones can handle and stream that via RTSP from my Win7 PC over my Wireless router
[13:23] <danomite> I haven't been successful at serving rtsp
[13:23] <Wader8> the conversion process would also involve resizing ... etc to fit nokia mp4 specs
[13:25] <Wader8> i was just trying to find out if there's an easier solution, the obvious it's just to dump the RTMP with RTMPDUMP, conver the live with ffmpeg, stream with another program, but the problem is it has to be live, ffmpeg would need to keep reading the file as new data is being written
[13:25] <Wader8> and i don't think it'll recognize that unless it's assigned a protocol to get it into live mode
[13:25] <Wader8> the source is live
[13:25] <Wader8> it's not vod, it's not rewindable
[13:26] <danomite> I've run into live555 proxy server which can serve rtsp but I've only worked with it a couple hours today on linux
[13:26] <Wader8> but it does have like a 5 second cache
[13:26] <danomite> did you ever just consider using hls paramters to limit the size of your local files?
[13:27] <Wader8> Sorry I don't understand that question
[13:27] <Wader8> that HLS talk is unrelated sorry i mixed it up with this
[13:27] <danomite> Just an FYI, HLS can create a "loop"ed playlist
[13:30] <Wader8> not sure what that means
[13:30] <Wader8> i am not the owner of the RTMP stream, it's external
[13:30] <Wader8> it's a show on the web, not my stuff
[13:31] <Wader8> i'll show you what rtmpdump writes into the file
[13:32] <Wader8> http://pastie.org/private/sfvymcsi77gkuy3vktsw
[13:36] <danomite> Is that the original source of the stream?
[13:36] <Wader8> ofcourse
[13:38] <Wader8> at the time the show is live, i usually go exercise and I don't like to be sitting on the PC doing nothing just listening for 3 hours ... that's why I use a cell phone to get internet radio via wireless
[13:39] <Wader8> but the audio quality is better on the video stream so I thought I might just use some good software to get me some RTSP on that phone, it would be easier if I had a smartphone, but I don't like them and even if I would I don't have the extra money since I spend it on more imporant things
[13:41] <Wader8> nokia is E72 .. i think it's a 16:9 screen so that would be easier to convert than to square one that I got previously
[13:43] <Wader8> oh, by the way, it's live only once a day, even tho the streaming is 24/7 - those are all rebroadcasts
[13:43] <Wader8> so you get the video now but it just a repeat
[13:47] <Wader8> it's the Real Player that handles RTSP on nokia, i'll fetch those specs, but maybe i come across a alternative video player for the device but that's a low chance
[13:47] <Wader8> the codec is Visual-MP4 , not AVC (h264)
[13:50] <Wader8> actually i might have found some conflicting info, i only got this phone a few days ago as I had N79 for many years
[13:52] <Wader8> some overview http://www.techradar.com/reviews/phones/mobile-phones/nokia-e72-680833/review/7
[13:53] <Wader8> not sure google search throws out some other supporting formats
[13:53] <Wader8> i need to check directly with realplayer on there for what's actually the deal
[14:01] <Wader8> more specifically the mp4 subtype is MP4V-ES
[14:02] <Wader8> that's the format is says it is on nokia, the video from web i converted with Any Video Converter Ultimate specifically setting to "nokia MP4" profile
[14:26] <Wader8> Anyways can anyone tell me what's the point of HLS and this whole Segmented streaming ?
[14:27] <Wader8> that makes dumping, DLing a rewindable stream basically impossible without some utilities I  may not know about
[14:30] <c_14> dumping an hls stream is easy: ffmpeg -i http://foobar/baz.m3u8 out.mpegts
[14:31] <klaxa> it's also nice for adaptive streaming, mobile devices, connection roaming, etc.
[14:32] <c_14> And for not being flash
[14:33] <Wader8> thanks
[14:33] <Wader8> do you guys have any idea on the rewindable streams, i mentioned it before, one of them had a 14 hour cache ... news networks like to use this
[14:34] <Wader8> can I dump that 14 hours all in one file too ?
[14:34] <Wader8> well that's where the problem many times
[14:35] <Wader8> it's that it isn't always identified as a m3u8 stream imo, not in the url at least
[14:36] <Wader8> im mostly using GetFLV to get the source links, worked fine so i haven't been using anything else
[14:36] <Wader8> one of the links looked like this: http://livestream-f.akamaihd.net/9033656_3137612_c50787c5_1_678@16885?v=3.0.3&fp=WIN%2015,0,0,189&r=YSMHH&g=OHXIDQNYJVMU&seek=187&transferToken=oL+uZ4oZ&session=AQBWOiKmBRa/10jkSlRWwG2mj8RfyuPrV8TBdMcw/3UBzWkOC0wIllvOOy8va1pi4DauBPcj
[14:37] <Wader8> that particular one is Komo News
[14:49] <c_14> I found the m3u8 for that stream.
[14:49] <Wader8> found those specs
[14:49] <Wader8> http://developer.nokia.com/community/wiki/Recommended_video_encoding_settings
[14:49] <c_14> But they have some weird auth-shit going on.
[14:49] <Wader8> well you'd used some kind of utility right, i couldn't get through, i tried manipulating URL tags to start downloading from the beginning of the cached stream
[14:50] <Wader8> couldn't get past the 15 sec segment cuttoff, the downloaders report filesize as 2GB, but only downloads like 4 Megs before "size mismatch"
[14:51] <Wader8> this pesky streaming is usually on the large CDN providers etc, and akamai ofcourse
[14:57] <Popara> Hello i'm rrying to embed subtitles in a movie ith this command:
[14:57] <Wader8> i forgot to say you might get rid of that token and session id because it's like a week old and i think that's part of the auth stuff even tho the links worked without the tokens and session id when just raw DLing
[14:57] <Popara> ffmpeg -i movie.avi -sub_charenc UTF-8 -i subtitles.srt -scodec mov_text -acodec copy -vcodec copy -f mp4 output.mp4
[14:58] <Popara> The process is working fine, no errors, however when i start the movie in my player subtitles arenotworking and the video codec is messed up a bit
[14:58] <Wader8> the token and session seem to be added after stream start playing, the first link GetFLV throws out doesn't have much of those params after ?v
[14:58] <c_14> Wader8: I went directly to the komo news site, clicked on live streaming and went looking for the url from there, but haven't been able to make the auth work correctly.
[14:58] <Wader8> yeah exactly ofcourse i should have gave you that link too
[14:58] <c_14> Popara: what player are you using?
[14:59] <Popara> VLC
[14:59] <Popara> does the mov_text only works when the input movie is mp4?
[14:59] <Popara> cause i tried with an mp4 movie and it worked
[15:06] <c_14> It should work regardless.
[15:06] <Popara> wait
[15:07] <Wader8> guys
[15:07] <Wader8> trying with VLC
[15:07] <Wader8> streaming RTSP
[15:07] <Popara> http://pastebin.com/sk4rw5dp
[15:07] <Wader8> what do I need to enter in out URL
[15:08] <Wader8> rtsp://:8445/mystream
[15:08] <Wader8> i only want to use it on my own home network
[15:08] <Wader8> rtsp://localhost:8445/mystream
[15:08] <Wader8> is that OK ?
[15:08] <Wader8> because im under router, do i need port forward ?
[15:08] <Wader8> VLC doesn't specify the full url
[15:09] <Wader8> or I just put the ip of my DCHP
[15:10] <Wader8> dhcp
[15:10] <c_14> Put the address where you want to get the stream to go. (probably)
[15:11] <c_14> Popara: hmm, can't see anything wrong with that
[15:11] <Popara> Yes told you, i dont see any errors either
[15:11] <Wader8> i'll try my internal IP
[15:11] <Popara> but in the target video subtitles are not working w8 i will take a screenshot
[15:11] <c_14> Can you try with mplayer/mpv ? Or some other media player?
[15:12] <Popara> ok w8
[15:16] <Popara> no subtitles are not working with any other player either
[15:17] <Popara> When is the time to show some subtitles then the video freezes
[15:17] <Popara> then the same again...
[15:17] <Popara> i will convert the movie to mp4 and then i will try the above command again, i think with mp4 it worked somehow wait
[15:19] <Popara> no the same happened
[15:20] <Popara> :/
[15:24] <c_14> I just tested with a random avi and a random srt file I had laying around on my pc and it worked.
[15:24] <Popara> can i give you a movie and the srt files to test it?
[15:24] <c_14> sure
[15:31] <Wader8> damn VLC gets an encoder error when i try to stream a file that's being dumped by rtmpdump such a pity
[15:33] <Wader8> VLC plays the file normally though
[15:33] <Wader8> on it's own
[15:37] <Wader8> well im a bit closer seems like there's some connection, ddwrt reports destination ip as the gateway
[15:37] <Wader8> connection is still UNREPLIED, but nokia at least gives me "cannot play file"
[15:38] <Wader8> ... and it's getting time for me to hit the bed ... ah i won't be finishing today :(
[17:33] <wickwire> hi, I've been reading online but haven't found a concrete solution: is it possible to add an "fps" watermark to an encoded stream with filters, and if so, how?
[17:33] <wickwire> thanks in advance
[17:41] <relaxed> wickwire: you mean frame count?
[17:42] <wickwire> yes that's it
[17:42] <wickwire> I'd just like to be able to add a frame count
[17:42] <wickwire> every second perhaps
[17:42] <wickwire> hmmm now that I think about it, maybe I shouldn't be doing it on the actual video,
[17:43] <wickwire> I mean,
[17:43] <wickwire> I'm streaming the video
[17:43] <wickwire> and I'm comparing LAN and internet performance
[17:43] <wickwire> considering the network CPE upload
[17:43] <wickwire> to the internet
[17:44] <wickwire> perhaps if I write the actual fps on the video, it won't be totally reliable reaching the player...?
[17:44] <relaxed> sounds like that would be the player's job
[18:34] <ffmpegor> hi im trying to use ffmpeg on my android and i used ffmpeg media encoder and ffmpeg4 android and both are crashing after a while during h264 encoding and iget no error message
[18:34] <ffmpegor> my android is 4.1.1 and processor is omap
[18:35] <ffmpegor> is it impossible to run ffmpeg on the omap processor without crashing troubles?
[20:06] <biofool> anyone have working code to stream a webcam I want to show it on a web page for remote viewing application
[20:06] <biofool> Ubunut 14.04
[20:07] <biofool> ffmpeg -f video4linux2 -s 640x480 -i /dev/video0  http://localhost:8090/feed1.ffmcat is getting close
[20:08] <biofool> except is say Missing audio stream which is required by this ffm
[20:10] <biofool> I don't care about the sound is there a way to provide a null sound input?
[20:10] <Mavrik> well do you have audio defined in your ffserver configuration?
[20:10] <Mavrik> set NoAudio.
[20:12] <biofool> Yes I'm using https://www.virag.si/2012/11/streaming-live-webm-video-with-ffmpeg/
[20:13] <biofool> So in the Stream block one line command NoAudio
[20:13] <biofool> or is it set NoAudio
[20:16] <biofool> hmmm  I set
[20:16] <biofool> <Feed feed1.ffm>               # This is the input feed where FFmpeg will send
[20:16] <biofool>    NoAudio
[20:17] <biofool> same error
[20:31] <c_14> biofool: add -f lavfi -i aevalsrc=0
[20:34] <biofool> c_14:  --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x2862418} ---
[20:34] <biofool> +++ killed by SIGSEGV +++
[20:34] <biofool> Segmentation fault
[20:34] <biofool> Really explosive :^)
[20:34] <c_14> In ffmpeg or in ffserver?
[20:35] <biofool>  ffmpeg -f lavfi -i aevalsrc=0 -f video4linux2 -s 640x480 -i /dev/video0  http://localhost:8090/feed1.ffm
[20:38] <biofool> fflogger:  that's the exact command.  output was those 2 lines
[20:39] <c_14> Didn't even print a version?
[20:39] <c_14> And ffloger is a bot.
[20:39] <biofool> my bad.  No there was more
[20:39] <biofool> too many windows
[20:40] <biofool> http://pastie.org/9721628 is command and output
[20:43] <c_14> Try with -af aevalsrc=0 instead
[20:47] <biofool> tnx.  I rebuilt from the latest source  now "ffmpeg -f lavfi -i aevalsrc=0 -f video4linux2 -s 640x480 -i /dev/video0  http://localhost:8090/feed1.ffm"
[20:47] <biofool>  works.
[20:52] <biofool> except if I stream ogg I get a player but no video shows up
[20:54] <biofool> where do you "add '-strict -2' if you want to use" The encoder 'vorbis' is experimental but experimental
[20:56] <biofool> like so? ffmpeg -f lavfi -i aevalsrc=0 -f video4linux2 -s 640x480 -i /dev/video0  -strict -2 http://localhost:8090/feed1.ffm
[20:57] <biofool> Now: Stream mapping:
[20:57] <biofool>   Stream #0:0 -> #0:0 (pcm_f64le (native) -> vorbis (native))
[20:57] <biofool>   Stream #1:0 -> #0:1 (rawvideo (native) -> h263p (native))
[20:57] <biofool> Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[21:01] <biofool> does this look right      VideoCodec h263p
[21:01] <biofool>    VideoSize 720x576           # Video resolution
[21:01] <biofool>    VideoFrameRate 9
[21:01] <c_14> 0:0 is the vorbis stream
[21:03] <Wader8> guys is VLC using internal ffmpeg for it's streaming ?
[21:04] <Wader8> or i'll have to go ask them
[21:04] <Wader8> im doing the RTMP to RTSP thingy
[21:04] <Wader8> I've made at least some progress
[21:04] <BtbN> vlc uses ffmpeg only as optional de/encoder plugin.
[21:06] <Wader8> I dumped RTMP with RTMPDUMP, Streamed the file using VLC as a Visual MP4, got it to work, but the audio's not working, even tho i tried the exact same source configs, and then tried the MP4 Nokia Specs and it didn't work ... I did select AAC sound, but the Nokia Specs has MP4 AAC LC, that LC thing im not sure what is
[21:06] <Wader8> and VLC doesn't have the LC thingy at the end
[21:06] <Wader8> but anyway i'll have to go there and see what I can do with VLC and maybe i'll just have to come back to ffmpeg if it doesn't work
[21:07] <Wader8> because, i can see, it's disconnecting every 20 seconds
[21:07] <Wader8> without sound i couldn't figure out of it's repeating or it's continuing where it left, but disconnecting every 20 secs is unacceptable
[21:12] <biofool> c_14:  now I see "Codec bitrates do not match for stream" from ffserver
[21:12] <c_14> pastebin your ffserver.conf and commandline please
[21:15] <biofool> http://pastie.org/private/umpi69jv9eyfpyhmia
[21:16] <c_14> your ffserver.conf file?
[21:18] <biofool> repasted + confi http://pastie.org/private/rsf6o7weio6llz28ieibow
[21:19] <c_14> Well, you commented out the audio settings.
[21:20] <biofool> right when I was debugging the audio issue
[21:21] <c_14> Also, you should probably get rid of the +global_header
[21:22] <c_14> And h263p won't work in webm
[21:26] <biofool> OK.  what codecs can I use in webm?
[21:27] <c_14> vp8, vp8, vorbis, opus
[21:27] <c_14> vp9
[21:27] <c_14> Aaaand, that's basically it.
[21:28] <biofool> Error reading configuration file '/etc/ffserver.conf': Invalid argument
[21:28] <biofool> I meant /etc/ffserver.conf:25: Unknown VideoCodec: vorbis
[21:29] <c_14> vorbis isn't a video codec
[21:29] <biofool>   /etc/ffserver.conf:25: Unknown VideoCodec: vp9
[21:29] <c_14> You might have to write libvpx-vp9
[21:30] <c_14> And vp9 isn't really that good for streaming.
[21:31] <c_14> Because it's reeeeally slow.
[21:32] <biofool> I'd be so glad to get something working that I could tweeklater I'm fine with slow
[21:33] <biofool> so ffserver -codecs|grep vp8
[21:33] <biofool> so ffserver -codecs|grep vp9
[21:33] <biofool> shows ffserver version N-67694-gdcb10ef Copyright (c) 2000-2014 the FFmpeg developers
[21:33] <biofool>   built on Nov 15 2014 11:40:19 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[21:33] <biofool>   configuration:
[21:33] <biofool>   libavutil      54. 11.100 / 54. 11.100
[21:33] <biofool>   libavcodec     56. 12.101 / 56. 12.101
[21:33] <biofool>   libavformat    56. 12.103 / 56. 12.103
[21:33] <biofool>   libavdevice    56.  3.100 / 56.  3.100
[21:33] <biofool>   libavfilter     5.  2.103 /  5.  2.103
[21:33] <biofool>   libswscale      3.  1.101 /  3.  1.101
[21:33] <biofool>   libswresample   1.  1.100 /  1.  1.100
[21:33] <biofool>  D.V.L. vp9                  Google VP9
[21:33] <c_14> Did you not build with libvpx ?
[21:34] <biofool> I did a default build
[21:34] <c_14> You should probably rebuild with libvpx and preferably also libvorbis
[21:35] <Popara> Hello, i'm trying whole day to combine multiple video files together and i can't. It must be FFmpeg issue. I'm trying the concat demuxer using ffmpeg -f concat mylist.txt out.mp4 and it just fails whenever it goes to the second video no matter what the video is
[21:36] <biofool> do you know the specific options or where I find them?
[21:36] <c_14> Pastebin your mylist.txt the ffmpeg output and an ffprobe of the first 2 videos
[21:36] <Popara> ok
[21:36] <c_14> biofool: hmm? --enable-libvpx --enable-libvorbis
[21:37] <biofool> vorbis is listed as an enabled decoder from ./configure
[21:37] <biofool> so is vp9
[21:37] <c_14> You want the encoder.
[21:37] <c_14> Not the decoder
[21:39] <Popara> http://pastebin.com/Jkdt1MCX
[21:39] <Popara> The 1.mp4 & 2.mp4 are different, the first one is ~23:06 minutes and the other one is only some seconds. You will notice that FFmpeg at the end it says 44 minutes both files which is out of range
[21:40] <biofool> ERROR: libvpx decoder version must be >=0.9.1 so I should build from https://chromium.googlesource.com/webm/libvpx?
[21:40] <Popara> the 1.mp4 and 2.mp4 are using exactly the same codec as i transcoded them first
[21:40] <Popara> In the last command if i use the '-re' i get many errors at the end which are not shown there for some reason without the 0re
[21:42] <c_14> biofool: probably
[21:42] <c_14> Popara: 2 things, the fps isn't the same in both videos. That might be an issue. Also the first audio stream is stereo the second is 5.1, that might be an issue.
[21:43] <c_14> Test with -an and then with -vn
[21:43] <c_14> See if either works.
[21:44] <Popara> like that?  ffmpeg -f concat -i mylist.txt -an out.mp4
[21:44] <c_14> yep
[21:44] <Popara> what -an does and -vn remind me,
[21:45] <c_14> no audio/no video
[21:45] <Popara> ah yea
[21:45] <Popara> ok i have to wait a bit until it finish
[21:48] <Popara> c_14: with -an it said again time=00:44:08.08 which is too much
[21:48] <c_14> But did it finish?
[21:49] <Popara> yeah no errors
[21:50] <Popara> c_14: i just cp the 2.mp4 (the 1minute video) 2 times, so i had 2.mp4 and 3.mp4
[21:50] <Popara> i then used the concat and it worked fine
[21:50] <Popara> so they have to be exactly the same in their codecs right?
[21:51] <c_14> yep
[21:51] <Popara> well thats an issue now because i want to join more than 10 files. Is there any way to transcode them all in the same way somehow
[21:51] <c_14> yes
[21:52] <c_14> ffmpeg -i video -r 25 -s [size] -c:v [codec] outfile
[21:52] <c_14> That should do it.
[21:52] <c_14> Probably.
[21:52] <c_14> Maybe.
[21:52] <c_14> eh
[21:52] <c_14> You'll also need the audio foo
[21:53] <Popara> cant this be done in the concat command? For example
[21:53] <Popara> ffmpeg -f concat -i mylist.txt -r 25 -vcodec libx264 -acodec aac -strict -2 out.mp4
[21:53] <Popara> and do it there and not before?
[22:02] <Popara> c_14: there is a concat filter which says that combine video files with different codecs
[22:02] <Popara> https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20(join,%20merge)%20media%20files
[22:02] <Popara> I assume this is what we want
[22:02] <Popara> i will try now
[22:03] <Popara> i like the way it started
[22:03] <Popara> Stream mapping:
[22:03] <Popara>   Stream #0:0 (h264) -> concat:in0:v0
[22:03] <Popara>   Stream #0:1 (aac) -> concat:in0:a0
[22:03] <Popara>   Stream #1:0 (h264) -> concat:in1:v0
[22:03] <Popara>   Stream #1:1 (aac) -> concat:in1:a0
[22:03] <Popara>   concat:out:v0 -> Stream #0:0 (libx264)
[22:03] <Popara>   concat:out:a0 -> Stream #0:1 (libfaac)
[22:07] <biofool> OK   have libvpx installed and now ffserver is OK with VideoCodec libvpx
[22:07] <biofool> but
[22:07] <biofool>  ffmpeg -f lavfi -i aevalsrc=0 -f video4linux2 -s 640x480 -i /dev/video0  -strict -2 http://localhost:8090/feed1.ffm
[22:07] <biofool>  gives the same error message
[22:07] <biofool> [vorbis @ 0x340ac00] Current FFmpeg Vorbis encoder only supports 2 channels.
[22:07] <c_14> use libvorbis
[22:07] <biofool> Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[22:09] <Popara> c_14 wohoo it worked! And i was also able to combine different type of containers like avi,mp4,mpg with different type of codecs
[22:09] <Popara> i dont know what that does exactly but it worked
[22:24] <Wader8> any idea if ffmpeg makes MP4 VISUAL subtype as ES when streaming RTSP automatically
[22:24] <Wader8> streamed MP4 Visual is usually identified as MP4V-ES
[22:25] <Wader8> c:a is copy, but i need c:v conversion from AVC to MP4 Visual
[22:37] <UnderSampled> Is there a way to filter the -codecs list by what pixel formats they support?
[22:38] <UnderSampled> rather, I want to filter by codecs supporting mono or grey pixel formats
[22:41] <Wader8> what exactly does the -bufsize do
[22:41] <Wader8> i forgot
[22:41] <Wader8> my video is 640x360 with 416k bitrate
[22:42] <Wader8> but it's live streaming, in case of network lag id like any kinds of buffers to be sufficient enough
[22:42] <Wader8> i set mux_delay to 10 secs
[22:43] <danimal-> c_14, I'm using rtpdump to get info off a stream from the same source we were talking about yesterday, it does go backwards periodically
[22:44] <danimal-> The timestamp, would it be valuable to include it on my bug report?
[22:45] <c_14> Including it shouldn't hurt in the worst case and in the best case it'll be helpful, so sure.
[22:46] <Wader8> i get no explanation on what -bufsize is on ffmpeg documentation
[22:53] <Wader8> anybody
[22:54] <Wader8> im trying to figure out whether i should use vf scale or -s
[22:54] <Wader8> seems like -s as and output adds scale the same way
[22:54] <Wader8> i do want as output
[22:55] <Wader8> but the whole parameter ordering makes me a headache
[23:01] <c_14> -vf scale and -s do the same thing, the only difference is that with the filter you can choose where in the filtergraph to put it
[23:04] <Wader8> ah okay, i don't use any filters here ...
[23:07] <Wader8> mpeg4 profile level in nokia specs says Simple Profile 4a ...
[23:08] <Wader8> im looking some docs and it says 4 is Advanced, and there's no 4a
[23:08] <Wader8> but oh well that stuff is from 2007 i found
[23:08] <Wader8> man so much obsolete stuff
[23:44] <Intruder_> hi all
[23:46] <Intruder_> I'm new to using ffmpeg. I want to convert an AVC file to PNG image sequences. I get that working, but I also want to crop the frames.
[23:47] <Intruder_> -vf "crop=in_w:819:0:131" gives me file with a 820px height
[23:47] <Intruder_> why?
[23:47] <Intruder_> I need actually 818px height, but -vf "crop=in_w:818:0:131" will give me a file with 816px height...
[23:49] <Intruder_> the original file is 1080p
[00:00] --- Sun Nov 16 2014


More information about the Ffmpeg-devel-irc mailing list