[DVBCUT-user] [PATCH] Fix framing of some mp2 audio substreams

2006-11-25 Thread Wolfram Gloger
Hi, In some DVB streams, there are TS packets that belong to an mp2 audio stream, have payload_unit_start set but that are _not_ the start of an mp2 audio packet. I noticed this when linking against ffmpeg-cvs and getting Header missing skipping one byte.. However, also the old ffmpeg version

Re: [DVBCUT-user] r31 regression

2007-05-12 Thread Wolfram Gloger
Hi, Maybe we should go one step further and disable the ffmpeg muxers now. Or at least mark them as deprecated. Please don't! I've been using them exclusively with dvbcut and will work on them again in the very near future (sorry for taking so long, I've been busy with other projects). I

[DVBCUT-user] [PATCH] Fix lavfmuxer for version 32

2007-05-13 Thread Wolfram Gloger
Hi, The appended patch fixes the lavfmuxer so it doesn't crash on a NULL codec. (I have so far only lightly tested, but it should work at least as before version 31..) Regards, Wolfram. diff -ur dvbcut/src/lavfmuxer.cpp dvbcut-wg/src/lavfmuxer.cpp --- dvbcut/src/lavfmuxer.cppSat May 12

[DVBCUT-user] [PATCH] Fix audio framing in streamdata.cpp

2007-05-27 Thread Wolfram Gloger
Hi, I still get false hits from streamdata.cpp:mpaframe() for audio streams where MPEG audio frames aren't aligned to packet boundaries. The reason is that mpaframe() simply looks for a possible MPA header, and then looks for another MPA header at an offset of the framesize _or anywhere later_.

Re: [DVBCUT-user] [PATCH] Fix audio framing in streamdata.cpp

2007-05-27 Thread Wolfram Gloger
Delivery-Date: Sun, 27 May 2007 17:00:50 +0200 Received-SPF: pass (mxeu11: domain of lists.sourceforge.net designates 66.35.250.225 as permitted sender) client-ip=66.35.250.225; [EMAIL PROTECTED]; helo=lists-outbound.sourceforge.net; Hi, Yep. That's why there is the sync code. After a

Re: [DVBCUT-user] [PATCH] Fix audio framing in streamdata.cpp

2007-05-28 Thread Wolfram Gloger
Hi, Hmm... `bytes' is the distance between two items, and should be an integer multiple of the frame size. But items also include the (sometime) non-aligned PES packet headers; these are not deleted in audio_addpts. For those, the distance is arbitrary, see the log output below. By

Re: [DVBCUT-user] Subtitles

2007-08-13 Thread Wolfram Gloger
Hi, Neither do I. Can e.g. dvdauthor handle subtitles at all? Yes, most definitely -- although AFAIK only in vobsub format, it doesn't do any conversions. Not as far as I know. And we don't want the normal teletext part anyway, because it's not related to the program. Certainly some pages

Re: [DVBCUT-user] Wrong handling of unicode filenames

2007-09-04 Thread Wolfram Gloger
Hi, If there really is a locale-dependent conversion going on whenever converting QString - std::string -- what a horrible misdesign (in QString)! Is that really unavoidable? Maybe adding QTextCodec::setCodecForCStrings(QTextCodec::codecForLocale()); at the start of main() might fix this

Re: [DVBCUT-user] Wrong handling of unicode filenames

2007-09-05 Thread Wolfram Gloger
Hi! From: Michael Riepe [EMAIL PROTECTED] Wolfram Gloger wrote: The real cause is not the filename itself it is the conversion from QString to std::string and back, because the internal format of QString is unicode whereas std::string is using ascii. That is not true. I can put

Re: [DVBCUT-user] [PATCH] Output to a pipe (can eliminate extra dvdauthor run)

2007-11-26 Thread Wolfram Gloger
Hi, Some time ago I tried it but it did NOT work... maybe that was because I usally use -t before the file names at the end of the command line. dvdauthor -v mpeg2 -o /mount/dvdexport -t - dows NOT work! IIRC until recently the -t option wasn't needed at all.. Also I wasn't aware of

Re: [DVBCUT-user] Changes in r102-r105

2007-11-28 Thread Wolfram Gloger
Hi, First a big thank you for your merging work. * r104 is Wolfram's pipe output patch, with minor modifications. I think it's better to leave stdout and stderr open, just in case dvdauthor wants to print any error messages. You're right, that's better. Still better would be to see the

Re: [DVBCUT-user] Changes in r102-r105

2007-11-30 Thread Wolfram Gloger
Hi, Guess, someone has to open/learn QTdesigner now... ;) So it's impossible to change dvbcut GUI elements without Qtdesinger? And normally for a given pipe command not all muxers make sense, so it is dangerous to let the user choose among all with a combo box (at least for the preset

Re: [DVBCUT-user] Trouble making r110|111|112 - is this just me ?

2008-02-03 Thread Wolfram Gloger
Hi, I wondered if compiling {make} the above three revs from svn succeeds for others. It works for me (but with gcc-4.1, perhaps gcc-4.3 once again gets tighter). I'm having the following troubles: 112: /usr/lib/qt-3.3/include/qimage.h:61: warning: suggest parentheses around within ||

Re: [DVBCUT-user] Trouble making r110|111|112 - solved: changes in gcc 4.3

2008-02-04 Thread Wolfram Gloger
Hi, Thanks Wolfram, you were spot on; that got me through the first set of issues, and helped me find: http://gcc.gnu.org/gcc-4.3/porting_to.html Header Dependency Cleanup I also needed to add #includes in tsfile.cpp . Ok, looks good. At this point it compiles, runs and operates OK

Re: [DVBCUT-user] Problem with AC3 audio

2008-03-17 Thread Wolfram Gloger
Hi, There is a 10MB sample at http://www.andrewhakman.dhs.org/sp_dec5.ts.truncated . What is wrong with this transport stream, and can dvbcut be made to correctly identify the audio? The transport stream was recorded with TSReader, and there were no continuity or TEI errors reported while

[DVBCUT-user] [PATCH] FFmpeg includes have changed

2008-03-23 Thread Wolfram Gloger
Hi, Recent ffmpeg has changed include file locations (cleaned up IMHO). With the appended patch it is possible to compile with the new layout and with the old one in ffmpeg.src (a bit of a hack with a manual Depends(), maybe someone can come up with a cleaner solution). Regards, Wolfram diff

Re: [DVBCUT-user] Swapped audio channels

2008-03-23 Thread Wolfram Gloger
Hi, Welcome to r121 (code name Easter Egg ;-). I need: --- src/psfile.cpp~ 2008-03-23 19:32:28.0 +0100 +++ src/psfile.cpp 2008-03-23 21:23:01.0 +0100 @@ -18,6 +18,8 @@ /* $Id: psfile.cpp 121 2008-03-23 18:32:28Z too-tired $ */ +#include cassert + #include

Re: [DVBCUT-user] svn 125 build trouble - similar to debian PowerPC issue.

2008-06-14 Thread Wolfram Gloger
Hi, I would vote for make/autoconf My vote, too! as I am unable to compile dvbcut from SVN since a few weeks and don't know SCons enough to fix it (if you remember, it is still the same -Isrc/PREFIX)/include problem either i386 or ppc). Sorry for the delay, here is a current i386 build

Re: [DVBCUT-user] Compiling against SVN ffmpeg and libavformat issue

2008-10-29 Thread Wolfram Gloger
Hi, This doesn't work with the included ffmpeg: lavfmuxer.cpp: In constructor `lavfmuxer::lavfmuxer(const char*, uint32_t, mpgfile, const char*)': lavfmuxer.cpp:62: error: 'struct AVStream' has no member named 'sample_aspect_ratio' Sorry, you're right. One more #ifdef, unfortunately..

Re: [DVBCUT-user] writing incorrect fps when linked with recent ffmpeg

2011-12-07 Thread Wolfram Gloger
Hi, Based on svn r178, and linking with recent system ffmpeg instead of that provided by dvbcut, I observe inconsistencies in fps written to mpg file. Does the appended patch help? Cave: Only compile-tested for an older dvbcut version.. Regards, Wolfram. dvbcut-178-timebase.diff

Re: [DVBCUT-user] MPEG4/H264

2012-12-13 Thread Wolfram Gloger
Hi, I use ts-cut, hereby announced, shamelessly taking the opportunity: http://malloc.de/tools/#ts-cut Warning: it's command-line only, but has practically _no_ dependencies. Regards, Wolfram. -- LogMeIn Rescue: