I'm using Avidemux 2.61 to stitch two high def .ts files together (from a Humax Foxsat HDR). The output MPG looks fine when I open it in Avidemux, but when I play it back using other players (e.g. VLC, WMP, SMPlayer) playback terminates at the point of the cut between the two clips - i.e. the 2nd clip is completely missing. Has anyone seen these symptoms?
The combined file is 7.83Gb - could it be due to a file size limitation?
I'm running on a Windows 7 x64 system.
+ Reply to Thread
Results 1 to 30 of 34
-
-
No, that won't be the issue.
I haven't experienced this with Avidemux, but the behaviour you describe makes it sound like a muxing problem. Remuxing often fixes that -
* in Avidemux, load your stitched file and write another copy, taking care to set both Video and Audio to copy
* or for ffmpeg:
Code:ffmpeg -i stitched.ts -codec:v copy -codec:a copy remuxed.ts
Cheers,
Francois -
Every time a save a copy of the stitched together version I get a message at the end sayinh "Too short - the video has been saved but seems to be incomplete"
??? -
Is this in Avidemux? In other words, Avidemux does have a problem with the video it created also? That would seem to indicate the error occurred while joining.
Try concatenating your .ts files with other applications to compare. If you want to use ffmpeg:
Code:ffmpeg -i humax1.ts -i humax2.ts -codec:v copy -codec:a copy concatenated.ts
Francois -
-
I've just tried tsmuxer to join the same 2 clips and it does exactly the same thing - i.e. it truncates at the end of the first clip.
So I tried remuxing just the 2nd clip using tsmuxer and it generated an empty output file - zero bytes.
The 2nd clip plays back fine, and came from exactly the same Humax PVR as the 1st clip, but clearly there's a problem with it
???? -
Remuxing the 1st clip using tsmuxer worked fine. Remuxing other clips using tsmuxer (from the same night on the same Humax) gave varying results: in one case I got an error "Some tracks not recognised. This track was ignored". It then proceeded to remux but the output didn't have any audio.
I then tried the remuxing the "problem" clip again (using tsmuxer) and I got this same message, and the output file also contained no audio. This was an improvement on the first time I did this, when it simply created an empty output file.
When I tried joining the clips using ffmpeg, using the command line suggested by visagie I got this:
Code:FFmpeg version SVN-r7260, Copyright (c) 2000-2006 Fabrice Bellard, et al. configuration: --enable-mp3lame --enable-libnut --enable-libogg --enable-vor is --enable-faad --enable-faac --enable-libgsm --enable-xvid --enable-x264 --en ble-mingw32 --enable-a52 --enable-dts --enable-pp --enable-amr_nb --enable-amr_ b --enable-swscaler --enable-avisynth --enable-gpl --enable-memalign-hack --cpu i686 --extra-ldflags=-static libavutil version: 49.1.0 libavcodec version: 51.26.0 libavformat version: 51.6.0 built on Dec 8 2006 17:40:35, gcc: 4.0.3 Input #0, mpegts, from 'D:\Downloads\Video\Europa League Final 2013 ITV\Europa eague edited Part 1.ts': Duration: 02:15:18.1, start: 0.124000, bitrate: 9225 kb/s Stream #0.0[0x100]: Video: h264, yuv420p, 1920x1080, 25.00 fps(r) Stream #0.1[0x101]: Audio: aac, 48000 Hz, stereo, 114 kb/s Stream #0.2[0x102]: Audio: aac, 24000 Hz, mono, 40 kb/s [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]non existing PPS referenced [h264 @ 0090DD60]decode_slice_header error [h264 @ 0090DD60]PAFF interlacing is not implemented [h264 @ 0090DD60]PAFF interlacing is not implemented [h264 @ 0090DD60]PAFF interlacing is not implemented [h264 @ 0090DD60]PAFF interlacing is not implemented [h264 @ 0090DD60]PAFF interlacing is not implemented [h264 @ 0090DD60]PAFF interlacing is not implemented [h264 @ 0090DD60]concealing 4080 DC, 4080 AC, 4080 MV errors Input #1, mpegts, from 'D:\Downloads\Video\Europa League Final 2013 ITV\Dirty B itain - ITV1 HD - 2013-05-15.ts': Duration: 01:18:53.4, start: 1.278133, bitrate: 7852 kb/s Stream #1.0[0x30]: Video: h264, yuv420p, 1920x1080, 25.00 fps(r) Stream #1.1[0x50](eng): Subtitle: dvbsub ffmpeg: unrecognized option '-codec:v'
-
You could try going about it the "long" way. Open and append the ts files with MKVMergeGUI, save the output as MKV, then if you really need a ts file for some reason, try remuxing the MKV as a ts file with tsmuxer.
-
MKVMergeGUI only seems to want to open MKV files. How do I process .ts files with it (do I simply change the file extensions to .mkv?)
-
for ffmpeg, it should be -vcodec copy -acodec copy , or -c:v copy -c:a copy
You can also concatenate using -f concat . This usually works better
make a text file, rename the files without spaces , e.g. "mylist.txt"
Code:file 'G:\PATH\01.ts' file 'G:\PATH\02.ts'
Code:ffmpeg -f concat -i mylist.txt -c copy output.ts
-
-
Yes it is, put the full paths if the files are not in the same directory, make sure the text file has the correct paths (not G:\PATH, that was just an example)
You need a relatively new version of ffmpeg to use it
http://ffmpeg.zeranoe.com/builds/ -
-
It might be a problem; you won't know until you try it out .... It looks like you've exhausted many other options, you're not left with many...
You already tried videoredo in the other thread, but did you try the quickstream fix option ? In case the files have errors... It's probably not a coicidence that ffmpeg, projectx report many errors -
you mentioned a bunch of other programs
https://forum.videohelp.com/showthread.php?t=356482
But did you try solveigmm video splitter ? videoredo is usually one of the better ones, as it can sometimes fix transmission errors & glitches common in transport streams
another method might be dgindex, load 1st video, push add in the file list to load 2nd video, ok, file=>save project and demux video. This will give you the elementary .m2v video stream and audio stream(s). Then mux with another application e.g. tsmuxer, mkvmerge whatever container you want -
Thanks for the continued help...am catching up with the suggestions...the output from the ffmpeg join seemed to work, but the resulting file wasn't right - the video following the join contained no audio.
VideoRedo wouldn't open the problem clip..."no PIDS specified when trying to open an output stream". I tried "Ignore transport stream maps" in the Options but then I got "mpeg audio layer 1 is not supported".
So it seems like the 2nd clip is corrupt in some way, but I can't open it in VideoRedo to fix it. Are dgindex or mkverge the right sort of tools to fix this sort of corruption? Ironically the clip plays back fine by itself. -
I have no idea - you just have to try out a bunch of things. Broadcast transport streams are extremely finicky as you can see
-
You should be able to click on the Add button and open a ts file. They're in the list of supported file types. Maybe make sure the drop down box in the window which opens when you use the Add/Append button says "all supported media files", although I'm pretty sure that's what it'll default to.
-
-
So I finally managed to get the clips loaded into MKVMergeGUI and the first thing I noticed was that the 1st clip has 2 audio tracks (presumably L/R) while the 2nd clip (the problem one) only has one. Could this explain my problem? If so, what's the best way of fixing the audio track?
-
It won't have two audio tracks because one is left and the other right, it'll have two audio tracks as the second one is a different audio stream. Maybe audio in another language.... that sort of thing.
Just de-select one of the audio tracks in the ts file with two of them and see what you're left with. If the remaining audio is the wrong one just save the MKV again while selecting the other audio stream instead.
By the way, you don't appear to be joining those ts files. To join files together, use the Add button to open the first file, then use the Append button to add the rest. If you load them all using the Add button you'll end up with a single MKV with multiple video and audio streams which run at the same time. If you want to join the streams together, you need to use Append. -
OK I tried joining as per your directions this time, selecting only one of the two audio tracks from the first clip. It stopped very quickly with this message:
cannot be appended to the track number 1 from the file 'D:\Downloads\Video\....ts'. The track parameters do not match.
Similar Threads
-
Capturing a video with ffmpeg does not output audio when played
By oban in forum Capturing and VCRReplies: 0Last Post: 3rd Jun 2011, 10:11 -
Avidemux (Ubuntu 10.10) movie is played in slow motion
By Toonyto in forum EditingReplies: 0Last Post: 21st Jan 2011, 06:51 -
MPEG clips play from cache but truncated when first played from online
By njaounteisc in forum Newbie / General discussionsReplies: 2Last Post: 19th Mar 2010, 12:01 -
Please help! Corrupted x264 video preview/output in AviDemux
By bigshotceo in forum EditingReplies: 1Last Post: 31st Dec 2008, 08:48 -
AviDemux - Uncompressed AVI Output
By hech54 in forum Video ConversionReplies: 12Last Post: 29th Sep 2008, 11:00