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

burek burek021 at gmail.com
Thu Nov 27 02:05:01 CET 2014


[00:04] <llogan> shitty-ass proprietary security camera videos... "let's take a format and shit on it so it can't be played"
[00:05] <ScottMichaud> Yeah...
[00:23] <ubuntuaddicted> if anyone else cares, i did end up getting ffmpeg compiled with libnvenc enabled (in Arch)  using this github fork https://github.com/agathah/ffmpeg_libnvenc  along with the Nvidia NVENC SDK for windows because a single header file was neeeded.
[01:22] <ubuntuaddicted> how would I find out what codec are available in my ffmpeg I have installed. when I run ffmpeg --version I get ffmpeg: error while loading shared libraries: libx265.so.35: cannot open shared object file: No such file or directory
[01:23] <c_14> Is libx265.so.35 in your LD_LIBRARY_PATH ?
[01:24] <ubuntuaddicted> c_14, no idea how to find that out. sorry, i'm pretty much a noob that's been getting help from others
[01:25] <ubuntuaddicted> c_14, i know that when I compiled ffmpeg I had x265 as a depends and had --enable-libx265 within the configure line
[01:25] <c_14> echo $LD_LIBRARY_PATH; locate libx265.so; find / -iname 'libx265.so.*'
[01:26] <ubuntuaddicted> c_14, can i narrow it down to /usr/ instead of /?
[01:26] <c_14> On arch, probably.
[01:27] <c_14> They moved everything to /usr a while ago anyway.
[01:27] <c_14> Though, check /home as well
[01:27] <c_14> if it's not in /usr
[01:27] <c_14> In case you compiled but didn't install libx265
[01:27] <c_14> or installed in a non-standard path
[01:28] <ubuntuaddicted> c_14, /usr/lib/libx265.so
[01:28] <ubuntuaddicted> /usr/lib/libx265.so.35
[01:28] <llogan> ldd /path/to/ffmpeg
[01:28] <c_14> And pastebin it.
[01:28] <ubuntuaddicted> so just ldd /usr/bin/ffmpeg?
[01:29] <c_14> And put that on a pastebin, yes.
[01:29] <ubuntuaddicted> https://clbin.com/eftgn
[01:31] <c_14> Is /usr/lib/libx265.so.35 a regular file?
[01:32] <ubuntuaddicted> c_14, that file doesn't exist
[01:32] <c_14> Didn't you just tell me it did?
[01:32] <ubuntuaddicted> ls -la /usr/lib/ | grep libx265  returned only 2 files. libx265.so > libx265.so.37   and libx265.so.37
[01:33] <c_14> recompile ffmpeg against the newer version of libx265
[01:33] <c_14> Or (and I don't recommend this) link libx265.so.37 to libx265.so.35
[01:33] <c_14> Probably just ignore I said that.
[01:34] <llogan> current x265 package in Extra will provide libx265.so.35. not sure where you got 37
[01:34] <ubuntuaddicted> c_14, my locate db was old, redoing the search reveals no /usr/lib/libx265.so.35
[01:35] <c_14> Or install that package from Extra
[01:35] <ubuntuaddicted> oh, apparently that's from x265-hg
[01:36] <llogan> either use the package from Extra, or re-compile ffmpeg
[01:36] <ubuntuaddicted> ok, all fixed. thank you
[01:36] <ubuntuaddicted> llogan, installing x265 from extra solved it
[01:37] <llogan> most users should need to use any CVS type package in AUR if there is an equivalent package in the official repos
[01:37] <llogan> should *not*
[01:42] <ubuntuaddicted> llogan, understood. i had misread a comment on the obs-studio-git package in the AUR. so it was totally my own fault. thanks for helping me guys,  i can now utilize my gtx 760 for encoding with ffmpeg. :)
[01:46] <sacarasc> I thought that video cards sucked for encoding video still? Has this changed?
[02:32] <foonix> anyone got idea if this works and what are the proper tags names? ffmpeg -i INPUT.mkv -metadata:s:v:0 "Matrix coefficients=BT.709" -metadata:s:v:0 "Color primaries=BT.709" -metadata:s:v:0 "Transfer characteristics=BT.709" -c:v copy OUTPUT.mkv
[02:37] <c_14> I'm no expert, but if the colormatrix is already BT.709, then all relevant tags should be set and if it isn't setting them will probably just break things.
[02:37] <c_14> Why exactly do you want to do this?
[02:44] <foonix> c_14: when i play such files (without tags) with mpc-hc+madvr the decoder uses BT.601 when the horizontal resolution is below 1280 i guess
[02:45] <foonix> so i did quick test with -x264-params colorprim=bt709:transfer=bt709:colormatrix=bt709 and the behavior is OK for hd480 resolution..
[02:49] <c_14> Can you pastebin an ffprobe of the file it's playing incorrectly?
[03:13] <foonix> c_14: diff is yuv420p10le vs yuv420p10le(tv, bt709), i just dl zeranoe's build to check it because i dont have ffprobe on my box...thats why such delay, if you want both 1 frame files i can give you url for look...
[03:14] <c_14> kk, then the source file doesn't have the colorspace metadata set so the program is just guessing
[03:14] <c_14> s/space/matrix
[03:14] <foonix> yes
[03:16] <foonix> and it seems for 1280 and higher its ok but for lower resolutions nope (which makes sense, but not in my case)
[03:18] <c_14> I'm not sure you can change the colormatrix without reencoding since I'm pretty sure that's stored in the video stream and not the container.
[03:18] <c_14> s/change/"set"
[03:19] <c_14> The easiest option, especially if it's just a few videos would be to set the colormatrix in the player.
[03:22] <foonix> well, yeah i think i could script that in madvr easily.. but wondering about the remux way..
[03:23] <foonix> did another test with -map_metadata -1 and colormatrix is still set
[03:23] <c_14> Ye, I don't think it's container metadata.
[03:23] <c_14> It's stream metadata.
[03:23] <foonix> so i guess i cant manipulate it so easily
[03:23] <c_14> you can set it using the colormatrix filter, but that'll require reencoding
[03:26] <c_14> You could probably set it with a hex editor/a specially crafted program, but you'd have to dig into the spec[s].
[03:26] <c_14> You can always try asking on the user ml.
[03:38] <foonix> interresting h264_changesps bitstream filter - http://forum.doom9.org/showthread.php?t=152419
[03:42] <foonix> but im off now, thx for help
[04:15] <molikto> hi, i disabled almost all things i do not need to achieve a smaller file size, it works for compressiong most mp4 files, but one with amrnb audio encoder failed me. i compiled ffmpeg with amrnb decoder and aac encoder, but it says i need aresample filter, but i configured it with this, but it doesn't shows up in the configure result
[04:19] <molikto> anyone can help me?
[06:34] <JDuke256> hi , is ffmpeg supporting cedarx vs tms320 omap optimized codes ? or davinci ?
[07:20] <ubuntuaddicted> here's some interesting reading http://on-demand.gputechconf.com/gtc/2014/poster/pdf/P4188_real-time_panorama_video_NVENC.pdf
[07:42] <gabriel> ffmpeg
[07:42] <gabriel>         -f image2pipe
[07:42] <gabriel>         -filter_complex concat=n=2:v=1:a=0
[07:42] <gabriel>         -vcodec mpeg4
[07:42] <gabriel>         -b:v 800k
[07:42] <gabriel>         -r 2,
[07:42] <gabriel>         -y, pipe:1
[07:43] <gabriel> Can anyone tell me why the above command gives me the error: Unable to find a suitable output format for 'pipe:'
[07:44] <gabriel> there are inputs in the actual command, I just forgot to put them in there
[07:45] <sacarasc> Add -f <someformat> to the output options.
[07:49] <gabriel> Oh, I thought it would pickup on that from the -vcodec option
[07:50] <relaxed> that applies to the codec, not the container
[07:52] <gabriel> Got it, thanks. That worked. You guys are like mountain sages
[07:52] <gabriel> I always think Ive got an obscure problem and someone always seems to get it straight away
[10:14] <eristisk> Hi all, I compiled ffmpeg for a web CMS inside a non-system directory, but a dir specifically for the CMS installation (Plumi)
[10:15] <eristisk> It compiled successfully, but when I try to run it, I get the error that it cannot find the libraries it needs to run
[10:15] <eristisk> bin/ffmpeg: error while loading shared libraries: libavdevice.so.54: cannot open shared object file: No such file or directory
[10:17] <eristisk> I see that the library compiled successfully, but it is in the path ffmpeg/parts/ffmpeg-build/lib
[11:42] <alexvf> hi all
[11:43] <alexvf> when encoding to an H264 file, is there a way (set of parameters) to ensure that the frames in the resulting file will have decoding_order = display_order?
[12:12] <alexvf> anyone knows hot to encode an H264 without frame reordering using ffmpeg?
[13:27] <erp2themaxx> I'm trying to stream a video from ffmpeg to ffserver. Why does ffmpeg exit without streaming and without saying what's wrong? http://pastebin.com/cJhvZp2C
[13:58] <DanielSa> hi
[14:10] <Mavrik> g'day
[14:32] <pagios> do windows phone support HLS?
[14:42] <Alina-malina> hello all, guys do you know what software can i use to make stuff like this: http://www.youtube.com/watch?v=-yM8mO63yE0  i know he is professional dj, and he use sound software and video separately, but anyways, would love very much to learn how he does this
[15:35] <dougquaid> I've been searching on google but I haven't found the answer yet. Can ffmpeg record an h264 video stream from an IP camera?
[15:38] <dougquaid> Also, can ffmpeg add metadata to video files? I'd like to record the time when the video starts recording
[15:38] <__jack___> dougquaid: which is the output format or your cam ? a 'raw' h264 video stream ?
[15:39] <__jack___> eg with or without a container
[15:39] <dougquaid> __jack___ let me check
[15:40] <dougquaid> It says h.264 (mpeg-4) part 10/avc, as well as Motion JPEG
[15:42] <dougquaid> __jack___: Does that spec describe the output format? Based on my limited knowledge of video files I'm guessing the format is mpeg-4?
[15:42] <__jack___> hum, it's not very explicit to me
[15:43] <__jack___> ffmpeg should be able to handle such stream
[15:59] <hefest> anyt ideas why resulting mp4 video has audio out of sync? ffmpeg -y -i 0CAGS5AIZMQ.flv -vf scale=320:240 -q:v 0 -profile:v baseline -r 25 -vcodec libx264 -crf 21 -ac 2 test.mp4
[16:34] <BtbN> hefest, try adding -c:a copy
[16:36] <hefest> BtbN: Could not find tag for codec nellymoser in stream #1, codec not currently supported in container
[16:37] <BtbN> What even is nellymoser oO
[16:37] <hefest> BtbN: Stream #0:1: Audio: nellymoser, 8000 Hz, mono, flt
[16:37] <hefest> BtbN: in source FLV file
[16:38] <BtbN> yes, i have never heard that before.
[16:38] <hefest> source flv file has variable frame rate, i think that's causing issues but not sure how to solve it
[16:44] <hefest> man this is killing me, anyone else? any hints how to solve this?
[17:20] <FunkyELF> hey guys... using the latest static build and I'm getting this...
[17:20] <FunkyELF> Unknown encoder 'libfdk_aac'
[17:20] <FunkyELF> trying to follow https://trac.ffmpeg.org/wiki/Encode/AAC
[17:21] <kepstin-laptop> the static build doesn't include the fdk aac encoder, because (due to license incompatibilities) distributing a build with that enabled would not be legal.
[17:21] <kepstin-laptop> if you want to use it, you have to build your own ffmpeg
[17:21] <FunkyELF> kepstin-laptop: how can I get aac?... it doesn't seem that libfaac works either
[17:22] <kepstin-laptop> the static build has the native aac encoder enabled; if you don't want to build your own ffmpeg, you could use that.
[17:22] <FunkyELF> I will try... I have a bunch of .mkv files that don't play on XBMC on my Nexus Player, but after I re-encode them with Handbrake they do
[17:23] <FunkyELF> I used ffmpeg to change containers without re-encoding... put it in a .mp4 and it still wouldn't play
[17:23] <FunkyELF> so now I want to use ffmpeg to re-encocde the audio but leave the video... I'm trying to track down what the problem is
[17:25] <kepstin-laptop> it's probably more likely to be an issue with the video encoding; for example, if the mkv used 10bit h264, that won't work on any hardware players.
[17:26] <FunkyELF>     title           : Shaun The Sheep S01E01 540p HDTV x264-DEADPOOL
[17:26] <FunkyELF>     encoder         : HandBrake 0.10.0 2014112300
[17:26] <FunkyELF> whoops... wrong lines
[17:26] <FunkyELF>     Stream #0:0: Video: h264 (High 10), yuv420p10le, 960x540 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
[17:27] <FunkyELF> is that (High 10) mean 10bit?
[17:27] <kepstin-laptop> there you go, that's exactly the problem.
[17:27] <kepstin-laptop> yep.
[17:27] <FunkyELF> kepstin-laptop: okay... so I will have to re-encode no matter what
[17:27] <FunkyELF> kepstin-laptop: I can actually play these on my Android phone / tablet with mxplayer or vlc.
[17:28] <kepstin-laptop> If you use software decoding, it would play. but the hardware decoder wouldn't work
[17:28] <FunkyELF> kepstin-laptop: okay... that must be what is going on
[17:59] <excalibr> Does ffmpeg have switch to drop all user metadata from original input vid?
[18:03] <rflmota> Hi everyone
[18:05] <rflmota> I'm trying to setup a live continuous (24/7) WebM streaming w/ ffmpeg feeding to icecast server. All appears to run just fine but after some days of running, ffmpeg stops and I managed to capture the final 'debug log' which is here : http://pastebin.com/SNDqbc5s
[18:07] <rflmota> i'm issuing the following command for ffmpeg : 'screen /bin/bash -c 'sudo ffmpeg -y -loglevel debug -f video4linux2 -re -i /dev/video0 -i usora_logo.png -i artica_small_bw.png -filter_complex "[0:v][1:v] overlay=0:H-h [V1]; [V1][2:v] overlay=W-w:H-h" -pre libvpx-720p-copy -vf scale=-1:720 -strict experimental -f WebM -content_type video/webm icecast://artica:artica9900@usora-artica.noip.me:8000/stream.webm 2> log2.txt''
[18:07] <rflmota> can somebody help me figuring out what's the problem?
[18:09] <DanielSa> rflmota: you just send your user and password to us.
[18:09] <DanielSa> rflmota: artica:artica9900
[18:15] <DanielSa> rflmota: By the way, I came here today just to ask this command that you just send. I'll study your parameters.
[18:17] <ocx> very quick question, is it possible to play mp4 files with FLASH RTMP?
[18:18] <kepstin-laptop> flash can play mp4 files over http. But when you're using rtmp it's streaming the video over rtmp; no mp4 is involved anywhere :)
[18:18] <kepstin-laptop> you should be able to use ffmpeg in codec copy mode to send the contents of an mp4 file over rtmp if you want
[18:19] <rflmota> thanks DanielSa
[18:38] <DanielSa> Is it possible, in a live broadcast using one mic and two or more video sources, switch between the videos without stop the transmission? To be more specific, using two webcams, without any analogic tool.
[18:39] <c_14> If you code it yourself/can find a program, yes.
[18:41] <relaxed> DanielSa: you could pull off side by side, or picture in picture, video with ffmpeg.
[19:16] <DanielSa> Thank you guys.
[19:39] <llogan> excalibr: "-map_metadata -1" might do what you want
[19:40] <llogan> and don't forget "-map 0 -c copy" if you want to map all streams and stream copy everything if you dn't want to re-encode
[19:44] <bakers> What is the aac encoder marked experimental?
[19:44] <llogan> the native FFmpeg AAC encoder, "aac"
[19:45] <llogan> there is talk about removing the experimental status, but that may have to wait for bug #2686, aka the "epic thread".
[19:52] <bakers> That would be great, I'd love to get rid of libvo
[19:53] <kepstin-laptop> even now with the 'experimental' status, the aac encode is better than libvo-aacenc
[19:54] <bakers> kepstin-laptop: I've been using it, but it's a pain to have to type "-strict -2 -a:c aac" everytime
[19:54] <bakers> it'd be nice if that were the default
[19:55] <JEEB> the experimental flag is a leftover from the times when it actually produced broken audio at relatively high bit rates
[19:55] <JEEB> which was true up until early 2011 or so?
[19:55] <JEEB> but no-one decided to remove the flag
[19:56] <bakers> I'm converting a bunch of OLD avis to mp4 so my chromecast can play them
[19:56] <bakers> they have .mp3 audio that's pretty crappy
[20:04] <c_14> Converting mp3 audio to aac audio will never make it better.
[20:04] <kepstin-laptop> unless you want it smaller and lower quality, just leave it.
[20:05] <kepstin-laptop> chromecast should be able to play mp3 audio in an mp4 container
[20:24] <bakers> kepstin-laptop: Good point...
[20:25] <excalibr> llogan, thanks. By the way, any idea why mkv file muxed with ffmpeg is not fast-forwardable on my tv media player? It is fast-fwd able though, when I muxed it with mkvmerge
[20:26] <kepstin-laptop> excalibr: player might need the seek index at the start of the file, I think ffmpeg writes it to the end by default (since it doesn't know how big the seek index is until the encode is done)
[20:27] <kepstin-laptop> there's an option to reserve some space at the start in ffmpeg, you could give that a try
[20:28] <excalibr> kepstin-laptop, what's the option/switch?
[20:28] <kepstin-laptop> excalibr: https://www.ffmpeg.org/ffmpeg-formats.html#Options-4
[20:28] <kepstin-laptop> (make sure your ffmpeg is writing to a file rather than a pipe, too)
[20:33] <excalibr> kepstin-laptop, does the option take size prefix for its arg? or it must be in bytes only
[20:33] <bakers> On this page: https://trac.ffmpeg.org/wiki/Encode/AAC#NativeFFmpegAACencoder
[20:33] <bakers> Is this still accurate? "Effective range for -q:a is around 0.1-10. This VBR is experimental and likely to get even worse results than the CBR. If ffmpeg ignores -q:a then get a newer build (see ticket #1346). "
[20:33] <kepstin-laptop> excalibr: dunno, i'd have to look at the source coded.
[20:39] <llogan> bakers: i don't know. that was written a year ago, but by kamedo2 who knows more about it than i do
[20:55] <excalibr> kepstin-laptop, just gave it a go and no dice :(. No idea what's wrong
[20:56] <excalibr> here's the command I used: ffmpeg -i input.mp4 -i en.srt -map 0:v -map 0:a -map 1 -map_chapters -1 -map_metadata -1 -c copy -reserve_index_space 100000 ffmpeg-fastfwd.mkv
[20:59] <hay> hi, I would like to add looped audio input (mp3 file) to the video and can't find any useful options.. can it be done and if so, how? thanks a lot!
[21:13] <llogan> hay: maybe the loop option in the amovie filter? or maybe use the concat demuxer or concat filter
[21:15] <llogan> there's a loop example using concat demuxer you can adapt here: https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20%28join,%20merge%29%20media%20files#demuxer
[21:16] <hay> llogan, thanks, will look at it
[21:30] <dert78> How can I do multiple files at once? * doesnt seem to work
[21:30] <c_14> What do you mean?
[21:31] <dert78> "ffmpeg -f image2 -loop 1 -i picture.png -i *.mp3 -c:v libx264 -tune stillimage -c:a copy -shortest movie.mp4" for example
[21:32] <c_14> That's not how it works.
[21:32] <c_14> What are you trying to do?
[21:32] <c_14> Merge or concat or do the same thing for multiple files?
[21:32] <dert78> I am trying to merge audio and a picture into video file format. (but not one by one)
[21:33] <c_14> You have 3 choices, merge the audio tracks, concat the audio tracks, create one output per audio track.
[21:33] <c_14> Pick one.
[21:34] <dert78> I have no idea what those things mean? Im not very tech savy
[21:34] <c_14> merge ie, imagine having 1 boombox per audio track and playing a different audio track on every boombox at the same time
[21:34] <c_14> concat: playing each audio track in succession on one boombox
[21:35] <c_14> create one output per audio track: have numerous boomboxes, play one song on one boombox then the next song on the next boombox, etc
[21:35] <dert78> the last one.
[21:35] <kepstin-laptop> have multiple audio tracks in one output: have songs playing on multiple radio stations, and pick between them with a dial on the boombox
[21:36] <c_14> Right, that was option 4. Forgot about that one.
[21:36] <c_14> Do you have one picture or one picture per mp3?
[21:36] <dert78> one pic for them all
[21:37] <kepstin-laptop> so you have a bunch of mp3s, one picture, and you want to make a bunch of video files where each video file plays one song and shows the picture?
[21:37] <dert78> Exactly
[21:37] <c_14> for mp3 in *.mp3; do ffmpeg -f image2 -loop 1 -i picture.png -i $mp3 -c:v libx264 -tune stillimage -c:a copy ${mp3%.*}.mp4; done
[21:38] <kepstin-laptop> probably add some quotes in case your mp3 filenames have spaces
[21:38] <kepstin-laptop> but that's basically it. :)
[21:39] <llogan> you may need -pix_fmt yuv420p as an output option depending on your target player/device
[21:39] <dert78> Quotes around "${mp3%.*}.mp4" ?
[21:39] <kepstin-laptop> and around "$mp3" as well
[21:41] <llogan> and "-movflags +faststart" as an output option may be desired if this is for progressive download playback (such as via a browser)
[21:41] <dert78> Well, it is for youtube.
[21:42] <llogan> you won't need either of the options i mentioned then
[21:42] <llogan> but add -crf 18
[21:42] <llogan> since youtube will re-encode it anyway
[21:44] <llogan> you can even add lyrics with a subtitles file (hardsub it) or other text with drawtext filter
[21:44] <dert78> $mp3: no such file or dir
[21:44] <dert78> hmm
[21:46] <c_14> Did you use single quotes anywhere?
[21:46] <dert78> ffmpeg -f image2 -loop 1 -i publicdomain.large.png -i "$mp3" -c:v libx264 -tune stillimage -c:a copy "${mp3%.*}.mp4"
[21:47] <kepstin-laptop> dert78: you're supposed to have that wrapped inside of a for loop...
[21:48] <dert78> How do I do that?
[21:48] <c_14> exactly like I wrote up there
[21:49] <llogan> you could add -framerate 2 as in input option. less waiting.
[21:49] <llogan> dert78: what is your OS?
[21:50] <dert78> Oh I didnt know you mean to add for in the code. /facepalm.
[21:50] <dert78> Windows 7
[21:50] <c_14> eh
[21:50] <c_14> that won't work in windows
[21:50] <c_14> probably
[21:50] <kepstin-laptop> oh, then that won't work, the command c_14 gave was a linux shell command
[21:50] <kepstin-laptop> unless you use cygwin or something :/
[21:50] <c_14> You'll need a batch script.
[21:53] <dert78> I will install cygwin real quick and see if that works
[21:53] <llogan> might be easier to just use a normal batch script
[21:53] <ramiro> "cygwin" and "real quick" don't go together in the same sentence...
[21:54] <dert78> How does the batch script look like then?
[21:54] <llogan> there are many examples on the 'net
[21:54] <llogan> or ask in #windows if such a channel exists
[21:55] <llogan> but we gave you all of the ffmpeg stuff for it to work nicely, you just need to figure out the batch part
[21:56] <dert78> Okay, I will do that. Thanks for all the help :)
[23:09] <quixotic> hello. i'm using ffmpeg to convert from mp3 to ogg. My problem is that running the exact same command results in binary different ogg files. I would like the conversion to be deterministic, so that I can rely on the fact that if the input file did not change, I get the exact same binary file as output. I was wondering if somebody would have a tip for me? (http://pastebin.com/RStsM2va)
[23:14] <bakers> quixotic: You run that same command, on the same machine, and get different outputs?
[23:14] <quixotic> yes
[23:16] <quixotic> bakers: they are both legit files and sound the same, but the binary data is slightly different which causes problems in my automation process/revision control system.
[23:17] <bakers> how are you comparing the binary data?
[23:17] <bakers> Filesize?
[23:17] <bakers> Checksum?
[23:18] <quixotic> git is noticing the file discrepancy, i verified via winmerge
[23:19] <bakers> quixotic: Wild... I just did the same thing you did 5 times
[23:19] <bakers> http://www.fpaste.org/154471/41704037/
[23:19] <quixotic> bakers: thanks for taking the time. are you getting the same file?
[23:19] <bakers> I don't know what to tell you, that doesn't make any sense
[23:20] <quixotic> bakers: at least i'm not crazy
[23:20] <bakers> quixotic: All exactly the same size
[23:20] <bakers> http://www.fpaste.org/154472/14170404/
[23:20] <bakers> I wonder if the ogg is the same, but there is some metadata about "encode time" or something that's unique to each one
[23:21] <klaxa> i would think metadata is messing you up
[23:21] <klaxa> yeah
[23:21] <klaxa> try: -map_metadata -0 to unmap metadata from the first input
[23:22] <bakers> If I use ogginfo to look at the metadata
[23:22] <bakers> http://www.fpaste.org/154474/41704056/
[23:23] <bakers> Line #5
[23:23] <bakers> Each file has a different serial number
[23:23] <quixotic> ah yes, i would need a way to force the serial number
[23:24] <bakers> I didn't know ogg files had serial numbesr
[23:25] <bakers> quixotic: https://xiph.org/ogg/doc/oggstream.html
[23:25] <bakers> That page mentions unique serial number several times
[23:25] <bakers> not sure how to set that
[23:27] <quixotic> klaxa: not sure if i'm doing it right, but i think the -map_metadata does not help
[23:28] <bakers> It's gotta be that serial number, I'm not sure how you would force that
[23:29] <c_14> -metadata:[foo]:[bar] baz=thing
[23:29] <c_14> check the manpage
[23:38] <somebody_useless> Hi Guys, I work for a small time service provider and we have run into an issue while transcoding live video. We tweak the settings per channel and SD channels work great, but we have run into an issue when a channel changes audio from stereo to dolby or vice versa (from what we can tell).
[23:38] <somebody_useless> This causes an issue and we have to restart the ffmpeg process manually.
[23:38] <somebody_useless> While checking the output stream using ffmpeg it appears to be encoding the Descriptive Video channel perfectly fine (constant stereo?), however it doesn't appear to allow the primary audio channel (stream/pid) to work properly, we suspect that it is because this channel changes.
[23:38] <somebody_useless> The crazy thing, volumedetect SHOWS that volume is working, yet it isn't. I would LOVE to hear someones incite into this matter!
[23:40] <quixotic> tried setting serial or "s" as metadata, but does not seem to work.. or at least i have no idea what the correct param name should be
[23:51] <llogan> quixotic: use the md5 muxer to test https://ffmpeg.org/ffmpeg-formats.html#md5-1
[23:52] <klaxa> that will require decoding to compare hashes, right?
[23:53] <llogan> yes, but it could also be used to test the encoded output
[23:53] <llogan> by adding -c:v
[23:53] <llogan> to avoid any differences caused by metadata
[00:00] --- Thu Nov 27 2014


More information about the Ffmpeg-devel-irc mailing list