Hi all - latest defector from ffmpeg here, and already the whole kit
seems to be a lot cleaner and smoother to to run.
However, I have new problems (or old ones that didn't appear through
cruft). I have been on the irc while I waited to get on to the list, and
this has been the notes so far:
I started with the latest release 0.7.2. I was using -map_metadata to
pick the individual programs out of a mpegts stream, and that worked
while writing to file, but wouldn't work for an avserver/ffserver feed.
I'd only get audio (already one better than ffmpeg- it errored and
wouldn't do a thing there).
So I went looking for help on irc and I was told that I could use -map
0:p:pid instead. That refused to work sending to ffserver as well, but
it did work to file. The stream mapping actually looked screwed up: 0.1
-> 0.0, etc.
I was then advised to use the latest in the git repo as that last
command wouldn't work except on avconv exclusively. So I picked up
v0.7-2134-g12dca02 from git and built, and I got accurate stream mapping
but a seg fault:
Stream mapping:
Stream #0:0 -> #0:0Segmentation fault (core dumped)
This happens in both splitting the stream and sending it whole to
avserver as ffm.
So the guru on the list had a look at this, and found in the code that
when sending a feed to avserver, avconv actually gets the stream mapping
from avserver.
In the next day I have tried using truss and gdb to get more information
to help.
truss output: http://pastebin.com/h0j2pva6
gdb wouldn't work with all the options for me (but I'm not very good
with it)
Further testing confirmed no other problems:
mkv (x264/vorbis) transcoded to flv no problems.
Copying directly to ts had no problems.
Feeding to avserver with feed set as ts (in the server and on the avconv
options) showed perfect mapping, avserver didn't barf, but ended in
broken pipe (ffserver did say incompatible file type, though; so it
might be a bug).
Tried copying to ffm with sending to avserver and got a new error: Data
stream encoding not supported yet (only streamcopy).
I then tried cloning a new git head and build, and still got the same
error. At this point I received a patch from elenril which I patched
0.7-2134 with and rebuilt: still got a seg fault.
So that is the results of my investigations so far, and I'm still hunting.
Any ideas on what I should try now?
My platform: 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #1: Sun Mar 13
08:45:42 EST 2011
Avconv: avconv version v0.7-2134-g12dca02, Copyright (c) 2000-2011 the
Libav developers
built on Dec 9 2011 23:08:48 with gcc 4.6.3 20111125 (prerelease)
and: avconv version v0.7-2142-gb73a01e, Copyright (c) 2000-2011 the
Libav developers
built on Dec 9 2011 22:42:56 with gcc 4.6.3 20111125 (prerelease)
Cheers
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools