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

burek burek021 at gmail.com
Fri Aug 26 03:05:01 EEST 2016


[00:11:44 CEST] <witChdoCtOr> speaking of time stamps, who knows about time stamps in the libs ???
[01:00:24 CEST] <DHE> witChdoCtOr: can you be more specific?
[01:07:20 CEST] <witChdoCtOr> using and encoder how to setup pts/dts
[01:13:07 CEST] <DHE> streams have a time base indicating what the units of pts/dts are. if possible it should be the inverse of the framerate so that pts is effectively a frame counter
[01:13:36 CEST] <DHE> that's a bit of an oversimplification. there's some example apps in the docs directory you can look at for some initial guidance
[01:13:45 CEST] <witChdoCtOr> yea I have that set, but my output formats still show the wrong fps
[01:13:59 CEST] <witChdoCtOr> I have looked at them a lot plus other code
[01:14:47 CEST] <witChdoCtOr> I can play my output with VLC but the containers show the wrong info when probed
[01:15:31 CEST] <witChdoCtOr> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1024x768 [SAR 1:1 DAR 4:3], 775023 kb/s, 15385.64 fps, 15360 tbr, 15360 tbn, 120 tbc (default)
[01:15:44 CEST] <witChdoCtOr> Stream #0:0: Video: h264 (High), yuv420p, 1024x768 [SAR 1:1 DAR 4:3], 1k fps, 60 tbr, 1k tbn, 120 tbc (default)
[01:17:04 CEST] <will> hello !
[01:17:09 CEST] <will> i'm french
[01:18:11 CEST] <witChdoCtOr> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1024x768 [SAR 1:1 DAR 4:3], 3027 kb/s, 60.10 fps, 60 tbr, 15360 tbn, 120 tbc (default)
[01:18:19 CEST] <will> and i have a problem to read a movie that i buy on itunes and i have copy too bebian beacause it is the only computer connect on my tv
[01:18:30 CEST] <witChdoCtOr> that was without av_stream_set_r_frame_rate
[01:18:44 CEST] <will> the file is a m4v how can y read this file please
[01:19:33 CEST] <witChdoCtOr> will : with ffmpeg?
[01:19:54 CEST] <witChdoCtOr> what does ffmpeg <movie>.m4v show
[01:20:21 CEST] <will> i try read it with vlc and mplayer but i am a newbie on Debian so it's not very easy to me
[01:20:51 CEST] <witChdoCtOr> VLC should work
[01:22:23 CEST] <will> it don't work with vlc
[01:23:02 CEST] <will> ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers
[01:23:02 CEST] <will>   built with gcc 4.9.2 (Debian 4.9.2-10)
[01:23:02 CEST] <will>   configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --
[01:23:02 CEST] <will> enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-ope
[01:23:04 CEST] <witChdoCtOr> try at the command line >> vlc <movie>.m4v
[01:23:06 CEST] <will> nssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-avresample --disable-htmlpages --disable-podpages --enable-libutvideo --enable-libfdk-aac --enable-libx265 --enable-libiec61883 --enable-vaapi --enable-libdc1394 --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
[01:23:11 CEST] <will>   libavutil      54. 20.100 / 54. 20.100
[01:23:13 CEST] <will>   libavcodec     56. 26.100 / 56. 26.100
[01:23:17 CEST] <will>   libavformat    56. 25.101 / 56. 25.101
[01:23:19 CEST] <will>   libavdevice    56.  4.100 / 56.  4.100
[01:23:21 CEST] <will>   libavfilter     5. 11.102 /  5. 11.102
[01:23:23 CEST] <will>   libavresample   2.  1.  0 /  2.  1.  0
[01:23:25 CEST] <will>   libswscale      3.  1.101 /  3.  1.101
[01:23:27 CEST] <will>   libswresample   1.  1.100 /  1.  1.100
[01:23:29 CEST] <will>   libpostproc    53.  3.100 / 53.  3.100
[01:23:31 CEST] <will> File '04 Jason Bourne _ l'héritage (1080p HD).m4v' already exists. Overwrite ? [y/N]
[01:23:33 CEST] <will> what i have to do please ? Overwrite ?
[01:24:07 CEST] <witChdoCtOr> N
[01:24:21 CEST] <witChdoCtOr> sorry
[01:24:37 CEST] <witChdoCtOr> you want ffprobe <movie>.m4v
[01:26:01 CEST] <DHE> use a pastebin, do not paste large amounts of data into IRC
[01:26:17 CEST] <will> sorry i don't understand, I want ffprobe. What do you want tell
[01:26:47 CEST] <witChdoCtOr> do ffprobe <movie>.m4v
[01:26:57 CEST] <witChdoCtOr> look for an ERROR or line like this
[01:27:00 CEST] <witChdoCtOr> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1024x768 [SAR 1:1 DAR 4:3]
[01:28:15 CEST] <will> i have this error
[01:28:31 CEST] <will> Unsupported codec with id 0 for input stream 1 to 22
[01:29:06 CEST] <will> so i have 22 lines like this
[01:29:23 CEST] <witChdoCtOr> I think that is the chapters in the movie
[01:29:28 CEST] <witChdoCtOr> that is prob ok
[01:29:30 CEST] <will> ok
[01:29:52 CEST] <witChdoCtOr> did you not have a stream # with "Video" ?
[01:30:19 CEST] <will> no i haven't
[01:30:40 CEST] <witChdoCtOr> try vlc at the command line
[01:31:19 CEST] <witChdoCtOr> >> vlc "04 Jason Bourne _ l'héritage (1080p HD).m4v"
[01:31:34 CEST] <will> i try, it open vlc but don't read the movie
[01:31:36 CEST] <witChdoCtOr> quotes because you have spaces inthe filename
[01:31:48 CEST] <witChdoCtOr> yea but you will see a log at the command line
[01:32:12 CEST] <witChdoCtOr> it should give you an error about some unsupported codec
[01:32:40 CEST] <will> i have that :
[01:32:44 CEST] <will> LC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[01:32:44 CEST] <will> [000000000180b118] core libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
[01:32:44 CEST] <will> [00007f7fc8c01928] mp4 demux error: cannot create es for track[Id 0x2]
[01:32:45 CEST] <will> [00007f7fc8c01928] mp4 demux error: cannot create es for track[Id 0x1]
[01:32:45 CEST] <will> [00007f7fc8c01928] mp4 demux error: cannot create es for track[Id 0x15]
[01:32:48 CEST] <will> [00007f7fc8c01928] mp4 demux error: cannot create es for track[Id 0x16]
[01:32:50 CEST] <will> [00007f7fc8c01928] mp4 demux error: cannot create es for track[Id 0x17]
[01:33:00 CEST] <will> i'm sorry it's in french
[01:33:13 CEST] <DHE> use a pastebin, do not paste large amounts of data into IRC
[01:33:36 CEST] <witChdoCtOr> looks like its a bad mp4 file
[01:33:48 CEST] <will> DHE : how can'I use a pastebin please
[01:34:16 CEST] <witChdoCtOr> http://pastebin.com/
[01:34:34 CEST] <witChdoCtOr> crate new paste
[01:34:56 CEST] <witChdoCtOr> http://pastebin.com/raw/7pi0ndmp
[01:35:37 CEST] <will> i don't undertand that : looks like its a bad mp4 file
[01:36:15 CEST] <witChdoCtOr> file corrupted or incomplete
[01:36:24 CEST] <will> ok
[01:36:24 CEST] <witChdoCtOr> do you have any other mp4 files?
[01:37:07 CEST] <will> no, but it's not a mp4 file it's a m4v file
[01:37:35 CEST] <witChdoCtOr> [00007f7fc8c01928] mp4 demux error:
[01:37:43 CEST] <klaxa> m4v is just another "name" for mp4 (apple specific iirc)
[01:37:46 CEST] <will> but the file it's not incomplete 5.68 Go
[01:38:13 CEST] <will> like they tell in the itunes
[01:38:21 CEST] <witChdoCtOr> that seems big
[01:38:32 CEST] <witChdoCtOr> any idea how it was encoded?
[01:38:35 CEST] <witChdoCtOr> HD?
[01:38:41 CEST] <will> no it's an HD movie
[01:38:53 CEST] <will> no i'm sorry
[01:39:01 CEST] <witChdoCtOr> tis ok
[01:39:08 CEST] <klaxa> apple likes to throw bitrate at videos to make up for bad encoding decisions (or so i would guess)
[01:39:21 CEST] <witChdoCtOr> the fact that ffprobe did not find a video stream make me thinks its bad
[01:39:27 CEST] <witChdoCtOr> lol
[01:39:40 CEST] <will> ok
[01:39:53 CEST] <witChdoCtOr> i use h.264 in mkv only
[01:40:03 CEST] <witChdoCtOr> my TV does not read other containers
[01:40:21 CEST] <will> ok
[01:41:31 CEST] <will> i'm sorry but i have to smoke, i will come back in 5 minutes i'm very nervus with it's problem
[01:41:50 CEST] <will> i buy and it don't work
[01:42:23 CEST] <will> i'm come back. Can you wait me please ?
[01:45:14 CEST] <witChdoCtOr> np
[01:46:56 CEST] <will> ok i here thank you
[01:48:33 CEST] <will> have you any solution for me please ?
[01:49:13 CEST] <witChdoCtOr> sorry not really if vlc does not play the file, not sure there is much you can do
[01:49:51 CEST] <klaxa> if you can, download the file again
[01:50:18 CEST] <will> but i have read on the web that i need w32codecs to vlc but i don't if i have install that
[01:50:56 CEST] <witChdoCtOr> prob not I would expect the default install of vlc has the basic codec
[01:50:58 CEST] <will> i have this file on an usb drive
[01:51:04 CEST] <klaxa> oh
[01:51:14 CEST] <tdr> will, shouldnt need win32codecs for much if at all anymore
[01:51:18 CEST] <witChdoCtOr> ffprobe did not find a video stream
[01:51:27 CEST] <will> how i have to do ? copy this file on my disk again ?
[01:51:45 CEST] <witChdoCtOr> sounds like a loaded question
[01:51:53 CEST] <klaxa> <witChdoCtOr> ffprobe did not find a video stream
[01:51:59 CEST] <klaxa> did he pastebin the output?
[01:52:04 CEST] <klaxa> maybe i overlooked it
[01:52:10 CEST] <witChdoCtOr> i could copy it to my home dir
[01:52:23 CEST] <klaxa> because all i see is bad tracks id 1-22
[01:52:30 CEST] <witChdoCtOr> some people use their Desktop dir
[01:52:34 CEST] <witChdoCtOr> yea
[01:52:37 CEST] <klaxa> so what about track 0?
[01:52:46 CEST] <witChdoCtOr> which I guess is the chapters but no video
[01:52:49 CEST] <witChdoCtOr> or audio
[01:52:52 CEST] <klaxa> that might be video? the others could be chapters
[01:53:50 CEST] <klaxa> will, can you pastebin the output of ffprobe movie.m4v?
[01:53:56 CEST] <witChdoCtOr> ffprobe -v error -select_streams v:0 -show_entries stream=profile,codec_time_base,r_frame_rate,time_base -of default=noprint_wrappers=1 "04 Jason Bourne _ l'héritage (1080p HD).m4v"
[01:54:40 CEST] <witChdoCtOr> sorry premature enter
[01:54:41 CEST] <furq> ??
[01:54:43 CEST] <furq> oh
[01:55:39 CEST] <witChdoCtOr> will do this: ffprobe -v error  -show_format -show_streams "04 Jason Bourne _ l'héritage (1080p HD).m4v"
[01:55:55 CEST] <will> ok 2 min please
[01:56:49 CEST] <witChdoCtOr> anyone know how to correct time_stamps from AVFrame -> AVPacket in mp4 container
[01:58:26 CEST] <will> http://pastebin.com/M8bUqXeT
[01:59:14 CEST] <klaxa> that's not the complete output
[01:59:28 CEST] <klaxa> it starts in the middle of stream 2
[01:59:36 CEST] <will> ok 2 min
[02:00:37 CEST] <witChdoCtOr> found the problem
[02:00:40 CEST] <witChdoCtOr> http://www.apple.com/DTDs/PropertyList-1.0.dtd
[02:00:57 CEST] <witChdoCtOr> lol
[02:01:21 CEST] <witChdoCtOr> format_long_name=QuickTime / MOV
[02:01:28 CEST] <will> i'm sorry but i don't understand i have paste what the command give me
[02:01:36 CEST] <witChdoCtOr> you did it right
[02:01:46 CEST] <witChdoCtOr> i was making a joke about apple
[02:01:48 CEST] <will> ok thank
[02:01:59 CEST] <will> ok
[02:02:20 CEST] <witChdoCtOr> someone else will need to chime in here because I dont know containers
[02:02:30 CEST] <furq> will: your paste starts in the middle of the ffprobe output
[02:02:56 CEST] <witChdoCtOr> lol yea missing streams 0-2
[02:03:35 CEST] <klaxa> that's what i said...
[02:04:00 CEST] <witChdoCtOr> cred
[02:04:12 CEST] <will> yea but i post all that the ffprobe command give me !
[02:04:26 CEST] <klaxa> your terminal's buffer is not big enough then
[02:04:36 CEST] <klaxa> your paste should start with the command you ran
[02:04:42 CEST] <witChdoCtOr> just do >> ffprobe "04 Jason Bourne _ l'héritage (1080p HD).m4v"
[02:04:46 CEST] <witChdoCtOr> first
[02:04:54 CEST] <witChdoCtOr> create a new paste
[02:05:25 CEST] <will> ok for the buffer
[02:05:35 CEST] <witChdoCtOr> whats the default terminal in ubutu?
[02:05:48 CEST] <will> no xfce
[02:06:09 CEST] <witChdoCtOr> +n
[02:06:36 CEST] <witChdoCtOr> just do a new paste
[02:08:14 CEST] <witChdoCtOr> what rate should pts and dts be changing /frame ???
[02:09:27 CEST] <will> http://pastebin.com/CwLXPNsM
[02:10:03 CEST] <furq> "drmi"
[02:10:10 CEST] <furq> that doesn't look good
[02:10:24 CEST] <witChdoCtOr> nope
[02:10:34 CEST] <witChdoCtOr> sounds like there is a lock on the door
[02:11:42 CEST] <furq> there are apparently tools which will remove itunes drm
[02:11:50 CEST] <furq> ffmpeg won't do it though
[02:11:59 CEST] <witChdoCtOr> did somebody just COPY the DVD without decryption? If so I dont think you can fix that.
[02:12:22 CEST] <furq> what does this have to do with dvd
[02:12:43 CEST] <furq> or did i miss a joke
[02:12:47 CEST] <witChdoCtOr> lol I am old forgive me
[02:13:37 CEST] <will> I don't understand in this world it is better that be a pirate instand of be a legal guy
[02:13:56 CEST] <witChdoCtOr> actually for that stuff yea!
[02:14:09 CEST] <furq> well you already paid for it so you might as well pirate it now
[02:14:18 CEST] <will> lol
[02:14:23 CEST] <furq> that's probably the easiest path forward ;_;
[02:14:26 CEST] <witChdoCtOr> You would not believe the pains I went through to play my own DVDs on linux
[02:14:48 CEST] <tdr> witChdoCtOr, or the failure of 3d dvds to work under linux
[02:15:19 CEST] <furq> will: google suggests a program called "requiem" but it's windows/osx only
[02:15:57 CEST] <witChdoCtOr> tdr loke this
[02:15:59 CEST] <will> ok but i have only Debian connect to my tv
[02:16:29 CEST] <furq> afaik it'll give you a new unencrypted file, rather than doing it on the fly
[02:16:30 CEST] <witChdoCtOr> tdr so the rest did not see this?
[02:16:33 CEST] <furq> so you can do it on another computer
[02:16:56 CEST] <will> i'm very bad with microdt and apple it's copyright and it don't help us so i decided to move to Debian
[02:17:05 CEST] <witChdoCtOr> oh gotcha
[02:17:16 CEST] <witChdoCtOr> it hightlights on my screen
[02:18:05 CEST] <witChdoCtOr> whitchdoctor amuck amuck amuck
[02:18:14 CEST] <witChdoCtOr> lol crap
[02:18:28 CEST] <witChdoCtOr> witchdoctor amuck amuck amuck
[02:19:00 CEST] Last message repeated 1 time(s).
[02:19:05 CEST] <witChdoCtOr> ok sorry done now
[02:20:28 CEST] <will> ok i'm tired so i think that i going to bed . s.o.b of apple i'm will phone tomorrow for they give my money
[02:21:01 CEST] <klaxa> i buy blurays and digital "goods" merely to support the creators, pirates create way better copies than the original authors (also because of the absence of drm)
[02:21:49 CEST] <will> now i'will buy only blu-ray but i'm bad that blu-ray it's not the support that i wan't to stck my movies but files
[02:22:02 CEST] <will> stock
[02:23:10 CEST] <will> Sorry but so there is not solution. it's that ?
[02:23:57 CEST] <klaxa> not really no
[02:24:05 CEST] <will> ok
[02:24:12 CEST] <klaxa> the problem is rooted deeply in the movie industry
[02:24:24 CEST] <klaxa> or rather the copyright industry
[02:24:35 CEST] <will> ok
[02:24:42 CEST] <witChdoCtOr> I have pirated every movie I bought
[02:25:12 CEST] <will> thank you verymutch to what you did for you're very cool
[02:25:12 CEST] <witChdoCtOr> but the movie industry definition of "pirate"
[02:25:21 CEST] <will> lol
[02:25:35 CEST] <witChdoCtOr> s/b by
[02:25:42 CEST] <witChdoCtOr> take care
[02:25:53 CEST] <klaxa> funnily enough studies show that piracy actually promotes the material and people who would have never gotten in touch with the IP start spending money on other goods
[02:25:58 CEST] <klaxa> so it's actually free advertising
[02:26:21 CEST] <will> witChdoCt0r : thank you man for all
[02:26:46 CEST] <will> thank you to for Klaxa
[02:26:58 CEST] <witChdoCtOr> I got tried of that DRM crap when my first htpc was not "compliant" so I could not even play DVD with video card to DVI
[02:27:01 CEST] <klaxa> sure, it was a nice discussion
[02:27:25 CEST] <witChdoCtOr> Was that cal HDCP or something like that
[02:27:52 CEST] <furq> hdcp was much later
[02:28:05 CEST] <will> well I tired i go to bed, thank you by
[02:28:10 CEST] <witChdoCtOr> I dont remember I got CRS
[02:28:41 CEST] <witChdoCtOr> I just know that with the DVI plugged in, it would trigger the DRM crap and refuse to play
[02:29:20 CEST] <klaxa> i heard about some similar stuff with windows laptop that wouldn't play movies on external displays
[02:29:31 CEST] <klaxa> like, the window would be just black
[02:30:01 CEST] <witChdoCtOr> well I was using Micro$haft media player ... nuff said?
[02:30:26 CEST] <klaxa> i'm glad i switched to linux a few years ago
[02:30:30 CEST] <klaxa> i may have a lot more trouble
[02:30:37 CEST] <klaxa> but at least i feel good about it
[02:31:12 CEST] <witChdoCtOr> yea the car might be broke down, but we can fix it, if we feel inclined
[02:31:13 CEST] <klaxa> and i can actually understand why and how certain things do or don't work
[02:32:08 CEST] <klaxa> i always tell people that when you run linux you spend about 10% (more or less depending on distro and skill) of the time on your computer fixing it
[02:54:13 CEST] <mrelcee> i don't use linux - I use FreeBSD as a server..   with KDE4 dekstop running on it so I don't have to use tty consoles and can have wide xterms...    I occasionally spend a lot of time on the server and then I leave it alone for weeks while it churns it's duties..    My regular machine is a Macbook Pro and that spends most of it's time either in Adobe apps or terminals.
[02:55:14 CEST] <witChdoCtOr> anyone worked with PTS/DTS for encoding
[02:55:52 CEST] <witChdoCtOr> ashamed but my PLEX server is a Windows 2012 R2
[02:56:05 CEST] <MINIMAN10000> lol
[02:56:05 CEST] <mrelcee> whatever works...
[02:56:13 CEST] <MINIMAN10000> as long as your ashamed.
[02:56:17 CEST] <witChdoCtOr> with the wife and kiddo needing logins it was way easier to have an AD
[02:56:28 CEST] <witChdoCtOr> <--- hiding in closet
[02:56:42 CEST] <witChdoCtOr> they only use windows and apple
[02:56:53 CEST] <witChdoCtOr> but PLEX is awsome!!!!!
[02:56:58 CEST] <furq> i don't have a family so my server is freebsd
[02:57:03 CEST] <MINIMAN10000> lol
[02:57:04 CEST] <mrelcee> my plex server was a mac mini until all the crap I had loaded on it caused it to have a 325 system load one night.   That's when i bought the i7 and started building my own server.  :)
[02:57:15 CEST] <witChdoCtOr> I have one copy of the movies on the server and all the devices get served
[02:57:33 CEST] <mrelcee> core2duo, did not lkike running itunes, file sharing, sonarr, plex, and a few other things..
[02:57:35 CEST] <witChdoCtOr> my server is just an i5 and it does fine
[02:58:04 CEST] <witChdoCtOr> I did splurge on the raid system
[02:58:16 CEST] <mrelcee> i got the i7 becuase of my intent to re-encode my entire tv/movie collection to h.265...    and hoover up much less space..
[02:58:29 CEST] <witChdoCtOr> In all honesty Micro$haft RDP blows everyone's else away
[02:58:43 CEST] <furq> why would you need to remote desktop into a server
[02:58:44 CEST] <witChdoCtOr> good choice
[02:58:52 CEST] <furq> oh nvm you'd need to do that because it's windows
[02:58:56 CEST] <witChdoCtOr> que up handbrack and let it run.............
[02:59:12 CEST] <mrelcee> i had a raid5 box but the stress of moving over to the freensd box killed a drive in it..    i'm waiting for funds to build a raidz2  zfs setup in it..
[02:59:23 CEST] <witChdoCtOr> sweet
[02:59:41 CEST] <witChdoCtOr> when mine does or bsods I and moving it to this linux box
[03:00:05 CEST] <mrelcee> just have a two drive pool no mirroring holding my stuff for now.  knock on LCD  hopefully i don't have a blowout
[03:00:58 CEST] <witChdoCtOr> i bought one of those cheap hot swap sata bays and every so often I plug a green drive and and mirror directories from the raid
[03:01:16 CEST] <witChdoCtOr> already had one raid failure and got lucky on the rebuild
[03:01:39 CEST] <witChdoCtOr> course the last reboot of the rebuild and the OS disk had a smart failure
[03:02:21 CEST] <witChdoCtOr> linux to the resucue clonzilla cloned the drive Windows Server mind you and it rebooted!
[03:02:34 CEST] <witChdoCtOr> some days it is better to be lucky than good :-)
[03:06:43 CEST] <mrelcee> heheh
[03:06:49 CEST] <mrelcee> I'm good and lucky  :)
[03:11:04 CEST] <witChdoCtOr> anyone know what this does?  av_packet_rescale_ts( &m_av_packet, m_av_codec_ctx->time_base, m_av_out_fmt_ctx->streams[ 0 ]->time_base );
[03:12:57 CEST] <sabusanta> witChdoCtOr: HandBrake has a commandline version
[03:13:22 CEST] <sabusanta> Ive been using that quite frequently lately. (and even at this moment)
[03:13:45 CEST] <witChdoCtOr> yea I love handbrake used it for several years
[03:15:17 CEST] <sabusanta> I use it because it's less imposing than the ffmpeg/avconv commands and packaged userfriendly lol
[03:15:29 CEST] <sabusanta> Though i could use a few more features
[03:15:31 CEST] <witChdoCtOr> amen
[03:16:27 CEST] <sabusanta> I liked it so much I was trying to donate but oddly enough they dont accept them
[03:17:47 CEST] <witChdoCtOr> must not be republicans
[03:17:54 CEST] <witChdoCtOr> ohhh did I say that out loud
[03:18:10 CEST] <witChdoCtOr> sry cpy and paste error :-)
[03:19:08 CEST] <DHE> ffmpeg is very feature rich. cli tools like that tend to have tough learning curves.
[03:20:57 CEST] <witChdoCtOr> try writing the code to use those features....argggg
[03:21:07 CEST] <witChdoCtOr> look at the brick imprints on my forehead
[03:21:08 CEST] <sabusanta> DHE: True. Props to it. It's just a bit formidable
[03:21:41 CEST] <sabusanta> Though for something common and frequently done it's easier to use HB
[03:22:11 CEST] <sabusanta> Though for like back in the day when I had a Sansa Fuze and it would only play certain videos in a certain formattted way it was better to use FFMPEG
[03:22:50 CEST] <DHE> I used mencoder for quite a number of years... you go with what you know and what serves you well
[03:23:10 CEST] <sabusanta> ...or maybe it was MEncoder. Dont remember but basically for more power and customization use the CLI type base tools (MEncoder, ffmpeg, avconv)
[03:24:10 CEST] <sabusanta> all great tols none the less. hopeful one day i can learn to program. As I want to make a few tools myself
[03:24:39 CEST] <sabusanta> *tools
[03:38:08 CEST] <VamoMenem> exist some equivalent to -force_key_frames expr:gte(t,n_forced*GOP_LEN_IN_SECONDS)  for gpu nvenc workflow ?
[03:39:22 CEST] <VamoMenem> limiting by gop size -g 50 for example, is not compatible with segmenter
[04:10:00 CEST] <blb> they just showed using ffmpeg on mr robot
[04:18:46 CEST] <witChdoCtOr> it there some other place to get help with libav... other than there and libav-user at ffmpeg.org other than just SO
[07:02:23 CEST] <Spring> what is the equivelent 'title' metadata name for MP4s?
[07:02:40 CEST] <Spring> Asked earlier but no replies
[07:03:03 CEST] <Spring> with WebM it's 'title' but using the same option for MP4s doesn't change it
[07:03:52 CEST] <Spring> this is what I'm using: -metadata title=
[07:03:59 CEST] <Spring> to make the title blank
[07:04:56 CEST] <Spring> actually, my mistake, didn't have the variable in the Mp4 command -_-
[07:56:56 CEST] <funfunctor> Hi, does anyone know the answer to this question => http://stackoverflow.com/questions/32005782/how-to-query-all-devices-in-ffmpeg
[10:16:52 CEST] <jookiyaya> cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 /
[10:16:52 CEST] <jookiyaya> b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=599 / keyint_min=59 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
[10:16:52 CEST] <jookiyaya> Language                       : English
[10:29:26 CEST] <viric> Who wanted measures of Hyperthreading benefits? I forgot
[10:58:46 CEST] <ozette> the ffmpeg i built for my target can transcode mp4 to gif and mp4 to avi, but when i try 'mp4 to mp4' or 'mp4 to m3u8' it results in a SIGILL, any ideas why?
[10:58:55 CEST] <ozette> file info: SampleVideo_1280x720_1mb.mp4: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
[11:01:02 CEST] <ozette> available codecs on target:
[11:01:06 CEST] <ozette> DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (encoders: libx264 libx264rgb )
[11:01:23 CEST] <ozette>  D.A..S mp4als               MPEG-4 Audio Lossless Coding (ALS) (decoders: als )
[11:07:48 CEST] <ozette> x264 was built with:
[11:08:08 CEST] <ozette> ./configure --prefix=/path/x264/build --enable-static --disable-opencl --host=arm-unknown-linux-gnueabi --cross-prefix=arm-unknown-linux-gnueabi-
[11:10:05 CEST] <durandal_1707> ozette: sigkill? Something kills it?
[11:10:58 CEST] <ozette> durandal_1707: no sigill :)
[11:12:32 CEST] <ozette> a simple command like ffmpeg -i in.mp4 out.mp4 fails
[11:12:47 CEST] <JEEB> gdb is your friend :P
[11:12:51 CEST] <ozette> but ffmpeg -i in.mp4 out.gif is ok
[11:13:02 CEST] <ozette> haha
[11:13:08 CEST] <JEEB> just make sure you had --enable-debug everywhere when building
[11:13:08 CEST] <durandal_1707> miscompilation
[11:13:40 CEST] <durandal_1707> you use it on real machine?
[11:14:11 CEST] <ozette> sounds like miscompilation yes, but yesterday everything seemed fine, but didn't try out the mp4 > m3u8 yet, so yea..
[11:14:23 CEST] <bencoh> you didnt try x264 yet, basically ;p
[11:14:42 CEST] <ozette> it's a machine with an armada xp processor
[11:16:18 CEST] <ozette> haha.. well yea, i tried some basic things which worked and then went on to dosomething else
[11:17:52 CEST] <ozette> debugging ffmeg with gdb for my target sounds like pain
[11:21:13 CEST] <ozette> maybe i should compile without optimizations?
[11:29:35 CEST] <ozette> nevermind, with --disable-optimizations:
[11:29:37 CEST] <ozette> common.mak:60: recipe for target 'libavfilter/colorspacedsp.o' failed
[11:29:40 CEST] <ozette> make: *** [libavfilter/colorspacedsp.o] Error 1
[11:39:47 CEST] <durandal_1707> make distclean
[11:50:54 CEST] <ozette> durandal_1707: thanks
[11:51:32 CEST] <ozette> but still errors at colorspacedsp.o
[11:56:37 CEST] <FirePowi> Hello, how to integrate subtitles directly in an output video ?
[11:56:41 CEST] <FirePowi> I tried this : ffmpeg -i input.mkv -i input.fr.srt -map 0:0 -map 0:1 -map 1:0 -c:v:0 libvpx-vp9 -threads 8 -vb 4M -crf 10 -c:a:0 libvorbis -qscale:a 8 -ar 48000 test.webm
[11:57:46 CEST] <FirePowi> But I don't have subtitles in the output when I watch it (on VideoLan aka VLC)
[11:58:42 CEST] <FirePowi> !paste
[12:10:24 CEST] <c_14> FirePowi: can you upload the output of `ffprobe test.webm' to a pastebin service?
[12:13:29 CEST] <FirePowi> http://pastebin.com/sHps7ehy
[12:15:03 CEST] <c_14> So it has a subtitle track, either VLC is not displaying it correctly or it's empty
[12:15:16 CEST] <c_14> input.fr.srt is not empty, right?
[12:15:54 CEST] <c_14> And I'm not sure what you mean with "integrate subtitles directly" but if you meant hardcoding the subs, https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo
[12:18:43 CEST] <ozette> let's say i compile ffmpeg with --enable-debug
[12:19:16 CEST] <ozette> i.e cross-compile
[12:19:36 CEST] <ozette> what's a recommended way to debug? do i need qemu?
[12:19:53 CEST] <ozette> my target doesn't have gdb
[12:27:49 CEST] <FirePowi> c_14, that was what I wanted !
[12:27:51 CEST] <FirePowi> THANKS !
[12:28:07 CEST] <FirePowi> It was hardcoding subs.
[12:35:25 CEST] <Spring> is there any way to emulate the 'stillimage' x264 preset with VP9?
[12:36:17 CEST] <Spring> it's so much more effective at squeezing the quality into scenes with less movement
[12:36:26 CEST] <jookiyaya> x264 core 148 r2579M 73ae2d1
[12:36:27 CEST] <jookiyaya> Encoding settings              : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=4 / lookahead_threads=1 / sliced_threads=0 / nr=250 / decimate=1 / interlaced=0 / bluray_compat=0 / stitchable=1 / constrained_intra=0
[12:36:27 CEST] <jookiyaya> / bframes=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=2pass / mbtree=1 / bitrate=3360 / ratetol=1.0 / qcomp=0.60 / qpmin=5 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
[12:36:28 CEST] <jookiyaya> Default                        : Yes
[12:37:16 CEST] <Spring> erm
[12:37:21 CEST] <jookiyaya> x264 core 104 r1683 62997d6
[12:37:21 CEST] <jookiyaya> Encoding settings              : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=16 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0
[12:37:21 CEST] <jookiyaya> / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=3213 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
[12:37:21 CEST] <jookiyaya> Language                       : English
[12:39:28 CEST] <Spring> oh, I remember you
[13:47:06 CEST] <Spring> what is the default setting of the 'speed' option for vpx anyone know? Didn't find it in the verbose -report
[13:48:43 CEST] <BtbN> https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/libvpxenc.c#L1053
[13:48:47 CEST] <BtbN> that would be 1.
[13:52:51 CEST] <Spring> BtbN, appreciated. So it's basically the lowest it can go while still being reasonable.
[13:53:10 CEST] <BtbN> No idea about that setting. But it's listed in the "legacy"-block.
[13:53:17 CEST] <BtbN> The value range is -16 to 16
[13:54:06 CEST] <Spring> vpx quality is a pain getting right without a tuning setting
[13:58:43 CEST] <BtbN> libvpx in general is horrible.
[13:59:00 CEST] <BtbN> Can't even hold a target bitrate propperly
[14:01:26 CEST] <Spring> when I saw how x264 encoded the same clips with the tuning settings I was stunned, frankly. So much simpler and maintained a steady quality.
[14:03:37 CEST] <JEEB> x264 actually had a community poking at it
[14:04:00 CEST] <JEEB> libvpx and x265 pretty much don't. and at least GOOG doesn't give a damn about rate control among other things
[14:04:15 CEST] <JEEB> I just hope the AOM project makes it better
[14:04:28 CEST] <JEEB> because at least in theory there should be more cooks in the mess hall
[14:04:46 CEST] <ozette> hmm..
[14:06:54 CEST] <viric> Spring: what tunning settings?
[14:07:19 CEST] <JEEB> probably the -tune ones (--tune @ x264 cli)
[14:07:20 CEST] <Spring> viric, eg: -tune stillimage
[14:07:28 CEST] <JEEB> although their usage is not required
[14:07:37 CEST] <JEEB> since the standard settings are generally good
[14:07:47 CEST] <Spring> for my use stillimage makes a significant difference
[14:07:48 CEST] <viric> ok
[14:07:59 CEST] <viric> is your image all still? or mostly still?
[14:08:03 CEST] <Spring> yes
[14:09:02 CEST] <Spring> looking at foliage moving or clouds passing over foliage fine details are maintained with it, while vpx struggles
[14:09:23 CEST] <Spring> for almost static scenes vpx is excellent though
[14:09:28 CEST] <JEEB> psychovisual optimizations are another thing not really well done
[14:10:53 CEST] <Spring> without the tuning though they're both comparable tbh
[14:11:12 CEST] <Spring> vpx may even have the edge
[14:12:11 CEST] <JEEB> you'd have to actually be more specific than that for that to be a valid statement
[14:12:28 CEST] <JEEB> "at the same speed and average rate X is better than Y"
[14:12:45 CEST] <JEEB> or "both maximized and with the same average rate X is better than Y"
[14:13:10 CEST] <Spring> well, from my testing at similar quality settings
[14:13:29 CEST] <JEEB> "similar"
[14:15:40 CEST] <JEEB> vp9 is the thing I'd generally say could visually be better with libvpx than libx264... too bad for the rate control and psychovisual optimizations. but that's purely because while vp8 was based off AVC, vp9 is based off HEVC.
[14:15:53 CEST] <Spring> okay, VP9 at CRF 33, -b:v 20M, qmax 40 vs x264 at CRF 26, maxrate 20M, bufsize * 10 maxrate, on preset slower VPX has near-equivalent settings for 5MB less
[14:16:12 CEST] <Spring> both the same audio bitrate
[14:17:23 CEST] <JEEB> yeah, vp9 is +1 gen compared to AVC so not surprising if it can in some cases perform better. although I guess you didn't exactly match up the two encoders.
[14:17:41 CEST] <JEEB> also I don't exactly remmeber tune stillimage... did it completely kill off non-intra?
[14:18:10 CEST] <Spring> all I know about it is it reduces the deblocking and changes some psy settings
[14:18:22 CEST] <JEEB> yeah, that I do remember
[14:18:38 CEST] <jookiyaya> what is better? vp9 or x265
[14:18:58 CEST] <JEEB> vp9 is a format, x265 is an encoder
[14:19:03 CEST] <JEEB> at least specify your things correctly
[14:19:13 CEST] <jookiyaya> what is better? vp9 or h265
[14:19:29 CEST] <nonex86> vp9 is a codec, isnt it?
[14:19:35 CEST] <nonex86> better in which way?
[14:19:35 CEST] <JEEB> vp9 is a video format
[14:19:41 CEST] <JEEB> like HEVC/H.265
[14:19:45 CEST] <jookiyaya> quailty/size
[14:19:59 CEST] <JEEB> jookiyaya: format-wise I prefer HEVC because it has a proper spec instead of what ended up being done by GOOG
[14:20:05 CEST] <JEEB> in general they're similar
[14:20:13 CEST] <JEEB> so it's mostly up to which has a better encoder
[14:20:21 CEST] <JEEB> because even a good format can  fuck off with a bad implementation
[14:20:22 CEST] <nonex86> vpx familty doesnt have concept of bframes
[14:20:30 CEST] <JEEB> yeah, but they have gold frames
[14:20:31 CEST] <nonex86> as far as i remember
[14:20:44 CEST] <JEEB> which are a similar'ish concept of out-of-order pictures
[14:20:59 CEST] <jookiyaya> i see vp9 on handbrake, which vp9 encoder is this then
[14:21:05 CEST] <JEEB> libvpx most probably
[14:21:06 CEST] <nonex86> hevc in compression terms still unbeatable
[14:21:28 CEST] <jookiyaya> who made libvpx
[14:21:31 CEST] <JEEB> GOOG
[14:21:39 CEST] <jookiyaya> you mean google
[14:21:41 CEST] <JEEB> GOOGyes
[14:21:47 CEST] <JEEB> nonex86: for that you'd have to read the specs of both and compare the theoretical pros and cons. I don't think either of us has done that
[14:22:00 CEST] <JEEB> but yes, in general I'd side with the better specified HEVC
[14:22:06 CEST] <JEEB> too bad the real thing is the implementations
[14:22:15 CEST] <JEEB> you can have a great format and awful implementations
[14:22:43 CEST] <jookiyaya> is there a h264 that is just horrible
[14:22:48 CEST] <jookiyaya> is there a h264 encoder that is just horrible
[14:22:49 CEST] <JEEB> yes
[14:22:51 CEST] <JEEB> plenty
[14:23:10 CEST] <jookiyaya> what about apple one
[14:23:20 CEST] <JEEB> the apple one, many flash media server things, MS's encoder used in the express encoder 3
[14:23:26 CEST] <JEEB> badaboom thing
[14:23:33 CEST] <JEEB> quite a bit of the HW encoders
[14:23:43 CEST] <JEEB> (they only got OK around haswell+ I think)
[14:23:52 CEST] <JEEB> (OK for some uses)
[14:23:53 CEST] <jookiyaya> i wonder why apple/ms  encoder cannot catch up with x264
[14:24:10 CEST] <JEEB> apple just licensed it from someone and MS just didn't put effort into it :P
[14:24:16 CEST] <JEEB> it's simpler to just license it off of someone
[14:24:23 CEST] <JEEB> express encoder 4 already licensed it off of someone
[14:24:23 CEST] <jookiyaya> who is someone?
[14:24:41 CEST] <JEEB> anyone from x264 LLC to MainConcept
[14:24:48 CEST] <JEEB> adobe widely uses mainconcept for example
[14:25:16 CEST] <jookiyaya> if they licensed from x264, wouldn't it be good as x264
[14:25:30 CEST] <JEEB> it is x264, you can just license it without the GPL
[14:25:34 CEST] <JEEB> since it's dual licensed
[14:25:41 CEST] <JEEB> I think steam licenses it
[14:25:43 CEST] <JEEB> among other things
[14:26:30 CEST] <JEEB> yeah, libx264-142.dll in steam
[14:27:19 CEST] <JEEB> iin any case, my point was that you could have better|worse in various ways for the formats and the implementations of those format completely separately
[14:27:45 CEST] <jookiyaya> i wonder why nobody can catch up with x265
[14:27:53 CEST] <jookiyaya> and x264
[14:28:02 CEST] <JEEB> x265 is not related to x264
[14:28:13 CEST] <JEEB> in any other way than MCW licensing the name and code from x264 LLC
[14:28:22 CEST] <JEEB> so they can use many parts of the x264 code
[14:28:38 CEST] <Spring> so... it kind of is :p
[14:28:58 CEST] <JEEB> in the sense that they can take some code and try to copypasta it into theirs
[14:29:06 CEST] <JEEB> x264 is C and x265 is C++ based off of HM
[14:29:11 CEST] <JEEB> (the reference HEVC implementation)
[14:29:49 CEST] <JEEB> it's fun to look where x265 folk can't figure things out because HEVC has new things that weren't in AVC
[14:29:56 CEST] <jookiyaya> i wonder what  h264 encoder  the  commericial bluray use
[14:30:09 CEST] <JEEB> x264 was used for some (criterion etc)
[14:30:15 CEST] <JEEB> then there's the big-buck sony etc encoders
[14:30:33 CEST] <JEEB> blu-ray encoders generally have a different audience and set of features from those that need higher compression ratios tho
[14:31:21 CEST] <JEEB> but still, IIRC with the last test I did with x265 it did beat libvpx-vp9. that was ages ago, though.
[14:31:51 CEST] <JEEB> whether or not it is better than f.ex. x264 for your use case is a separate discussion of course
[14:32:21 CEST] <JEEB> and due to the whole licensing lulz the VPx family is getting looked upon more and now we have the AV1 format brewing up from the AOM project
[14:32:38 CEST] <JEEB> and if that ends up with a proper, specified format I'm all for that
[14:32:43 CEST] <jookiyaya> is there way i can find out which h264 encoder was used  on my bluray
[14:33:01 CEST] <JEEB> not really unless the encoder left its fingerprint there
[14:33:15 CEST] <JEEB> like x264 by default writes the SEI with the parameters etc
[14:33:47 CEST] <jookiyaya> i don't like how x264 uses the version # system
[14:34:01 CEST] <bencoh> I wonder if x265 ratecontrol eventually works
[14:34:22 CEST] <JEEB> I'm happy I didn't have to test it with VBV/HRD
[14:34:30 CEST] <JEEB> most of my tests are simple CRF tests
[14:34:37 CEST] <bencoh> well I had to, and ...
[14:34:44 CEST] Action: JEEB pats bencoh 
[14:34:54 CEST] <bencoh> it just couldn't produce a clean vbv-compliant stream
[14:35:10 CEST] <JEEB> I'm like totally surprised that such a project couldn't do it :3
[14:35:18 CEST] <JEEB> although they seem to advertise UHD BD compliance now
[14:35:21 CEST] <JEEB> whatever the hell that means
[14:35:45 CEST] <JEEB> also do note that the last I checked -maxrate and -bufsize weren't passed to the encoder in FFmpeg
[14:35:45 CEST] <bencoh> maybe they eventually "fixed" (workaround with plenty of padding?) the issue
[14:36:06 CEST] <JEEB> so you had to set the VBV/HRD settings manually with -x265-params
[14:36:12 CEST] <bencoh> yeah, same here
[14:36:46 CEST] <bencoh> looks like nobody really cares, but ... it's kinda mandatory for a live encoder
[14:36:59 CEST] <JEEB> yup
[14:38:13 CEST] <jookiyaya> does it cost more money to use h264 over mpeg2 or v1  on blruay ?
[14:38:57 CEST] <JEEB> no idea, that is completely up to the mastering company
[14:39:13 CEST] <JEEB> at this point I don't see any VC1 or MPEG-2 Video BDs coming out though
[14:39:20 CEST] <JEEB> so I think you don't even have a choice any more :P
[14:39:38 CEST] <bencoh> mpeg2, like ... mp2v? :]
[14:39:55 CEST] <jookiyaya> social network disc 2 bluray uses mpeg2
[14:40:09 CEST] <JEEB> container or video format
[14:40:17 CEST] <JEEB> I'd be surprised if they used MPEG-2 Video
[14:40:26 CEST] <jookiyaya> jeeb  disc 2 does
[14:40:30 CEST] <jookiyaya> not disc 1
[14:40:33 CEST] <JEEB> I mean, MPEG-2 Video blu-rays happened in '05-'06
[14:40:37 CEST] <JEEB> wow
[14:40:42 CEST] <JEEB> what a waste of bits
[14:41:04 CEST] <jookiyaya> it's 25gb disc
[14:41:06 CEST] <JEEB> VC-1 was used by some US studios up until '11 or so?
[14:41:10 CEST] <bencoh> mpeg2 artifact nostalgia?
[14:41:26 CEST] <Spring> hadn't heard of AV1 before, looks very recent
[14:41:40 CEST] <JEEB> yes, in-development
[14:41:54 CEST] <JEEB> hopefully they will not do VP8/9 style all over again
[14:42:11 CEST] <JEEB> because that leads to "oh we just had the reference implementation so that is the standard" kind of stuff
[14:42:22 CEST] <JEEB> and then you have a bug in the reference implementation and that bug becomes a feature
[14:42:27 CEST] <JEEB> (´4@)
[14:43:04 CEST] <jookiyaya> jeeb disc 2 is only extras
[14:43:08 CEST] <bencoh> :]
[14:57:57 CEST] <ozette> when i run my ffmpeg with qemu-arm i can do mp4 > m3u8 just fine
[14:58:06 CEST] <ozette> but on my target it's a sigill
[14:58:28 CEST] <ozette> anyone knows what the Lavc57.48.101 aac encoder is responsible for?
[14:59:15 CEST] <DHE> aac audio encoding?
[14:59:28 CEST] <DHE> SIGILL means you got the wrong model of CPU when building ffmpeg
[14:59:31 CEST] <ozette> it seems my target has a problem with that
[14:59:44 CEST] <DHE> it COULD be a bug in ffmpeg itself but you'd think that'd  be noticed fairly quick
[14:59:50 CEST] <ozette> well
[15:00:04 CEST] <t4nk067> Hey, I don't go to IRCs much but I have a question. With the -ss command, how can I seek to further than 100 hours? Since 'HH:MM:SS' only goes to 99. Also it seems that if I just give it a number, it counts that as seconds and is also valid input, is there a limit to this number?
[15:00:39 CEST] <ozette> the toolchain i used to build ffmpeg is from a vendor and made for the target cpu
[15:01:23 CEST] <c_14> t4nk067: probably INT64_MAX, and I think you can just do 500:00:00
[15:01:24 CEST] <c_14> etc
[15:01:45 CEST] <t4nk067> Cool, thanks. I'll try it out.
[15:01:46 CEST] <Spring> t4nk067, do you have an input longer than 100 hours?
[15:02:01 CEST] <t4nk067> There might actually be...
[15:02:11 CEST] <c_14> The seconds should be at least 32-bit int though. So as long as your video is shorter than 2038 years you'll be fine
[15:02:19 CEST] <Spring> :p
[15:09:50 CEST] <ozette> the build machine with qemu-arm: https://paste.fedoraproject.org/413814/14721299/ the host with the same program doesn't get further than SoundHandler: https://paste.fedoraproject.org/413820/14721305/
[15:11:38 CEST] <ozette> cpuinfo: https://paste.fedoraproject.org/413821/47213063/ toolchain used: https://sourceforge.net/projects/dsgpl/files/DSM%206.0%20Tool%20Chains/Marvell%20Armada%20XP%20Linux%203.2.40/
[15:15:25 CEST] <kepstin> ozette: at this point, you should probably look into running the code in a debugger and getting an assembly dump of the offending instructions, and hope that someone familiar with arm assembly can take a look :/
[15:15:49 CEST] <kepstin> it's probably just getting a vfpv4 instruction when the cpu only has vfpv3 or something like that :/
[15:23:55 CEST] <Spring> dafuq, ffmpeg.exe keeps crashing but doesn't mention anything in the buffer log
[15:24:10 CEST] <Spring> mid-encode
[15:24:59 CEST] <Spring> verbose mode here we come
[15:25:39 CEST] <Spring> nothing
[15:33:43 CEST] <ozette> kepstin: i think so too
[15:33:51 CEST] <ozette> in my ffmpeg build i say --arch=arm
[15:33:56 CEST] <osiris> hi guys
[15:34:03 CEST] <ozette> should i change this to --arch=armhf?
[15:34:44 CEST] <osiris> i am really stucked at the moment with vaapi
[15:34:44 CEST] <ozette> or.. armv7l
[15:35:03 CEST] <osiris> get it runnign as roott, but as user i always get
[15:35:06 CEST] <osiris> libva info: va_getDriverName() returns 1
[15:35:06 CEST] <osiris> libva error: va_getDriverName() failed with operation failed,driver_name=i965
[15:35:06 CEST] <osiris> [AVHWDeviceContext @ 0x2386ce0] Failed to initialise VAAPI connection: 1 (operation failed).
[15:35:09 CEST] <osiris> [vaapi @ 0x63b0e8] Failed to create a VAAPI device
[15:35:24 CEST] <osiris> any hint would be really appreciated
[15:35:49 CEST] <osiris> user is already in group video
[15:36:44 CEST] <jkqxz> osiris:  What system is it running on?  Does vainfo work?
[15:36:52 CEST] <osiris> yeah, vainfo works
[15:36:58 CEST] <osiris> its a n3700
[15:37:46 CEST] <osiris> oh wait, there is an error as user which i dont get as root
[15:37:48 CEST] <osiris> error: XDG_RUNTIME_DIR not set in the environment.
[15:37:56 CEST] <jkqxz> libva version?
[15:38:07 CEST] <Spring> turns out it was a wrong lag-in-frames value. That option is always bad news if set to anything but 0.
[15:39:05 CEST] <osiris> libva 1.7.1
[15:40:30 CEST] <jkqxz> The "failed to initialise" message means that you have a visible DRM device but it doesn't support whatever is needed for that VAAPI driver.  That can happen if you have multiple graphics cards, or the components don't match or are too old somehow.
[15:41:06 CEST] <osiris> jkqxz: but when i run the ffmpeg command as root it works like a charm
[15:41:30 CEST] <osiris> so i guess its permission or environment related
[15:41:38 CEST] <jkqxz> Maybe it's loading something different as root?
[15:42:44 CEST] <jkqxz> Hmm.  What device path are you using?
[15:42:57 CEST] <osiris> /dev/dri/card0
[15:44:21 CEST] <jkqxz> Try "/dev/dri/renderD128"?  Multiple things can't necessarily access the "card" device at the same time (if X is running, say).
[15:44:24 CEST] <osiris> guess its about this one here error: XDG_RUNTIME_DIR not set in the environment.
[15:45:37 CEST] <osiris> u are awsome man
[15:45:37 CEST] <jkqxz> No, that's just telling you that some X stuff isn't set up.
[15:45:44 CEST] <osiris> thats it
[15:46:01 CEST] <osiris> when is user renderD128 its working
[15:46:07 CEST] <osiris> u are a god :)
[15:47:03 CEST] <jkqxz> Yay!
[16:19:20 CEST] <melvster> Hi all getting the following issue when trying to add czech subtitles: '[srt @ 0xa88440] Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option'
[16:19:32 CEST] <melvster> Ive been looking at this page: https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/subtitle_options
[16:19:52 CEST] <melvster> does the -sub_charenc option work on the latest version?
[16:20:28 CEST] <c_14> it should
[16:20:43 CEST] <melvster> ffmpeg version 2.8.6-1ubuntu2
[16:21:12 CEST] <melvster> c_14 any idea what value to put in for czech?  I've tried a few options and it seems to error out even with UTF-8 or URF-16
[16:22:54 CEST] <melvster> Codec AVOption sub_charenc (set input text subtitles character encoding) specified for output file #0 is not an encoding option.
[16:23:49 CEST] <jkqxz> "ISO-8859-2", maybe?
[16:23:59 CEST] <c_14> try running `file' on the srt
[16:25:01 CEST] <melvster> c_14: i get 'Non-ISO extended-ASCII text, with CRLF line terminators'
[16:25:17 CEST] <melvster> the file works great i VLC
[16:27:19 CEST] <melvster> i cant seem to find available options to the -sub_charenc file
[16:27:37 CEST] <jkqxz> Possibly "windows-1252" then if it isn't ISO.  The 8-bit encodings are generally not distinguishable, so you just have to guess the right one.
[16:28:29 CEST] <melvster> jkqxz: i get windows-1252 'is not an encoding option.'
[16:28:46 CEST] <jkqxz> They are just the iconv names for the character sets.
[16:29:24 CEST] <jkqxz> Paste command line?  That sounds like you've put it in the wrong place.
[16:30:21 CEST] <melvster> ffmpeg -i "$IN" -ss 480 -movflags faststart -strict -2   -vf subtitles=$SUB -sub_charenc UTF-8  -t 00:00:15 "$OUT"
[16:31:42 CEST] <c_14> the subtitles filter has its own charenc option -vf subtitles=$SUM:charenc=WINDOWS-1252
[16:32:09 CEST] <melvster> oic thanks
[16:33:34 CEST] <melvster> worked!!
[16:35:47 CEST] <melvster> well it's 99% correct ... the WINDOWS-1252 seems to mangle the occasional character, I'll have to try and work out which ones are used for czech ... but it's still very viewable
[16:36:17 CEST] <jkqxz> Bleh, I meant "WINDOWS-1250", not 1252.
[16:36:58 CEST] <jkqxz> But yes, make sure the characters with interesting accents are correct.
[16:38:59 CEST] <melvster> jkqxz: yes 1250 seems to work!  you're a genius :D
[17:02:10 CEST] <ringo> Hello
[17:02:58 CEST] <ringo> I am trying to transmux MPEG-TS to HDS using ffmpeg
[17:03:00 CEST] <ringo> ffmpeg -i udp://237.237.237.237:2968 -codec copy -f hds /tmp/livehds/mine.f4m
[17:03:34 CEST] <ringo> but it is complaining that video has no bitrate
[17:03:36 CEST] <ringo> [hds @ 0x727320] Codec for stream 0 does not use global headers but container format requires global headers
[17:03:37 CEST] <ringo> [hds @ 0x727320] Codec for stream 1 does not use global headers but container format requires global headers
[17:03:37 CEST] <ringo> [hds @ 0x727320] No bit rate set for stream 0
[17:03:45 CEST] <ringo> and it errors out ...
[17:04:27 CEST] <ringo> is that bitrate metadata supposed to be in the mpegts envelope somwhere?
[17:04:58 CEST] <ringo> or is it in the h264 video stream itself and if so, is there a flag on x264 to set it?
[17:13:23 CEST] <JEEB> ringo: it expects you to have a codec context with those values set. which you usually have with an encoder, but since you're not encoding... :P
[17:14:37 CEST] <ringo> I am encoding too ... I create the stream using VLC and x264
[17:14:54 CEST] <JEEB> -c copy is not encoding
[17:15:14 CEST] <JEEB> the hds muxer wants you to set values into specific fields :P
[17:15:18 CEST] <JEEB> that's what it means
[17:15:52 CEST] <ringo> ahhh .... the bitrate is only there when you encoder. It cannot be read or measured from a source?
[17:15:59 CEST] <ringo> ahhh .... the bitrate is only there when you encode. It cannot be read or measured from a source?
[17:17:36 CEST] <ringo> there should be a setting for it as you do not always want to re-encode your video when going to HDS
[17:17:49 CEST] <ringo> when creating dash or hls, encoding is not needed
[17:24:47 CEST] <jkqxz> It might work if you come from a source with global headers, such as mp4.  The problem is that MPEG-TS is really just interleaved raw streams, so there is no useful header information and you don't know what to put in an output format which requires such things.
[17:40:48 CEST] <OrthATG> is there a solution for preventing Decklink input buffer overrun! when reading from a blackmagic device?
[17:41:07 CEST] <OrthATG> Ive found a few references to it, but nothing seemingly conclusive
[17:45:26 CEST] <OrthATG> using the 3.0.2 api on mac 10.9.5
[18:18:36 CEST] <trudev> I'm using the command ./ffmpeg -input.mp4 -itsoffset -00:00:45 -i audio.mp3 -c:v copy -c:a aac -strict experimental -map 0:v:0 -map 1:a:0 -shortest  output.mp4 to mix some audio with a file. The source video is 10 seconds, but quicktime says the resulting video is 54 secconds
[18:19:11 CEST] <trudev> And if I fast forward, it just stops playing. Any idea what I'm doing wrong?
[18:19:56 CEST] <viric> -input.mp4 ?
[18:20:07 CEST] <viric> not that I know anything about that, though..
[18:20:22 CEST] <trudev> My bad, it doesn't have a dash
[18:20:37 CEST] <trudev> I added that by mistake to make it more readable
[18:21:05 CEST] <furq> what do you expect that command to do
[18:22:31 CEST] <trudev> mix the audio with the video. But the song needs to start at 45 seconds (as in, the first second of the video is playing 0:45 of the song)
[18:22:43 CEST] <trudev> That's what the offset if for
[18:23:18 CEST] <trudev> and I also added the -shortest to cut off when the video ends
[18:31:30 CEST] <waynr> howdy folks
[18:32:07 CEST] <waynr> i would like to use the x11grab to produce video at /dev/video1
[18:32:08 CEST] <c_14> trudev: I think you want -ss instead of -itsoffset
[18:32:23 CEST] <c_14> If I understood your interpretation correctly.
[18:32:41 CEST] <waynr> so far i've got "ffmpeg -f x11grab -video_size cif -framerate 25 -i :0.0"
[18:32:51 CEST] <waynr> not sure how to set the output to /dev/video1
[18:33:09 CEST] <c_14> waynr: what is /dev/video1 ? v4l2 output device?
[18:33:16 CEST] <waynr> i guess
[18:33:33 CEST] <trudev> c_14: That solved the video length issue! Now theres no sound....
[18:33:51 CEST] <c_14> I don't think ffmpeg has support for v4l2 output devices, you'd have to pipe it to something that does
[18:34:04 CEST] <waynr> c_14: basically something that could be opened by (for example) VLC or a web browser
[18:34:42 CEST] <waynr> the use case i am most interested in at the moment is sharing my screen in video chat on a service that only supports opening a webcam video stream from /dev/videoN
[18:34:50 CEST] <c_14> waynr: if you can open it with VLC or a web browser it's an input device not an output device
[18:35:00 CEST] <c_14> waynr: what you're looking for is v4l2loopback
[18:36:15 CEST] <trudev> http://pastebin.com/LUPcKb3f
[18:36:32 CEST] <c_14> trudev: get rid of the '-' in front of the 00:00:45
[18:37:07 CEST] <trudev> c_14: You're a saint.
[18:37:18 CEST] <trudev> Thank you so much!
[18:38:06 CEST] <waynr> c_14: one man's output device is another's input ;)
[18:38:32 CEST] <waynr> looking into v4l2loopback-utils
[18:38:42 CEST] <waynr> thanks for the help!
[18:42:49 CEST] <sendal> Hi All, I have a problem with ffmpeg. I have a video with .mov and I want to extract frames, apply watermark, mount video again. But the output video is wrong. Somebody could helps me?? thanks in advance. Code is here http://pastebin.com/RW6yxL1P
[18:42:50 CEST] <waynr> looks like it works :)
[18:50:07 CEST] <Spring> is there a reason for the slight audio gap at the end of video clips?
[18:50:21 CEST] <Spring> is it a playback thing or an encoding thing? I notice it in all clips
[18:52:14 CEST] <Spring> actually wait, it might be a capture thing
[18:53:08 CEST] <sendal> Hi All, I have a problem with ffmpeg. I have a video with .mov and I want to extract frames, apply watermark, mount video again. But the output video is wrong. Somebody could helps me?? thanks in advance. Code is here http://pastebin.com/RW6yxL1P
[18:58:00 CEST] <kepstin> sendal: it's probably getting the wrong framerate. When you save to separate images, the framerate is lost, so you have to manually specify it with the (e.g.) '-framerate 30' option before the -i option.
[18:58:33 CEST] <kepstin> sendal: it would probably be better to use ffmpeg to apply the watermark (e.g. with the overlay filter), then you could do it in one command, without any temp image files, and it would preserve the a/v sync.
[19:01:17 CEST] <sendal> I'm getting the fps with ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 $INPUT
[19:02:03 CEST] <sendal> I cant use ffmpeg to apply watermark because I add a filter to image
[19:02:50 CEST] <sendal> with ffprobe I could get all attributes from the video, but I don't know how could I do this
[19:03:51 CEST] <furq> sendal: https://ffmpeg.org/ffmpeg-filters.html#Examples-67
[19:04:16 CEST] <shincodex> av_probe_input_format
[19:04:40 CEST] <shincodex> i have arrived... to cause misery
[19:07:05 CEST] <sendal> furk: I cant use this because I apply a watermark to all pngs
[19:07:41 CEST] <furq> that's what the third example does
[19:07:47 CEST] <furq> unless it's a different watermark for each frame
[19:12:20 CEST] <sendal> yes furk, but my watermark is changing, I do this with Python
[19:20:10 CEST] <shincodex> sorry
[19:20:19 CEST] <shincodex> firefox doesnt run on root so
[19:20:26 CEST] <shincodex> well it just crashes and nobody fixed it
[19:20:28 CEST] <shincodex> 	avformat_close_input(&formatContext);
[19:20:28 CEST] <shincodex> 			error = avformat_open_input(&formatContext, complaint, inputFormat, 0);
[19:20:38 CEST] <shincodex> Do you think thats a bad way to refresh the stream on EOF
[19:20:50 CEST] <shincodex> complaint = filename for stream
[19:21:49 CEST] <shincodex> oh no its not that its XRDP thats right
[19:21:56 CEST] <shincodex> they need to fix there display issues or whatever
[19:22:43 CEST] <sendal> Hi All, I have a problem with ffmpeg. I have a video with .mov and I want to extract frames, apply watermark, mount video again. But the output video is wrong. Somebody could helps me?? thanks in advance. Code is here http://pastebin.com/RW6yxL1P
[19:36:19 CEST] <shincodex> avformat_reset
[19:36:22 CEST] <shincodex> come onnnnnn
[19:49:39 CEST] <sendal> Hi All, I have a problem with ffmpeg. I have a video with .mov and I want to extract frames, apply watermark, mount video again. But the output video is wrong. Somebody could helps me?? thanks in advance. Code is here http://pastebin.com/RW6yxL1P
[19:52:21 CEST] <Spring> does ffmpeg have permissions on Windows to write to the temp directory by default?
[19:52:36 CEST] <Spring> I have UAC set to the lowest setting so I can't tell atm
[19:52:59 CEST] <JEEB> that's a user right rather than an app-specific thing
[19:53:10 CEST] <JEEB> if the user has the rights to do that, yes. if not, then not
[19:53:22 CEST] <JEEB> and since you'd be the one setting that path you should know...
[19:53:58 CEST] <Zeranoe> Also probably not a wise decision to set UAC to the lowest setting.
[19:54:25 CEST] <Spring> JEEB, sure, I just wondered for others what the default would be
[19:54:48 CEST] <Spring> Zeranoe, I became too annoying :p
[19:54:51 CEST] <Spring> *it
[19:55:31 CEST] <JEEB> echo "hurr" > "%TEMP%\test.txt"
[19:55:38 CEST] <JEEB> this works for me on a "normal" account
[19:55:50 CEST] <JEEB> %TEMP% nowadays being under AppData/Local
[19:55:50 CEST] <Zeranoe> You are by default granted access to %temp%, which resides in your profile path
[19:55:50 CEST] <Spring> good to know
[19:56:07 CEST] <shincodex> be certain your path exists
[19:57:30 CEST] <Zeranoe> Also, if you're writing output to temp it'd be a nice thing to removed any files upon cleanup since video encodes can be quite large.
[19:58:22 CEST] <Spring> yeah, it's only for the first pass log which I delete following the second pass. I figured it should probably be in the temp folder instead of the output directory.
[19:58:57 CEST] <donics> when i use x11grab to record a desktop that includes video playback, like an open instance of VLC or youtube, the framerate for the video itself is really low while everything else works fine. is there a way around this issue?
[20:02:50 CEST] <Spring> donics, sounds like either the settings aren't optimized for capturing video or the system
[20:03:34 CEST] <sendal>  Hi All, I have a problem with ffmpeg. I have a video with .mov and I want to extract frames, apply watermark, mount video again. But the output video is wrong. Somebody could helps me?? thanks in advance. Code is here http://pastebin.com/RW6yxL1P
[20:05:40 CEST] <t4nk156> hi
[20:07:24 CEST] <t4nk156> Im looking for ffmpeg binaries for ubuntu with libebur128 to have the loudnorm filter
[20:31:34 CEST] <elmarikon> cheers! I am trying to compare encoded (cropped, cut, padded) XDCAM.mxf with the Original Prores by using the psnr filter.
[20:32:44 CEST] <elmarikon> But when I do this "on the fly" I get totally different Results, then when I write a interims file. To be precise: This command:
[20:32:46 CEST] <elmarikon> ffmpeg.exe -r 25 -i "Original.mov" -i "Encoded.mxf" -filter_complex [0:v:0]crop=1920:800:0:140,scale='min(1920\,trunc(1080*a/4)*4):min(1080\,trunc(1920/a/4)*4)',pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setdar=16/9,setsar=1,trim=end_frame=1436,trim=start_frame=1,trim=end_frame=1434[v1];color=black:s=1920x1080:r=25,trim=end_frame=25[bls];[bls][v1]concat[v2];color=black:s=1920x1080:r=25,trim=end_frame=25[bl
[20:32:47 CEST] <elmarikon> e];[v2][ble]concat,setfield=tff,format=yuv422p,setpts=PTS-STARTPTS,lut[ref];[1:v]setpts=PTS-STARTPTS[main];[main][ref]psnr=f='stats.txt'[x] -map [x] -v 16 -stats -f null nul
[20:33:16 CEST] <elmarikon> gives totally different Reults then these two:
[20:34:03 CEST] <elmarikon> ffmpeg.exe -r 25 -i "Original.mov" -i "Encoded.mxf" -filter_complex [0:v:0]crop=1920:800:0:140,scale='min(1920\,trunc(1080*a/4)*4):min(1080\,trunc(1920/a/4)*4)',pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setdar=16/9,setsar=1,trim=end_frame=1436,trim=start_frame=1,trim=end_frame=1434[v1];color=black:s=1920x1080:r=25,trim=end_frame=25[bls];[bls][v1]concat[v2];color=black:s=1920x1080:r=25,trim=end_frame=25[bl
[20:34:04 CEST] <elmarikon> e];[v2][ble]concat,setfield=tff,format=yuv422p,setpts=PTS-STARTPTS,lut[ref] -map [ref] -c:v prores -profile:v 3 New.mov
[20:34:06 CEST] <elmarikon> +
[20:35:16 CEST] <elmarikon> ffmpeg -i New.mov -i Encoded.mxf -filter_complex [0:v]setpts=PTS-STARTPTS[main];[1:v]setpts=PTS-STARTPTS[ref];[main][ref]psnr=f='stats.txt'[x] -map [x] -v 16 -stats -f null nul
[20:35:28 CEST] <elmarikon> can someone please tell mewhy?
[20:36:37 CEST] <elmarikon> I am using exactly the same filter to encode the mxf and for the comparisation/to create the New.mov
[20:39:56 CEST] <cousin_luigi> Greetings.
[20:40:32 CEST] <cousin_luigi> Can I ramp up the volume in place? Or even better, while copying to another container?
[20:40:48 CEST] <elmarikon> cherrs!
[20:40:55 CEST] <elmarikon> use the voule filter.
[20:41:25 CEST] <elmarikon> to amplify all audio chennels do ex. -af volume=3dB
[20:42:30 CEST] <ChocolateArmpits> elmarikon: maybe he means at a specific section in the file ?
[20:42:48 CEST] <elmarikon> maybe...
[20:42:56 CEST] <ChocolateArmpits> Would then have to use an expression
[20:43:34 CEST] <furq> cousin_luigi: you can't do it with ffmpeg without reencoding the audio
[20:43:43 CEST] <furq> you could maybe demux and use something like mp3gain/aacgain
[20:44:14 CEST] <furq> or if you're very lucky your player will support replaygain
[20:44:26 CEST] <cousin_luigi> elmarikon: yes, but can I do that in place?
[20:44:35 CEST] <furq> ^
[20:44:41 CEST] <elmarikon> no. you will have to create a new file.
[20:44:53 CEST] <furq> you can't do anything in place in ffmpeg
[20:44:54 CEST] <cousin_luigi> furq: but what's the -af volume filter for then?
[20:44:56 CEST] <cousin_luigi> ah
[20:45:09 CEST] <furq> you can't apply filters without reencoding
[20:45:47 CEST] <cousin_luigi> ok thanks
[20:45:48 CEST] <elmarikon> so for example: ffmpeg -i Original.mov -af volume=3dB -c:v copy -c:a pcm_s16le NewFile.mov
[20:46:25 CEST] <cousin_luigi> but won't that cause a quality loss?
[20:46:31 CEST] <cousin_luigi> reencoding I mean?
[20:46:34 CEST] <furq> yes it will
[20:46:38 CEST] <elmarikon> it depends...
[20:46:46 CEST] <furq> well it won't if you output pcm_s16le
[20:46:49 CEST] <furq> but you probably don't want to do that
[20:46:51 CEST] <elmarikon> what codec do u have in your source?
[20:47:34 CEST] <cousin_luigi> aac
[20:47:40 CEST] <elmarikon> yuck!
[20:47:57 CEST] <cousin_luigi> how do I demux it, ramp it up and re-merge it with the video without reencoding anything?
[20:48:05 CEST] <furq> cousin_luigi: if it's an mp4 then you can try adding replaygain tags
[20:48:11 CEST] <furq> i have no idea what the player support is like though
[20:48:37 CEST] <furq> that doesn't modify anything, it just instructs the player to amplify the volume
[20:48:41 CEST] <cousin_luigi> aha
[20:48:48 CEST] <cousin_luigi> by default...
[20:48:52 CEST] <furq> if that doesn't work (it probably won't) then use aacgain
[20:49:32 CEST] <furq> ffmpeg -i src.mp4 -vn -c:a copy out.m4a; (aacgain); ffmpeg -i src.mp4 -i out.m4a -map 0:v -map 1:a -c copy out.mp4
[20:50:52 CEST] <cousin_luigi> can you tell me more about this tag? Does ffmpeg support doing that?
[20:51:13 CEST] <furq> ffmpeg doesn't support it afaik
[20:51:23 CEST] <furq> although you wouldn't want to use ffmpeg because it can't modify files in place
[20:51:45 CEST] <furq> https://en.wikipedia.org/wiki/ReplayGain
[20:52:13 CEST] <furq> it's mostly for audio, i've no idea if any video players actually support it
[20:53:05 CEST] <furq> apparently mpv and vlc do
[20:53:06 CEST] <cousin_luigi> hmm, according to that page mpv doesn't support it, so it's not for me. Trying option #2.
[20:53:15 CEST] <cousin_luigi> oh
[21:04:51 CEST] <elmarikon> no help with my psnr filter?
[21:07:42 CEST] <cousin_luigi> furq: it worked! thanks
[21:54:25 CEST] Action: DHE found a memory leak that goes away if you delete the FF_API_CODED_FRAME feature immediately
[21:54:49 CEST] <durandal_1707> DHE: where?
[22:01:47 CEST] <Mista_D> Any method to copy embedded CEA-608 track to output video ES?
[22:02:00 CEST] Last message repeated 1 time(s).
[22:02:10 CEST] <Mista_D> 'twas a mistake
[22:36:38 CEST] <wuOz> ffmpeg has been on mr robot ^^
[22:50:57 CEST] <donics> Spring, I'm inclined to agree with you. I remember running in to a similar problem with fraps a few years ago but I can't remember how to fix it
[22:52:17 CEST] <transhuman_> hi I get A TLS packet with unexpected length was received.
[22:52:17 CEST] <transhuman_> https://www.youtube.com/watch?v=XkltShNd6XE: Input/output error when i run the following ffmpeg -i "https://www.youtube.com/watch?v=XkltShNd6XE" -vcodec copy -acodec copy out.mkv ! v4l2sink device=/dev/video1 ...anyone able to help...thanks!
[22:52:59 CEST] <transhuman_> scratch that thats a bad paste
[22:53:01 CEST] <transhuman_> try again
[22:54:42 CEST] <transhuman_> http://pastebin.com/TwiER0f2
[22:55:35 CEST] <transhuman_> the line I executed is ffmpeg -i "https://www.youtube.com/watch?v=XkltShNd6XE" -vcodec copy -acodec copy out.mkv ! v4l2sink device=/dev/video1
[23:00:39 CEST] <DHE> durandal_1707: ff_mpv_encode_picture (mpegvideo_enc.c:1738) calls (indirectly) av_buffer_alloc (at frame.c:636) which won't be returned until ffmpeg exits.
[23:01:19 CEST] <DHE> as a workaround/hack I forcibly disabled the FF_API_CODED_FRAME features by editing libavcodec/version.h directly and recompiled
[23:01:23 CEST] <kepstin> transhuman_: I'm not entirely sure what you hope to accomplish by telling ffmpeg to read an html file; perhaps you want to use the 'youtube-dl' tool (which internally uses ffmpeg)?
[23:06:58 CEST] <viric> furq: did you see my HT tests?
[23:13:09 CEST] <transhuman_> kepstin what part is telling it to read the html file?
[23:15:24 CEST] <transhuman_> kepstin are you referring to the http part?
[23:16:18 CEST] <transhuman_> kepstin I would actually like to capture it as a "live stream" instead of as a file
[23:18:48 CEST] <kepstin> transhuman_: ffmpeg doesn't know how to find where the video stream is from the html page that you get from loading a https://www.youtube.com url
[23:19:14 CEST] <kepstin> transhuman_: the TLS issue sounds like it is an actual issue, but it wouldn't work anyways
[23:19:49 CEST] <transhuman_> hmm. interesting ok ..I used a utility that supposedly tells me the stream url...I will try again.
[23:20:08 CEST] <transhuman_> your saying the TLS issue is a problem because they wont let you do it that way?
[23:20:17 CEST] <kepstin> no, the TLS issue is a problem
[23:20:29 CEST] <kepstin> but even if the TLS was working, that url wouldn't work with ffmpeg
[23:20:52 CEST] <transhuman_> ok i will fix the url problem now thanks and then get onto the tls issue
[23:20:59 CEST] <kepstin> that is a kind of old ffmpeg, too, the tls problem might be fixed with a newer version
[23:21:34 CEST] <transhuman_> ok thanks I will look into that, I will compile ffmpeg from the latest...thanks
[23:27:46 CEST] <transhuman_> does youtube-dl -g http://... give you the correct url?
[00:00:00 CEST] --- Fri Aug 26 2016


More information about the Ffmpeg-devel-irc mailing list