[Ffmpeg-devel-irc] ffmpeg.log.20131119
burek
burek021 at gmail.com
Wed Nov 20 02:05:02 CET 2013
[00:03] <ddsss> why am I getting this error: Incompatible sample format 'u8' for codec 'libmp3lame', auto-selecting format 's16'
[00:03] <ddsss> [mp3 @ 0x23892e0] Unsupported sample rate.
[00:04] <ddsss> Im not even converting to mp3: avconv -i test1.wav -ar 11025 -ac 1 -acodec pcm_u8 test2.wav
[00:18] <brontosaurusrex> what would be a "tv to pc" scale filter? >> this will have to work: ffmpeg -report -i "$expanded" -pix_fmt yuv420p -vf hqdn3d,yadif=0:0,scale=768:576,crop=736:560:12:6,setdar='4:3' -map_channel 0.1.0 -map_channel 0.1.0 -c:a libfdk_aac -vbr 5 -c:v libx264 -preset fast -crf 21 -threads 1 -x264opts fullrange=on "$expanded.mp4"
[00:18] <brontosaurusrex> since i have enough ;)
[00:23] <llogan> ddsss: what's avconv?
[00:24] <ddsss> llogan, yes
[00:24] <llogan> ok!!!
[00:24] <ddsss> llogan, selective dislexia
[00:24] <ddsss> llogan, same as ffmpeg I thought?
[00:25] <llogan> it's not from FFmpeg
[00:25] <ddsss> llogan, hmm. k.
[00:26] <llogan> use ffmpeg from FFmpeg if you want help here. getting a static build is easy
[00:26] <llogan> wget http://ffmpeg.gusari.org/static/32bit/ffmpeg.static.32bit.$(date +"%F").tar.gz
[00:26] <llogan> tar xzvf ffmpeg.static.32bit.$(date +"%F").tar.gz
[03:10] <coolot> Good day to you all. got a question regarding installing FFMPEG. I am trying to follow the installation and compilation guide of it (https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide) however when compiling libvpx (VP8/VP9 video encoder and decoder) i bumped into an error which i have no idea. Thanks in advance for the help.
[03:10] <coolot> coolot at Coolot:~/ffmpeg_sources/libvpx$ ./configure --prefix="$HOME/ffmpeg_build" --disable-examples
[03:10] <coolot> Configuring selected codecs
[03:10] <coolot> enabling vp8_encoder
[03:10] <coolot> enabling vp8_decoder
[03:10] <coolot> enabling vp9_encoder
[03:10] <coolot> enabling vp9_decoder
[03:11] <coolot> Configuring for target 'x86-linux-gcc'
[03:11] <coolot> enabling x86
[03:11] <coolot> enabling runtime_cpu_detect
[03:11] <coolot> enabling mmx
[03:11] <coolot> enabling sse
[03:11] <coolot> enabling sse2
[03:11] <coolot> enabling sse3
[03:11] <coolot> enabling ssse3
[03:11] <coolot> enabling sse4_1
[03:11] <coolot> enabling avx
[03:11] <coolot> Neither yasm nor nasm have been found
[03:11] <coolot> Configuration failed. This could reflect a misconfiguration of your
[03:11] <coolot> toolchains, improper options selected, or another problem. If you
[03:11] <coolot> don't see any useful error messages above, the next step is to look
[03:11] <coolot> at the configure error log file (config.log) to determine what
[03:11] <coolot> configure was trying to do when it died.
[03:24] <buu> coolot: Have oyu worked out the part where it wants you to install yasm or nasm?
[03:30] <Samus_Aran> I read that as "nsa" then "nasa", I think it's time I sleep. :)
[03:31] <Samus_Aran> goodnasm.
[03:37] <coolot> Buu : i think i am already done with it. i am just following th e guide
[03:37] <coolot> Yasm
[03:37] <coolot> Yasm is an assembler used by x264 and FFmpeg.
[03:37] <coolot> Ubuntu 13.10, Ubuntu 13.04, and Mint 15 users can alternatively install the yasm package from the repository instead of compiling.
[03:38] <coolot> cd ~/ffmpeg_sources
[03:38] <coolot> wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
[03:38] <coolot> tar xzvf yasm-1.2.0.tar.gz
[03:38] <coolot> cd yasm-1.2.0
[03:38] <coolot> ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
[03:38] <coolot> make
[03:38] <coolot> make install
[03:38] <coolot> make distclean
[03:38] <coolot> . ~/.profile
[03:38] <coolot> x264
[03:38] <coolot> H.264 video encoder. See the x264 Encoding Guide for more information and examples.
[03:38] <coolot> cd ~/ffmpeg_sources
[03:38] <coolot> git clone --depth 1 git://git.videolan.org/x264.git
[03:38] <coolot> cd x264
[03:38] <coolot> ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static
[03:38] <coolot> make
[03:38] <coolot> make install
[03:38] <coolot> make distclean
[03:38] <coolot> Buu : i already compiled and install it.
[05:03] <I_pay_for_help> hi all i need your help and im ready to pay
[05:03] <I_pay_for_help> hls + user agent+ cookie ==> rtmp
[05:03] <I_pay_for_help> i have wireshark log to make it simple if you need it
[05:05] <I_pay_for_help> ??
[05:09] <shevy> hmm guys... I am going to collect some random videos, in various formats, i.e. all about "funny animals"
[05:10] <shevy> now I would like to ideally merge this all into one file, and when I find a new video, I would like to perform an "append" action onto what already exists
[05:11] <shevy> my question is... what would be a good candidate to store things? Quality I dont mind really, filesize is also not a problem (though of course, smaller is better for archival purposes). Should I go with .mkv, .avi or .mp4, and what codecs should I use?
[05:31] <I_pay_for_help> hi all i need your help and im ready to pay
[05:31] <I_pay_for_help> hls + user agent+ cookie ==> rtmp
[05:31] <I_pay_for_help> i have wireshark log to make it simple if you need it
[07:20] <luoluoluo> Hi, when using ffmpeg in Android jni, I got app crashed. The backtrace showed something like "#00 pc 002c7f44 /xxx/xx/x/xx (ff_mjpeg_encode_picture_header+6692)"
[07:21] <luoluoluo> I searched "ff_mjpeg_encode_picture_header" for a while, but cannot figure out what's the problem.
[07:21] <luoluoluo> What could be wrong? Did you encounter this before?
[07:28] <I_pay_for_help> hi all i need your help and im ready to pay
[07:28] <I_pay_for_help> hls + user agent+ cookie ==> rtmp
[07:29] <I_pay_for_help> i have wireshark log to make it simple if you need it
[07:49] <I_pay_for_help> hi all i need your help and im ready to pay [01:28] <I_pay_for_help> hls + user agent+ cookie ==> rtmp [01:29] <I_pay_for_help> i have wireshark log to make it simple if you need it
[10:25] <I_pay_for_help> hi all
[10:26] <durandal11707> hi
[10:28] <I_pay_for_help> im stuck with hls (nginx) protected
[10:28] <I_pay_for_help> i need to restream it :(
[10:28] <I_pay_for_help> i dont know how to parse user agent and other stuff
[14:36] <ddsss> how do I add an artist tag to mp3?
[14:38] <sacarasc> -metadata artist="I Like Cheese" or something.
[14:38] <ubitux> what if you don't like cheese?
[14:39] <sacarasc> Then why would you have that band's song? :O
[14:40] <relaxed> everyone likes cheese
[14:41] <sacarasc> My friend doesn't, except in burgers or on pizza.
[14:42] <gix> any idea why transcoding an ac3 file to wav (ffmpeg -i in.ac3 out.wav) results in muffled/quiet audio in the wav file?
[14:43] <hay> hi all.. I am having issues with adding a mp3 stream from a local station to my UScreenCapture video input... anyone did it already and got it working?
[14:47] <hay> I am using the following command: http://pastebin.com/e8N9wPWB and it seems new streams for sound are being added constantly as I see in the VLC player... what am I doing wrong? thanks in advance :)
[14:56] <ddsss> is it possible to tag wav files?
[17:25] <ddsss> how to strip info chunks from .wav files?
[18:37] <Wizord> hello, I have some mediafiles downloaded, each of theese files is part of stream. running `file <filename>` yields '<filename>: data', is there a way to figure out what these files are and parse/remux/convert them?
[18:37] <Wizord> example file http://m1el.eu/hearing-dl/348_b74a63aadf3fc2f5-p_Seg1-Frag0001 (numbers from 1 to 2000)
[18:37] <Wizord> hex dump of first few kilobytes: http://m1el.eu/hearing-dl/head.xxd.txt
[19:08] <Wizord> ok, I'll ask the other way: is there a way to extract an h.264 stream if it's not encrypted in any way in this file?
[19:08] <Wizord> does the h.264 stream itself has some markers/magic numbers?
[19:09] <Mavrik> not really
[19:09] <Mavrik> I mean... depends on how it's stored... NAL units do have markers
[19:10] <Mavrik> now the questionable thing is if you have NAL units that are stored in header parts of a container
[19:10] <Mavrik> hmm... it seems you have an mp4 file that.
[19:11] <Wizord> but I cant read it with ffmpeg/mplayer/whatever
[19:12] <Mavrik> Wizord, well your file starts with MDAT
[19:12] <Mavrik> you need a MOOV atom to decode mp4 (or mov) format successfully
[19:12] <Mavrik> without it the file is useless
[19:12] <Wizord> hm
[19:12] <Mavrik> if your file is chunked for streaming the MOOV is probably stored somewhere else
[19:13] <Mavrik> or is even generated on the fly by the streaming servr
[19:13] <bneff> I'm creating an mp4 from a ip camera stream. The mp4 plays fine, but when I scrub in quicktime I get severe artifacts. Any suggestions?
[19:16] <Wizord> Mavrik: this file is given as is, I don't know what the server is, but I assume that it is some adobe product
[19:17] <Wizord> and I've captured everything that was transported via network
[19:17] <therube> Wizord: i believe you're correct on that, Adobe hds or something or the other. see if something here might help? http://forum.videohelp.com/threads/342430-F4F-capturing-converting
[19:18] <Mavrik> Wizord, well check for MOOV atom
[19:19] <Mavrik> Wizord, also your file seems to have a strange non-standard header
[19:19] <Mavrik> it starts with duration info and some serverip duration
[19:19] <Mavrik> and then continues with MDAT
[19:19] <Wizord> Mavrik: is it "MOOV" as in ASCII string?
[19:19] <Mavrik> yes, MOOV atom starts with MOOV string :)
[19:19] <Mavrik> probably lowercase
[19:21] <Wizord> nope, nothing
[19:22] <Wizord> well, if it is an mp4 file, MAYBE it's possible to extract stream from it?
[19:23] <Mavrik> without MOOV it's useless
[19:23] <Mavrik> moov has file index which tells you what in that garbage is a stream
[19:23] <Wizord> I see
[19:23] <Mavrik> and parameters that tell decoders how to decode streams
[19:24] <Mavrik> an mp4 file without moov is usually unrecoverable
[19:24] <Wizord> > tell decoders how to decode streams <-- but most used streams (h.264/mp3/ogg/whatever) can be decoded alone, aren't they?
[19:25] <Mavrik> H.264 only if it was encoded properly
[19:25] <Mavrik> it can have PSS/SPS packets repeated within stream (for streaming mode) or written once in file header (for non-streaming)
[19:25] <Mavrik> guess which mode has MP4 which is a format with a header.
[19:25] <Mavrik> (yes that caused me alot of pain.)
[19:29] <Wizord> I remember how I cut out ogg files from a game datafile using only magic numbers. I guess it's harder with media formats produced deliberately to mess up with people who want to dump streams.
[19:31] <Mavrik> if you say so.
[19:32] <bneff> hmm if I "transcode" the clip using ffmpeg, the scrubbing works great.
[19:32] <Mavrik> bneff, probably camera uses a huge GOP size
[19:33] <Mavrik> or breaks stream in several other hideous ways :)
[19:33] <bneff> Mavrik: gop is 15
[19:33] <bneff> Mavrik: could it be related to IDR vs I-Frame or something like that?
[19:36] <bneff> Mavrik: only other thing I can think of is quicktime can't tell which is an I-frame..maybe some missing header in h.264 or mp4?
[19:42] <Mavrik> bneff, IDR frames are I-frames :)
[19:42] <Mavrik> maybe it uses intra-encoding
[19:43] <Mavrik> can't really tell from such description :/
[19:47] <Wizord> WTF. mp4 includes chunk length (4 bytes) and chunk name (+4 bytes) in chunk length itself?
[19:47] <Wizord> which means it's possible to create INCORRECT chunk?
[19:57] <bneff> Mavrik: Sorry, I've been googling everyone so different links have me confused. Do you have any recommendations on how I could look at the working mp4 and compare it to the non-working mp4?
[20:04] <bneff> Mavrik: ooh just found ffprobe -show_frames...this might be enough. Thank you
[20:05] <Mavrik> bneff, also full ffmpeg output could help
[20:05] <Mavrik> debug 99 and verbose or whatsit
[20:09] <bneff> Mavrik: will look at that too. I noticed the pkt_duration is wrong in the broken clip, as well as the pkt_dts. I'll see if I can fix those and test again
[00:00] --- Wed Nov 20 2013
More information about the Ffmpeg-devel-irc
mailing list