[Ffmpeg-devel-irc] ffmpeg.log.20140222
burek
burek021 at gmail.com
Sun Feb 23 02:05:01 CET 2014
[00:58] <Logicgate> i need help
[00:58] <Logicgate> http://pastebin.com/2GnUn53w
[00:58] <Logicgate> here's the output
[00:58] <Logicgate> This video has 2 video streams and I'm trying to watermark it
[00:59] <Logicgate> As stated in the pastebin I get these two errors:
[00:59] <Logicgate> Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[00:59] <Logicgate> and:
[00:59] <Logicgate> [libx264 @ 0x272db40] height not divisible by 2 (640x361)
[01:00] <Logicgate> how can one pick the right stream?
[01:01] <Logicgate> http://pastebin.com/NrhWJFDw
[01:01] <Logicgate> here is the ffprobe pastebin of that video
[01:04] <Logicgate> God damn it. No one isn't ever there to help :(
[01:18] <klaxa> Logicgate, you can't encode with libx264 to a resolution where one of the dimensions isn't divisible by 2
[01:19] <klaxa> also, can you add the command you used too?
[01:19] <klaxa> to the pastebin i mean
[01:19] <klaxa> because i can't see what your actual input is
[03:16] <Snowleaksange> Tonight is one of the 4 sacred times a decade that I upgrade ffmpeg.
[03:16] <Snowleaksange> Peace and blessings be upon us all.
[05:11] <LithosLaptop> +-
[06:45] <Snowleaksange> apparently av_resample died and went to heaven
[06:49] <Snowleaksange> but i can cope with that if i remain VERY CALM
[08:01] <Snowleaksange> av_rdft_calc crashes in ff_fdct_sse2 @ 0x00000000
[08:02] <Snowleaksange> are SSE instructions an optimiazation or a DOS on users?
[11:35] <jclairem> do you know if ffmpeg can use gpu of Rpi to encode H264?
[11:47] <relaxed> jclairem: I doubt that's possible.
[11:52] <pron> can fmpeg use gpu to encode stuff on x86?:}
[11:52] <Snowleaksange> this ffmpeg upgrade going REASONABLY well
[11:52] <relaxed> pron: no
[11:53] <Snowleaksange> got fft, and image decoding working. mp3 decoding almost works but sounds really staticy. having test moving decoding, or video encoding, or windows portability
[11:53] <Snowleaksange> havent* test
[12:05] <Snowleaksange> hrm av_probe_input_format not working now
[13:45] <Snowleaksange> got video playback working... now for audio.. simultaneous change to avcodec_decode_audio4 from 3 with changed resampling library next
[13:45] <Snowleaksange> looks like i dont have to keep this annoying overflow buffer i had before
[13:46] <Snowleaksange> will simplify my code ince i figure out magic params
[14:03] <DelphiWorld> Hi FFMpegifiers
[14:03] <DelphiWorld> question
[14:03] <DelphiWorld> this broadcom cristal
[14:03] <DelphiWorld> is a encoder or decoder?
[14:08] <davesa> guys i have a question, i tried a lot, with ffmpeg no go while vlc usinf faad works fine:
[14:08] <davesa> [aac @ 0x37a5200] channel element 0.0 is not allocated
[14:08] <davesa> Last message repeated 6 times
[14:08] <davesa> [h264 @ 0x37a47a0] mmco: unref short failure
[14:08] <davesa> Last message repeated 1 times
[14:08] <davesa> [aac @ 0x37a5200] channel element 0.0 is not allocated
[14:08] <davesa> its 0 : 0
[14:08] <davesa> i was reading online i see people says i need to use faad audio encoder
[14:09] <davesa> which vls use
[14:09] <JEEB> how old is your ffmpeg?
[14:09] <JEEB> or libavcodec in general
[14:09] <davesa> i run vlc in debug mode and i see it use faad so the sound work fine
[14:09] <davesa> latest
[14:09] <JEEB> latest as in?
[14:09] <davesa> fmpeg version N-60700-g07b4b0c Copyright (c) 2000-2014 the FFmpeg developers
[14:09] <davesa> built on Feb 17 2014 08:35:59 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
[14:09] <JEEB> latest release is not latest HEAD, and neither of those is generally the latest what distros package
[14:09] <JEEB> ok
[14:09] <JEEB> so 07b4b0c
[14:10] <davesa> yes
[14:10] <davesa> i tried to enable faad but ffmpeg does not recognize as decoder
[14:11] <davesa> and i read ffmpeg discontinue faad for the behalf of libfdk_aac and AAC
[14:11] <davesa> but i tried both no go
[14:11] <davesa> its been 2 days trying to get it to work
[14:11] <davesa> no go
[14:11] <davesa> :(
[14:12] <JEEB> ok, so a commit pushed ~5 days ago
[14:13] <Peace-> hello i would like to know fi there is a way to set microphone using ffmpeg and pulse i was using this , i guess no but i will ask anyway , ffmpeg -f alsa -ac 2 -i pulse test.flac
[14:13] <Peace-> it starts pulse but mic is the internal one
[14:13] <JEEB> davesa, feel free to report the issue on the trac with a sample that replicates it
[14:13] <Peace-> i wish to start ffmpeg with another mic
[14:14] <davesa> how to do a sample?
[14:14] <JEEB> well, what's your input?
[14:14] <JEEB> also does it actually fail at doing stuff or does it just spurt warnings?
[14:14] <davesa> i have mpegts
[14:14] <davesa> mp4
[14:14] <davesa> i try to read the stream from multicast
[14:15] <davesa> i am sending stream using my tvheadend addon
[14:15] <davesa> to multicast
[14:15] <JEEB> does it only happen when you try to read it from network, or does it also happen with the same thing as a file?
[14:15] <davesa> i never tried from file
[14:15] <davesa> look what i find so far
[14:15] <JEEB> try that once, I guess. That way we can take the network part out of it
[14:16] <JEEB> if it also happens with a file
[14:16] <davesa> ffprobe -show_format -i http://192.168.15.135:8200/teststream
[14:16] <davesa> i get this
[14:17] <davesa> Stream #0:0[0x33d]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, smpte170m), 544x480 [SAR 40:33 DAR 136:99], 29.17 fps, 59.94 tbr, 90k tbn, 59.94 tbc
[14:17] <davesa> Stream #0:1[0x335](spa): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp, 96 kb/s
[14:17] <davesa> [FORMAT]
[14:17] <davesa> filename=http://192.168.15.130:8200/118antenalatina
[14:17] <davesa> nb_streams=2
[14:17] <davesa> nb_programs=1
[14:17] <davesa> format_name=mpegts
[14:17] <davesa> format_long_name=MPEG-TS (MPEG-2 Transport Stream)
[14:17] <davesa> start_time=32856.922167
[14:17] <davesa> duration=N/A
[14:17] <JEEB> just dump some of your stuff and see if it happens as file as well
[14:17] <davesa> size=N/A
[14:17] <davesa> bit_rate=96000
[14:17] <davesa> probe_score=100
[14:17] <davesa> [/FORMAT]
[14:17] <davesa> if i define
[14:17] <JEEB> and use a goddamn pastebin >_<
[14:17] <DelphiWorld> davesa: pastebinnnnnnnnn!
[14:17] <davesa> the ar before
[14:17] <davesa> loool
[14:17] <davesa> ok
[14:18] <davesa> sorry
[14:18] <DelphiWorld> lol JEEB
[14:18] <JEEB> anyways, please. Dump some data that you're getting from that thing
[14:18] <JEEB> and try with a file
[14:18] <davesa> what command do you siggest me to dump?
[14:18] <JEEB> I have no idea what would be 1-to-1 dumping
[14:18] <DelphiWorld> JEEB: did you see my Q? about broadcom cristal hd
[14:18] <davesa> suggest*
[14:19] <JEEB> DelphiWorld, I have no fucking idea about the broadcom piece of shit
[14:19] <DelphiWorld> JEEB: lol
[14:19] <DelphiWorld> JEEB: dont wory, all we hate broadCrap
[14:19] <JEEB> because -c copy would still use the libavformat muxer and friends
[14:19] <JEEB> so you'd get a remuxed stream
[14:20] <JEEB> of course if nothing else can be found, then you can poke at -c copy
[14:20] <JEEB> and see if the same thing still happens
[14:20] <JEEB> oh, it's http?
[14:20] <JEEB> shouldn't you be able to just curl it into a file or something?
[14:20] <JEEB> or wget
[14:21] <JEEB> just "download" it for like 30MB
[14:21] <JEEB> then stop
[14:23] <davesa> yes
[14:24] <davesa> i just send the paste to pastebin
[14:25] <davesa> the thing when i use ffprobe --show_formats shows audio stream as unknow,
[14:25] <davesa> but this command ffprobe -show_format -ar 48000 -ac 2
[14:25] <davesa> show the right audio streams info
[14:25] <davesa> as i took those parameters from vlc when it plays the stream
[14:25] <JEEB> (because ignoring what people say is cool)
[14:26] <davesa> but if i define ffmpeg -ar 48000 -ac 2
[14:26] <davesa> it does not do
[14:26] <davesa> bcz ffmpeg does not accept to predifine the input parameters
[14:26] <davesa> JEEB what do you mean by using curl?
[14:27] <JEEB> curl -o dump.ts http://192.168.15.130:8200/118antenalatina
[14:27] <JEEB> if I remember it correctly
[14:27] <JEEB> literally, dumping whatever shit it's sending to you via http
[14:29] <davesa> yes
[14:29] <davesa> i did that
[14:29] <davesa> and saved about 1 minute
[14:29] <davesa> how can i try to play from the computer where i did the dump?
[14:29] <davesa> ffplay?
[14:30] <JEEB> ffmpeg -i dump.ts -f rawvideo -
[14:30] <JEEB> do this
[14:31] <davesa> look it gave me this
[14:31] <davesa> Stream #0.1[0x335](spa): Audio: aac, 48000 Hz, 0 channels, s16, 94 kb/s
[14:31] <davesa> SDL_OpenAudio:
[14:31] <davesa> so it detected the audio from dumped file
[14:31] <davesa> but 0 channels
[14:31] <davesa> which not true
[14:31] <davesa> its supposed to be stereo
[14:32] <JEEB> but can it decode it?
[14:32] <JEEB> that is what matters
[14:32] <davesa> let me try ur command now
[14:34] <davesa> -f rawvideo - ( i continue my command used bfore )
[14:34] <davesa> if i run urs only my pc go crazy
[14:34] <davesa> and show me all type of alaphabets and charchters
[14:34] <davesa> :)
[14:36] <davesa> Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp, 95 kb/s)
[14:36] <davesa> unless my ffmpeg command has something wrong
[14:37] <davesa> but i use it for other streams on the same network
[14:37] <JEEB> pastebin your full command and terminal output
[14:37] <davesa> works great
[14:37] <JEEB> also sorry
[14:37] <JEEB> -f null
[14:37] <JEEB> not -f rawvideo
[14:37] <JEEB> -f rawvideo will output the stuff into your terminal with -
[14:45] <davesa> ok
[14:45] <davesa> let me see
[14:46] <davesa> still same
[14:46] <davesa> audio not detected at all
[14:47] <davesa> Stream #0:1[0x335](spa): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp, 95 kb/s
[14:47] <davesa> i did the pastebin thing
[14:47] <davesa> do you know how can i use other audio library then faac
[14:47] <davesa> is it possible to use external audio encoder / decoder
[14:51] <JEEB> so what happens?
[14:51] <JEEB> does it actually decode?
[14:51] <JEEB> also what pastebin? how am I supposed to know if you don't link it?
[14:53] <JEEB> this is supposed to be quick checks so I can then poke you towards the issue tracker so the bug could get fixed, but you're definitely not making it easy for me :P
[14:56] <davesa> hey
[14:56] <davesa> sorry
[14:57] <davesa> ouch
[14:57] <davesa> i thought pastebin
[14:57] <davesa> its something ihave to wait
[14:57] <davesa> heheeh
[14:57] <davesa> i am new in this
[14:57] <davesa> sorry boss
[14:57] <davesa> :)
[14:57] <davesa> no does not decode
[14:57] <davesa> wait let me send you the pastebin
[14:57] <JEEB> yes, please
[14:57] <JEEB> the -f null - one
[14:58] <JEEB> also start uploading that small sample you have, if it's bigger than a few megabytes, you can try dd'ing the first megabyte or two of it into a separate file
[14:58] <JEEB> and if that has the problem happen too
[14:59] <JEEB> and why the fuck do you pm !?
[14:59] <davesa> i just sent you the pastebin link
[14:59] <davesa> you want all here
[14:59] <davesa> np
[14:59] <JEEB> yes, I mean the links you can post here
[14:59] <davesa> ok
[14:59] <JEEB> otherwise if I won't happen to know something no-one else can reply to it
[15:00] Action: DelphiWorld pm JEEB
[15:00] <JEEB> also please do post the output of that command line I said
[15:00] <JEEB> ffmpeg -i dump.ts -f null -
[15:00] <JEEB> I don't need your encoders and shit
[15:00] <JEEB> just minimalistic decoding
[15:07] <davesa> http://pastebin.com/hCqdWMc3
[15:09] <JEEB> thank you
[15:09] <JEEB> huh
[15:09] <JEEB> why did it decide to ignore the audio there?
[15:10] <davesa> Thnx for ur help
[15:10] <davesa> no idea
[15:10] <davesa> i tried the analyzeduration and higher probesize
[15:10] <davesa> same thing
[15:10] <JEEB> ffmpeg -i dump.ts -c:v rawvideo -c:a pcm_s16le -f null -
[15:10] <JEEB> try this
[15:13] <davesa> still the same
[15:13] <davesa> Stream #0:1[0x335](spa): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp, 95 kb/s
[15:13] <JEEB> not that
[15:13] <JEEB> see if it actually a) selects the stream
[15:13] <davesa> where do you want me to upload the sample?
[15:13] <JEEB> and b) tries to decode it
[15:14] <JEEB> wherever it's not too hard to grab, depending on its size you might be able to fit it in the trac
[15:14] <JEEB> http://trac.ffmpeg.org/
[15:14] <JEEB> make an issue about the aac decoder failing to decode
[15:15] <JEEB> and give the log for ffmpeg -i dump.ts -map 0 -c:v rawvideo -c:a pcm_s16le -f null - not decoding it there, if it doesn't work for you locally
[15:15] <JEEB> ok?
[15:15] <davesa> yes
[15:15] <davesa> i tried to play the dump.ts in vlc does not read it
[15:16] <davesa> i mean does not read the audio
[15:16] <davesa> maybe when we dump it using ffmpeg
[15:16] <davesa> it also removed the audio from it
[15:16] <davesa> as remeber is gave us 48000 then 0 channel
[15:17] <JEEB> you dumped it via curl, no?
[15:17] <JEEB> ffmpeg has nothing to do with that
[15:18] <JEEB> and the audio is there, the track can be seen fine enough
[15:18] <JEEB> just dump the shit in a sane enough way (curl/wget f.ex.) and check that it fails with the ffmpeg to decode, and if it does -> issue tracker
[15:19] <JEEB> keep your fucking re-encoding off the example on the issue tracker because you will then proceed to get ass-raped by cehoyos regarding taking "anything unneeded" away from the example replicatable command line
[15:20] <JEEB> and it will be worse for you, and will mean that it will take longer for you to get your goddamn bug fixed
[15:20] <davesa> ok
[15:20] <davesa> so i will just put summarized resolut
[15:20] <davesa> no need for all the other stuff
[15:20] <JEEB> no
[15:20] <davesa> ok
[21:49] <llogan> Logicgate: there are people to help you here but so far you've never actually supplied your actual ffmpeg command and the complete ffmpeg console output.
[23:09] <ubitux> https://news.ycombinator.com/item?id=7283668
[23:09] Action: ubitux now stops spamming
[00:00] --- Sun Feb 23 2014
More information about the Ffmpeg-devel-irc
mailing list