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

burek burek021 at gmail.com
Mon Jan 5 02:05:01 CET 2015


[01:42] <schiho> Guys, i was using windows 7 + blackmagic WDM Capture + FFMPEG and it was oke. For speed gain, i#ve installed Ubuntu and there is no support for ffmpeg + blackmagic :(((
[01:42] <c_14> I thought Ubuntu was black magic.
[01:44] <c_14> Did you try installing their funky "Desktop Video" thingymabob?
[01:45] <schiho> yes i did it, then i got /dev/blackmagic/dv0
[01:46] <schiho> however ffmpeg is not recognizing under video4linux2
[01:48] <schiho> I've installed Desktopvideo and MediaExpress, in the mediaexpress i get a signal, but don't know how to get it with fmpeg
[01:50] <troy_s1> schiho - See PM
[01:56] <awilliam> any ffprobe experts around?  I want to test whether a video is mpeg2 vs h264 and test the height.  I've come up with "ffprobe -select_streams v:0 -show_entries stream=index,codec_name,height -hide_banner <file>", but it always wants to show the info twice, inside a [PROGRAM] and out
[01:57] <awilliam> for example http://fpaste.org/165351/42033303/
[01:59] <awilliam> hmm, on an encoded file w/o a program it only shows it once
[02:01] <awilliam> I can s/stream/program_stream/ on the show_entries to just get the stream within the program
[03:06] <troy_s> awilliam: No idea, but I wonder if it reports once for the codec context and once for the stream
[03:09] <awilliam> seems like I need to figure out if I have a program, then use program_stream, otherwise use stream
[03:09] <awilliam> or I suppose I can use the flat print format and grep -v program
[03:10] <troy_s> In the api
[03:11] <troy_s> You almost always have to rely on the stream data
[09:05] <chan1> Hi, I tried to convert MTS file (h264,ac3) to mkv file  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
[09:05] <chan1>   Stream #0:1 -> #0:1 (ac3 (native) -> ac3 (native))
[09:06] <chan1> Sorry, I tried to convert an MTS file (h264,ac3) to mkv file.
[09:06] <chan1> The command was ffmpeg -i file1.MTS -acodec ac3 file1.mkv
[09:07] <chan1> But it takes some time and the log shows
[09:07] <chan1>   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
[09:07] <chan1>   Stream #0:1 -> #0:1 (ac3 (native) -> ac3 (native))
[09:08] <chan1> If I can use the same h264 I thouhgt maybe it will take very little time.
[09:08] <chan1>  Is there a way to do it? How can I specify h264 (native) codec for output?
[10:04] <edulix> hi peope
[10:05] <edulix> I'm having trouble recording audio when trying to use ffmpeg to do it. by the way, audacity works fine to do that. what options should I use? I'm using opensuse 13.2
[10:06] <edulix> when I try to use -i pulse, ffmpeg says cannot open audio device pulse (No such file or directory)
[10:32] <sfan5> chan1: use -c copy to tell ffmpeg to copy the streams from the input file
[12:58] <belgaat> hi, I have this 1080i tv cap. And its 50fields/s So I apply yadif filter -vf "yadif=0:-1:0". But I don't see the frames go to 25fps.
[12:58] <belgaat> Is that normal?
[13:41] <DelphiWorld> yo
[13:42] <DelphiWorld> if someone know a good IPTV middleware let me know
[14:17] <belgaat> This cropdetect doesn't work anymore since recently. I outputted this into a bash variable to input it directly in a -vf "crop". But computer says no. http://www.pastie.org/pastes
[14:19] <belgaat> http://pastie.org/9812271
[18:18] <mmance> How do you troubleshoot video parameters incompatible with DNxHD, I am going from glc-play.
[18:20] <mmance> http://pastebin.com/VAmc7y2F
[18:20] <mmance> I have tried different bitrates
[19:34] <q0_0p> how do i convert an mkv file to ISO Media, MP4 v2
[19:34] <q0_0p> when i convert i'm getting ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
[19:52] <Fjorgynn> What is iso media?
[19:53] <Fjorgynn> q0_0p: I'd wote for Handbrake
[19:53] <Fjorgynn> or FFMPEG
[19:53] <q0_0p> i guess the reason why I ask MP4 base media V1 audio will not load in chromecast
[19:54] <q0_0p> but V2 ISO Media, MP4 V2 works
[19:54] <Fjorgynn> http://handbrake.fr/
[19:55] <q0_0p> very cool a UI
[19:55] <Fjorgynn> :)
[19:55] <Fjorgynn> And mp4 is a container what I know.
[19:57] <Fjorgynn> aha I was in the ffmpeg channel
[19:57] <Fjorgynn> ;)
[19:58] <Fjorgynn> but isn't it like ffmpeg -i file.mkv -c copy file.mp4 or something?
[19:59] <Fjorgynn> q0_0p:
[20:00] <Fjorgynn> but then you will lost all subtitles. And I don't know if it will downgrade the quality
[20:01] <pzich> copy won't downgrade quality, but your new container has to support it
[20:01] <Fjorgynn> pzich: okay
[20:10] <Fjorgynn> I think someone is using debian
[20:31] <sciho> Hi guys, pipes are really cool, but can i pipe streams to ffserver as well?
[20:31] <c_14> afaik ffserver only accepts input via http
[21:20] <Milos_SD> Hello to everyone
[21:21] <Milos_SD> Does someone else have problems with cloning ffmpeg from git ( from git://source.ffmpeg.org/ffmpeg.git )?
[21:22] <Milos_SD> it forwardes to git.videolan.org, and I am getting "connection reset by peer"
[21:22] <JEEB> yes, use the github mirror for now
[21:22] <Milos_SD> I can't even browse git sources from ffmpeg web site
[22:21] <d_ferdi> hello, i have a big problem with ffmpeg: the source video lenght is 03:23:09.62 and the ffmpeg-output video is 03:53:53.31 with 46091 dupe frames inserted by ffmpeg
[22:22] <c_14> Is the input and output framerate identical?
[22:23] <d_ferdi> yes 25 fps
[22:23] <d_ferdi> source Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
[22:24] <d_ferdi> output Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 12800 tbn, 25 tbc
[22:24] <d_ferdi> ffmpeg info output mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 2116 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc
[22:28] <d_ferdi> i think problem have somthing todo with the audio because audio of the output is ok, only video is bad (dupe frames)
[22:29] <c_14> Is the audio the same length in both?
[22:30] <d_ferdi> yes audio have the same length as the video in both files, source and output
[22:31] <d_ferdi> but the video is jerky and the audio seems ok
[22:31] <d_ferdi> of the output
[22:31] <q0_0p> Fjorgynn, solution i did was use acodec using libfaac
[22:32] <q0_0p> ffmpeg -i video.mkv -vcodec copy -acodec libvaac -c:s mov_text output.mp4
[22:32] <d_ferdi> Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)
[22:32] <d_ferdi> Stream #0:1 -> #0:1 (mp2 -> libvo_aacenc)
[22:33] <d_ferdi> i try libfaac, but this is not installed for ffmpeg
[22:34] <c_14> try reencoding with -vf aresample=async=1000
[22:34] <d_ferdi> Unknown encoder 'libfaac'
[22:35] <c_14> just use libvo_aacenc, or aac
[22:37] <d_ferdi> don't work: Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
[22:38] <Fjorgynn> aha
[22:39] <q0_0p> d_ferdi, i had to compile ffmpeg with the faac support
[22:39] <q0_0p> i forget what dependencies it brought in
[22:39] <q0_0p> lame was one of them probably because i added mp3 support
[22:40] <d_ferdi> i test codec aac, but it seems same problem
[22:40] <q0_0p> for me it brought in libmp4v2 lame faac
[22:41] <q0_0p> when building it with faac and mp3
[22:41] <llogan> q0_0p: if you compiled ffmpeg, you should have used libfdk_aac instead of faac
[22:41] <d_ferdi> i use gentoo and have compiled in support for mp4 today
[22:41] <llogan> better quality per bitrate
[22:42] <c_14> d_ferdi: what ffmpeg version?
[22:42] <q0_0p> ah the fdk flag
[22:42] <q0_0p> fdk                   : Use external fdk-aac library for AAC encoding
[22:42] <q0_0p> faac                  : Use external faac library for AAC encoding
[22:43] <q0_0p> i was able to use libvaac compiling ffmpeg with faac
[22:44] <q0_0p> d_ferdi, looks like a lot of people use gentoo these days
[22:44] <q0_0p> ah fdk is better than faac i see
[22:45] <d_ferdi> i check the use-flags for emerge at the moment
[22:47] <d_ferdi> what settings are needed, to compile ffmpeg with fdk ?
[22:47] <llogan> --enable-libfdk-aac and also --enable-nonfree if --enable-gpl is included
[22:48] <d_ferdi> yes, but i must tell this emerge or must compile ffmpeg without emerge
[22:48] <llogan> i know nothing of emerge
[22:48] <llogan> refer to #gentoo?
[22:49] <q0_0p> d_ferdi, echo "media-video/ffmpeg faac mp3" >> /etc/portage/package.use
[22:49] <d_ferdi> is gentoo specific
[22:49] <q0_0p> d_ferdi, you may need to go to #gentoo for help
[22:49] <d_ferdi> i will try somthing, but i can test it tomorrow
[22:49] <q0_0p> d_ferdi, try the command above will build with faac and mp3
[22:53] <d_ferdi> i find the flags on http://gentoobrowse.randomdan.homeip.net/package/media-video/ffmpeg
[22:57] <q0_0p> d_ferdi, you can find the flags using "equery u ffmpeg"
[22:59] <d_ferdi> thank you, this will help me in the future to find the flags without google
[23:00] <q0_0p> d_ferdi, if you dont have it you might want to emerge gentoolkit
[23:03] <d_ferdi> i have it, but i don't find the time, to check all commands and parameters for the portage tools.
[23:03] <d_ferdi> most i use eix to find some packages because it is very fast
[23:06] <d_ferdi> but i think, the problem is not the codec. this problem must have an other reason. i try to copy source audio to mp2-file and ffmpeg insert dupe frames
[23:08] <d_ferdi> a short test gives ca. 15% more frames in output as in input
[23:10] <d_ferdi> with -r 25 no dupe frames are inserted
[23:12] <llogan> !pd d_ferdi
[23:12] <llogan> i guess the bot is not here
[23:12] <llogan> show your command and complete output. use pastebin
[23:13] <llogan> oh, typo. duh.
[23:14] <d_ferdi> but i must insert this parameter as first parameter
[23:18] <llogan> no command, no console ouptut = no help
[23:23] <d_ferdi> it seems, the problem is the frame-rate, but why use ffmpeg an other framerate for the input as given in the detected framrate by ffmpeg ?
[23:23] <d_ferdi> i install pastebin and send you the log-file
[23:23] <llogan> install? just use a pastebin site
[23:24] <d_ferdi> moment please
[23:25] <d_ferdi> http://pastebin.com/JgKbPQVm
[23:26] <llogan> why use ffmpeg version 1.2.6 instead of current git master?
[23:27] <llogan> also your command is missing
[23:27] <d_ferdi> command line was: ffmpeg -i Ben_Hur-2014-12-23-20-00-Spielfilm_USA_1959_(Ben-Hur).vdr.mpg -c:a libvo_aacenc -b:a 128k -c:v mpeg4 -q:v 3 Ben_Hur-2014-12-23-20-00-Spielfilm_USA_1959_(Ben-Hur).vdr.mp4
[23:27] <llogan> instructions are hard. let's go shopping.
[23:31] <d_ferdi> new encoding run's tonight and i will see tomorro if output is ok
[23:31] <llogan> just encode a segment instead of the whole thing
[23:32] <d_ferdi> i have make this for test and it was ok
[23:33] <llogan> can you provide a short sample of the input? ffmpeg -ss 00:10:00 -i input -t 60 -c copy output.mpg
[23:33] <llogan> can you test a recent ffmpeg?
[23:33] <d_ferdi> i will yet shutdown my workstation. i have much to do tomorrow
[23:33] <d_ferdi> i can test many things on my test-installation
[23:34] <d_ferdi> or i can send you an input file, which make problems without the parameter -r for the input-frame rate
[23:37] <d_ferdi> are you interested in a sample mpeg-file ?
[23:39] <d_ferdi> you can send me a mail at dieter.ferdinand at gmx.de  goodnight
[00:00] --- Mon Jan  5 2015


More information about the Ffmpeg-devel-irc mailing list