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

burek burek021 at gmail.com
Sun Jul 13 02:05:01 CEST 2014


[02:29] <c_14> Mista_D: the split filter only takes video streams. [concat_out] is video and audio. You'll have to concat the audio and video separately then use split on the video and asplit on the audio and then map those outputs
[02:32] <c_14> That or just give the concat filter a separate video out and audio out and then split the video and asplit the audio
[02:33] <c_14> ie: [0:0] [0:1] [tmp] [1:1] concat=n=2:v=1:a=1 [vout][aout];[vout]split[v1][v2];[aout]asplit[a1][a2]
[02:33] <c_14> and then map those
[03:39] <Dark-knight> i have 3 subtitle streams in my mkv video file. how do i make the second sub stream the default/String
[03:44] <relaxed> you could make it the only stream
[03:44] <Dark-knight> i dont want that
[03:44] <Dark-knight> i like my options
[03:45] <relaxed> sounds like a job for mkvmerge
[06:19] <Dark-knight> can i have more then one subtitle stream in mp4?
[09:22] <myubuntu> faac just buffering several samples, Can I disable the buffer?
[12:34] <drkshadow> Help with Matroska "Can't write packet with unknown timestamp"? On the web it says use -fflags genpts, but that results in the same error for me.
[12:34] <drkshadow> also it's not documented in the man page.
[12:35] <sacarasc> Are you using that as an input or an output command?
[12:35] <drkshadow> ffmpeg -fflags +genpts file.x264 -i audio.ac3 -vcodec copy -acodec c opy outfile.mkv
[12:35] <drkshadow> -i before file.x264
[12:36] <drkshadow> doesn't matter if I move it to before the output filename
[12:38] <drkshadow> c_14: if you're really curious, http://pastebin.com/AUeidv2H
[12:39] <JEEB> drkshadow, yes - lavf sucks at timestamp generation even if you do set a frame rate :P I recommend pushing the raw AVC stream through L-SMASH's muxer into mp4 first, and then remuxing that into matroska
[12:39] <drkshadow> JEEB: I did that initially; the mkv is not seekable.
[12:40] <drkshadow> (if L-SMASH is MP4Box..)
[12:40] <drkshadow> so I was hoping by going purely ffmpeg, even if more difficult, I could actually get something that works.
[12:41] <JEEB> no
[12:41] <JEEB> L-SMASH is not mp4box; mp4box is an app by GPAC
[12:41] <drkshadow> hints as to the linux package name?
[12:42] <JEEB> lsmash or l-smash or something
[12:42] <JEEB> not sure how many things have it packaged
[12:42] <drkshadow> not Gentoo..
[12:42] <JEEB> building it is rather simple
[12:42] <JEEB> since it lacks dependencies
[12:42] <JEEB> https://github.com/l-smash/l-smash
[12:45] <drkshadow> hmm. Actually, I might be able to use the .mp4 from MP4Box with ffmpeg..
[12:45] <drkshadow> maybe mkvmerge is the problem. *tries*
[12:46] <JEEB> I recommend L-SMASH's muxer instead of mp4box, though
[12:46] <JEEB> L-SMASH was pretty much started because people got pissed at how crap GPAC can be to work with
[12:46] <drkshadow> nope, can't seek. Will try l-smash tomorrow.
[12:47] <JEEB> if you still can't seek after L-SMASH too, I think you only have one IDR there or so in the whole clip, and then you need to use a player that can do 'slow' seeking as well
[13:09] <hay> hi all.. in the latest linux-compiled ffmpeg I am getting "[mpegts @ 0x390e500] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead." while using the same command as in an older version and the sound doesn't seem to be played...
[13:14] <c_14> What command are you using?
[13:15] <hay> ffmpeg -i "http://live.radiohit.si:9560" -f mpegts udp://192.168.1.100:1230?pkt_size=1316?buffer_size=65535
[13:16] <hay> I want to simply play an internet radio stream to my PC via mpegts
[13:17] <Fjorgynn> why not do mplayer?
[13:17] <Fjorgynn> if you not what to save it
[13:18] <Mavrik> you really should add -codec copy to that
[13:18] <hay> final goal is to stream the data to some special device for cable networks, I want to get it to play on the PC first... this already worked in some previous version I had installed before
[13:19] <hay> Mavrik, I have added -acodec mp2 and same result
[13:20] <Mavrik> how is that related to anything?
[13:24] <hay> changed the command to ffmpeg  -i "http://live.radiohit.si:9560" -codec copy  -f mpegts udp://192.168.1.100:1230?pkt_size=1316?buffer_size=65535 and now it plays, but is it normal that in vlc player in the Media information / Codec tab I see number of streams increasing all the time?
[13:27] <Mavrik> nop, not normal.
[13:31] <hay> what can be wrong?
[18:03] <urho> hi, im trying to watch an TV over internet (RTP multicast stream(h264 + ac3)) but i have packet loss on all channels. 2 of my channels don't even start.  http://pastebin.com/fnbeaMYY
[18:08] <urho> btw on win7 all channels work flawlessly
[18:08] <urho> without lags or anything
[18:16] <tevellius> Hi
[18:19] <tevellius> I am sorry for such stupid question (I'm new in C, C++ development in Linux) but which IDE can you suggest for work with ffmpeg code? Is it possible to build and run with debugger in the IDE like Visual Studio or qt designer?
[18:42] <JEEB> tevellius, you can build ffmpeg with vs2013's compiler, and debug it with it - but you can't compile it in the GUI easily due to there being no solution/project files
[18:42] <JEEB> qt creator is just fine if you add the build system to it
[18:42] <JEEB> as in, your qt creator project will call configure and make
[18:42] <JEEB> I did similar stuff some time ago for L-SMASH
[18:44] <tevellius> OK, JEEB, thank you. I thought about qt creator too, as I see it has cmake plugin.
[18:46] <JEEB> cmake has nothing to do with ffmpeg, btw
[18:46] <Mavrik> you can import Makefile project to Eclipse CDT as well
[18:47] <Mavrik> as long as you let cmake or something create a Makefile, Eclipse will be able to run in and attach gdb to it
[18:47] <Mavrik> sadly, no IntelliJ C IDE yet :P
[18:48] <JEEB> Qt Creator is the least bad multiplatform IDE for C/C++
[18:48] <JEEB> it even has clang-based stuff now \o/
[18:48] <Mavrik> hmm, haven't used it in years
[18:48] <JEEB> its gdb frontend is probably the least bad too
[18:48] <Mavrik> I usually default to CDT as it looked the most complete of them all
[18:49] <JEEB> although tbqh for C usually even vim with YouCompleteMe or something clang-based is generally enough :D
[18:49] <Mavrik> hmm
[18:49] <Mavrik> I feel like I have my hands cut off everytime I work with Vim/Sublime/etc. on large projects... the code navigation just isn't there
[18:49] <Mavrik> and fiddling with goddamn ctags to get everything indexed is pain in the ass
[18:52] <Mavrik> if you have any good scripts for that I'm all for it :)
[18:54] <JEEB> http://valloric.github.io/YouCompleteMe/
[18:54] <JEEB> for C/C++ stuff this is <3
[19:04] <tevellius>  Oh, I understood that my 1st task is to read what's mean 'makefile' :)
[19:08] <hay> is there an option in ffmpeg to resume streaming after one input stops and again starts transmitting ?
[20:39] <blackdream> Hello i am facing a small problem
[20:39] <blackdream> I'm using this command to transcode a stream into h264
[20:39] <Fjorgynn> :)
[20:39] <Fjorgynn> I see
[20:39] <blackdream> ffmpeg -i "http://4.31.30.145:9080" -acodec copy -vcodec libx264 -f mpegts /tmp/test1.ts
[20:40] <blackdream> Which works just fine
[20:40] <Fjorgynn> isn't -acodec depricated btw?
[20:40] <blackdream> Then i am using this command:
[20:40] <blackdream> ffmpeg -i "http://4.31.30.145:9080" -acodec copy -vcodec libx264 -map 0 -f segment -segment_format mpegts -segment_time 10 -segment_list_size 1 -segment_wrap 5 -segment_list /tmp/stream.m3u8 /tmp/%03d.ts
[20:40] <blackdream> which splits the stream into segments and transcodes it into h264 again
[20:40] <blackdream> i get this error now:  H.264 bitstream malformed, no startcode found, use the h264_mp4toannexb bitstream filter (-bsf h264_mp4toannexb) av_interleaved_write_frame(): Invalid argument  (AAnd no matter if i add the filter or no doesnt work)
[20:41] <blackdream> i'm using v2.2.4 ffmpeg with the latest x264 etc
[20:42] <Fjorgynn> why not -c:a copy -c:v libx264 btw?
[20:42] <blackdream> It's exactly the same
[20:48] <blackdream> Wow it seems that i fixed it using -flags -global_header in the second command
[20:48] <blackdream> i have no idea why it worked though
[21:16] <Fjorgynn> blackdream: good for you! :D
[21:39] <hay> why is number of streams constantly increasing in the VLC Player when running this command: ffmpeg  -i "http://live.radiohit.si:9560" -codec copy -f mpegts udp://192.168.1.100:1230?pkt_size=1316?buffer_size=65535? I can't find any good explanation or solution... TIA for any ideas
[00:00] --- Sun Jul 13 2014


More information about the Ffmpeg-devel-irc mailing list