[FFmpeg-user] Conversion fails ... transport stream to h264 mpeg 4, ... help please

PyProg PyProg pyprog05 at gmail.com
Thu Oct 11 11:54:16 CEST 2012


2012/10/10 Carl Eugen Hoyos <cehoyos at ag.or.at>:

> As a work-around, pass -f mpegts to ffmpeg:
> $ ffmpeg -f mpegts -i /20121009_182802_[5 France 5]_[C dans l'air].ts
>
> Which software produced the file?
> (It starts with a lot of garbage.)
>
> Thank you for the sample, Carl Eugen

Hi Carl,

First of all, my answer is long (it will read to the end).

>From my side I did a test with -f mpegts at the beginning of the
command and it works with this video. The problem is that I want to
transcode the TS file into h264 mpeg4, this command (taking into
considers the specification of youtube):

/home/toto/ekd_toto/linux_dependances_portables/ffmpeg/ffmpeg -f
mpegts -i "/home/toto/blender/20121009_182802_[5 France 5]_[C dans
l'air].ts" -c:v libx264 -b:v 2500k -s 854x480 -aspect 16:9 -c:a
libvo_aacenc -b:a 128k -vf yadif -threads 4 -y
"/home/toto/a/nouv_EKD/video/version_3/pour_le_web/10_10_12_ts_to_h264_mpeg4_jean-daniel_video.mp4"

... and the converted mp4 file is full of artifacts and sound problems.

This is the original video:

http://glouk.legtux.org/divers/20121009_182802_%5b5%20France%205%5d_%5bC%20dans%20l%27air%5d.ts

The converted mp4 video (with artefacts):

http://glouk.legtux.org/divers/10_10_12_ts_to_h264_mpeg4_jean-daniel_video.mp4

Can we specify additional parameters for FFmpeg to these artifacts and
sound problems do not appear?
	
Regarding to your question "Which software produced the file?", In
fact it is a person (Jean-Daniel) who makes testing of the software I
developed (which is called EnKoDeur-Mixeur --> links in my signature
... the software uses, among other, FFmpeg). I'm being to implement TS
support (opening and transcoding) in EnKoDeur-Mixeur    and
Jean-Daniel test with one of his videos. Here's his answer for you:
	
"
 -f mpegts

This solves largely the problem (see below).

The file is directly recdorded by a chinese cheap TV set (Belson), to
the USB device. Errors can come from lost frames (or buggy tv
software).

Avidemux loads the file and convert it. I see in many readers a dely
on opening that certainly come from the faulty file format.

Nb: I renamed the file test.ts for friendlyness, but it's the same
that is online. I choose pal_dvd target to reduce the possible config
errors. Without the -f mpegts the conversion aborts (see below)

with -f mpegts, readable result:

 ffmpeg -f mpegts -i test.ts -target pal-dvd test.mp4
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers

  built on Sep 28 2012 23:56:09 with gcc 4.7 (SUSE Linux)

  configuration: --shlibdir=/usr/lib64 --prefix=/usr
--mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared
--disable-static --enable-debug --disable-stripping
--extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -g
-fPIC -I/usr/include/gsm' --enable-gpl --enable-x11grab
--enable-version3 --enable-pthreads --enable-avfilter
--enable-libpulse --enable-libvpx --enable-libmp3lame
--enable-libvorbis --enable-libtheora --enable-libspeex
--enable-libxvid --enable-libx264 --enable-libschroedinger
--enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-postproc --enable-libdc1394 --enable-librtmp
--enable-libfreetype --enable-avresample
  libavutil      51. 73.101 / 51. 73.101

  libavcodec     54. 59.100 / 54. 59.100

  libavformat    54. 29.104 / 54. 29.104

  libavdevice    54.  2.101 / 54.  2.101

  libavfilter     3. 17.100 /  3. 17.100

  libswscale      2.  1.101 /  2.  1.101

  libswresample   0. 15.100 /  0. 15.100

  libpostproc    52.  0.100 / 52.  0.100
[mpegts @ 0xd232a0] Could not detect TS packet size, defaulting to non-FEC/DVHS
[mpeg2video @ 0xd43a80] mpeg_decode_postinit() failure
    Last message repeated 1 times
[mpegts @ 0xd232a0] PES packet size mismatch
[mpeg2video @ 0xd43a80] mpeg_decode_postinit() failure
[mpeg2video @ 0xd43a80] skipped MB in I frame at 5 7
[mpeg2video @ 0xd43a80] ac-tex damaged at 5 19
[mpeg2video @ 0xd43a80] Warning MVs not available
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in I frame
[mpegts @ 0xd232a0] PES packet size mismatch
    Last message repeated 6 times
[mpegts @ 0xd232a0] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0xd232a0] Could not find codec parameters for stream 4
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0xd232a0] Could not find codec parameters for stream 5
(Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0xd232a0] Could not find codec parameters for stream 6
(Unknown: none ([12][0][0][0] / 0x000C)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0xd232a0] Could not find codec parameters for stream 7
(Unknown: none ([255][0][0][0] / 0x00FF)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0xd232a0] Could not find codec parameters for stream 8
(Unknown: none ([255][0][0][0] / 0x00FF)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0xd63e80] start time is not set in estimate_timings_from_pts

[NULL @ 0xd6a340] start time is not set in estimate_timings_from_pts

[NULL @ 0xd70800] start time is not set in estimate_timings_from_pts

[NULL @ 0xd76cc0] start time is not set in estimate_timings_from_pts

[NULL @ 0xd7d180] start time is not set in estimate_timings_from_pts

[mpegts @ 0xd232a0] PES packet size mismatch

    Last message repeated 3 times
Input #0, mpegts, from 'test.ts':
  Duration: 00:00:10.85, start: 40225.173822, bitrate: 4093 kb/s
  Program 257
    Metadata:
      service_name    : France 2
      service_provider: GR1 A
  Program 260
    Metadata:
      service_name    : France 5
      service_provider: GR1 A
    Stream #0:0[0x140]: Video: mpeg2video (Main) ([2][0][0][0] /
0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 25.17 fps,
25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x14a](fra): Audio: mp2 ([3][0][0][0] / 0x0003), 48000
Hz, stereo, s16, 192 kb/s
    Stream #0:2[0x14b](qad): Audio: mp2 ([3][0][0][0] / 0x0003), 48000
Hz, stereo, s16, 192 kb/s
    Stream #0:3[0x154](fra): Subtitle: dvb_subtitle ([6][0][0][0] /
0x0006) (hearing impaired)
    Stream #0:4[0x172]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:5[0x173]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:6[0x174]: Unknown: none ([12][0][0][0] / 0x000C)
    Stream #0:7[0x175]: Unknown: none ([255][0][0][0] / 0x00FF)
    Stream #0:8[0x176]: Unknown: none ([255][0][0][0] / 0x00FF)
  Program 261
    Metadata:
      service_name    : ?France ?
      service_provider: GR1 A
  Program 262
    Metadata:
      service_name    : LCP
      service_provider: GR1 A
  Program 282
    Metadata:
      service_name    : France 3
      service_provider: Nat
  Program 368
    Metadata:
      service_name    : TLT
      service_provider: Scopus Network Technologies
File 'test.mp4' already exists. Overwrite ? [y/N] y
Output #0, dvd, to 'test.mp4':
  Metadata:
    encoder         : Lavf54.29.104
    Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR
16:9], q=2-31, 6000 kb/s, 90k tbn, 25 tbc
    Stream #0:1(fra): Audio: ac3, 48000 Hz, stereo, flt, 448 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg2video)
  Stream #0:1 -> #0:1 (mp2 -> ac3)

Press [q] to stop, [?] for help
[mpeg2video @ 0xd43a80] skipped MB in I frame at 5 7
[mpeg2video @ 0xd43a80] ac-tex damaged at 5 19
[mpeg2video @ 0xd43a80] Warning MVs not available
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in I frame
[mpeg2video @ 0xd43a80] invalid mb type in P Frame at 24 8
[mpeg2video @ 0xd43a80] 00 motion_type at 0 33
[mpeg2video @ 0xd43a80] Warning MVs not available
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0xd43a80] 00 motion_type at 36 31
[mpeg2video @ 0xd43a80] Warning MVs not available
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 30 13
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd43a80] concealing 15 DC, 15 AC, 15 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 26 12
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 24 17
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpegts @ 0xd232a0] PES packet size mismatch
[mp2 @ 0xd51120] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0xd43a80] 00 motion_type at 34 7
[mpeg2video @ 0xd43a80] concealing 315 DC, 315 AC, 315 MV errors in B frame
[mpeg2video @ 0xd43a80] concealing 20 DC, 20 AC, 20 MV errors in P frame
[mpeg2video @ 0xd43a80] concealing 19 DC, 19 AC, 19 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 18 23
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 23 31
[mpeg2video @ 0xd43a80] slice mismatch
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in I frame
[mpeg2video @ 0xd43a80] invalid mb type in B Frame at 38 13
[mpeg2video @ 0xd43a80] concealing 154 DC, 154 AC, 154 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 28 9
[mpeg2video @ 0xd43a80] ac-tex damaged at 24 31
[mpeg2video @ 0xd43a80] concealing 180 DC, 180 AC, 180 MV errors in P frame
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] mb incr damaged
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 43 22
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] slice mismatch
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] invalid mb type in I Frame at 16 15
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in I frame
[mpeg2video @ 0xd43a80] concealing 195 DC, 195 AC, 195 MV errors in B frame
[mpeg2video @ 0xd43a80] concealing 16 DC, 16 AC, 16 MV errors in B frame
[mpeg2video @ 0xd43a80] concealing 6 DC, 6 AC, 6 MV errors in P frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 13 15
[mpeg2video @ 0xd43a80] invalid mb type in I Frame at 22 22
[mpeg2video @ 0xd43a80] ac-tex damaged at 35 13
[mpeg2video @ 0xd43a80] ac-tex damaged at 36 32
[mpeg2video @ 0xd43a80] ac-tex damaged at 24 28
[mpeg2video @ 0xd43a80] concealing 270 DC, 270 AC, 270 MV errors in I frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 36 31
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 19 25
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 22 4
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 0 28
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd43a80] 00 motion_type at 25 22
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] mb incr damaged
[mpeg2video @ 0xd43a80] concealing 135 DC, 135 AC, 135 MV errors in B frame
[mpeg2video @ 0xd43a80] concealing 2 DC, 2 AC, 2 MV errors in P frame
[mpegts @ 0xd232a0] PES packet size mismatch
[mp2 @ 0xd51120] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0xd43a80] mb incr damaged
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 2 33
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0xd43a80] 00 motion_type at 36 9
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] skipped MB in I frame at 27 24
[mpeg2video @ 0xd43a80] ac-tex damaged at 24 15
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in I frame
[mpeg2video @ 0xd43a80] concealing 6 DC, 6 AC, 6 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 30 14
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 34 33
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpegts @ 0xd232a0] PES packet size mismatch
[mpeg2video @ 0xd43a80] invalid mb type in P Frame at 23 13
[mpeg2video @ 0xd43a80] concealing 136 DC, 136 AC, 136 MV errors in P frame
[mpeg2video @ 0xd43a80] concealing 4 DC, 4 AC, 4 MV errors in P frame
Header missings=0.0 q=2.1 size=    3706kB time=00:00:04.76
bitrate=6378.1kbits/s dup=13 drop=0
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0xd43a80] 00 motion_type at 18 26
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 18 13
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] mb incr damaged
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 21 25
[mpeg2video @ 0xd43a80] ac-tex damaged at 31 26
[mpeg2video @ 0xd43a80] invalid mb type in P Frame at 10 34
[mpeg2video @ 0xd43a80] concealing 135 DC, 135 AC, 135 MV errors in P frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 36 35
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 21 16
[mpeg2video @ 0xd43a80] concealing 53 DC, 53 AC, 53 MV errors in P frame
[mpeg2video @ 0xd43a80] 00 motion_type at 29 2
[mpeg2video @ 0xd43a80] concealing 135 DC, 135 AC, 135 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 15 32
[mpeg2video @ 0xd43a80] 00 motion_type at 6 5
[mpeg2video @ 0xd43a80] 00 motion_type at 14 6
[mpeg2video @ 0xd43a80] 00 motion_type at 13 7
[mpeg2video @ 0xd43a80] 00 motion_type at 11 8
[mpeg2video @ 0xd43a80] 00 motion_type at 5 9
[mpeg2video @ 0xd43a80] 00 motion_type at 29 10
[mpeg2video @ 0xd43a80] 00 motion_type at 9 11
[mpeg2video @ 0xd43a80] 00 motion_type at 9 12
[mpeg2video @ 0xd43a80] 00 motion_type at 10 13
[mpeg2video @ 0xd43a80] 00 motion_type at 17 14
[mpeg2video @ 0xd43a80] 00 motion_type at 4 15
[mpeg2video @ 0xd43a80] mb incr damaged
[mpeg2video @ 0xd43a80] 00 motion_type at 14 17
[mpeg2video @ 0xd43a80] 00 motion_type at 38 18
[mpeg2video @ 0xd43a80] invalid cbp at 15 19
[mpeg2video @ 0xd43a80] 00 motion_type at 14 20
[mpeg2video @ 0xd43a80] 00 motion_type at 25 21
[mpeg2video @ 0xd43a80] invalid cbp at 23 22
[mpeg2video @ 0xd43a80] 00 motion_type at 24 23
[mpeg2video @ 0xd43a80] slice mismatch
[mpeg2video @ 0xd43a80] 00 motion_type at 9 25
[mpeg2video @ 0xd43a80] 00 motion_type at 28 26
[mpeg2video @ 0xd43a80] 00 motion_type at 12 27
[mpeg2video @ 0xd43a80] 00 motion_type at 8 28
[mpeg2video @ 0xd43a80] ac-tex damaged at 4 29
[mpeg2video @ 0xd43a80] invalid mb type in B Frame at 5 30
[mpeg2video @ 0xd43a80] 00 motion_type at 7 31
[mpeg2video @ 0xd43a80] 00 motion_type at 8 32
[mpeg2video @ 0xd43a80] mb incr damaged
[mpeg2video @ 0xd43a80] 00 motion_type at 9 34
[mpeg2video @ 0xd43a80] invalid cbp at 7 35
[mpeg2video @ 0xd43a80] concealing 1395 DC, 1395 AC, 1395 MV errors in B frame
[mpegts @ 0xd232a0] PES packet size mismatch
[mp2 @ 0xd51120] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0xd43a80] ac-tex damaged at 25 27
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd43a80] invalid cbp at 21 17
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 14 14
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in I frame
[mpeg2video @ 0xd43a80] 00 motion_type at 9 16
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] slice mismatch
[mpeg2video @ 0xd43a80] concealing 73 DC, 73 AC, 73 MV errors in P frame
[mpeg2video @ 0xd43a80] 00 motion_type at 16 16
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 10 18
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 2 24
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 34 27
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0xd43a80] concealing 18 DC, 18 AC, 18 MV errors in B frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 11 14
[mpeg2video @ 0xd43a80] ac-tex damaged at 6 19
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in I frame
[mpeg2video @ 0xd43a80] mb incr damaged
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpegts @ 0xd232a0] PES packet size mismatch
[mp2 @ 0xd51120] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mp2 @ 0xd51120] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0xd43a80] ac-tex damaged at 25 10
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] slice mismatch
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] concealing 3 DC, 3 AC, 3 MV errors in P frame
[mpeg2video @ 0xd43a80] 00 motion_type at 41 16
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] concealing 9 DC, 9 AC, 9 MV errors in B frame
[mpeg2video @ 0xd43a80] slice mismatch
[mpeg2video @ 0xd43a80] concealing 48 DC, 48 AC, 48 MV errors in P frame
[mpeg2video @ 0xd43a80] slice mismatch
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 35 27
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 32 25
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 0 35
[mpeg2video @ 0xd43a80] 00 motion_type at 32 4
[mpeg2video @ 0xd43a80] concealing 225 DC, 225 AC, 225 MV errors in P frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 28 8
[mpeg2video @ 0xd43a80] concealing 135 DC, 135 AC, 135 MV errors in B frame
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0xd43a80] 00 motion_type at 25 20
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpegts @ 0xd232a0] PES packet size mismatch
[mp2 @ 0xd51120] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0xd43a80] ac-tex damaged at 13 11
[mpeg2video @ 0xd43a80] ac-tex damaged at 37 17
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in I frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 22 14
[mpeg2video @ 0xd43a80] concealing 52 DC, 52 AC, 52 MV errors in P frame
[mpeg2video @ 0xd43a80] slice mismatch
[mpeg2video @ 0xd43a80] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0xd43a80] 00 motion_type at 41 24
[mpeg2video @ 0xd43a80] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0xd43a80] ac-tex damaged at 42 10
[mpeg2video @ 0xd43a80] concealing 141 DC, 141 AC, 141 MV errors in P frame
[mpegts @ 0xd232a0] PES packet size mismatch
[mp2 @ 0xd51120] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpegts @ 0xd232a0] PES packet size mismatch
[mpeg2video @ 0xd43a80] concealing 284 DC, 284 AC, 284 MV errors in P frame
[mp2 @ 0xd51120] incomplete frame
Error while decoding stream #0:1: Invalid data found when processing input
frame=  219 fps=0.0 q=3.2 Lsize=    7100kB time=00:00:08.72
bitrate=6670.1kbits/s dup=17 drop=0
video:6540kB audio:430kB subtitle:0 global headers:0kB muxing overhead 1.863252%


without -f mpegts, no result

ffmpeg -i test.ts -target pal-dvd test.mp4
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep 28 2012 23:56:09 with gcc 4.7 (SUSE Linux)
  configuration: --shlibdir=/usr/lib64 --prefix=/usr
--mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared
--disable-static --enable-debug --disable-stripping
--extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -g
-fPIC -I/usr/include/gsm' --enable-gpl --enable-x11grab
--enable-version3 --enable-pthreads --enable-avfilter
--enable-libpulse --enable-libvpx --enable-libmp3lame
--enable-libvorbis --enable-libtheora --enable-libspeex
--enable-libxvid --enable-libx264 --enable-libschroedinger
--enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-postproc --enable-libdc1394 --enable-librtmp
--enable-libfreetype --enable-avresample
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100

  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg @ 0x23dd280] Format mpeg detected only with low score of 25,
misdetection possible!
[mpeg @ 0x23dd280] Further flags set but no bytes left

[mpeg @ 0x23dd280] pes_ext C2 is invalid

[mpeg @ 0x23dd280] probed stream 1 failed

[mpeg @ 0x23dd280] probed stream 5 failed

[mpeg @ 0x23dd280] probed stream 6 failed

[mpeg @ 0x23dd280] probed stream 7 failed

[mpeg @ 0x23dd280] Invalid timestamps stream=1, pts=852695377,
dts=5539292435, size=34318
[mp1 @ 0x2424d00] Header missing

    Last message repeated 3 times
[mpeg @ 0x23dd280] Invalid timestamps stream=2, pts=2897908561,
dts=4977112148, size=30969
[mpeg @ 0x23dd280] DTS discontinuity in stream 2: packet 56 with DTS
2897947441, packet 57 with DTS 3620529164
[mpeg @ 0x23dd280] Invalid timestamps stream=7, pts=314091292,
dts=1682967080, size=45061
[mp1 @ 0x2424d00] Header missing
[mpeg @ 0x23dd280] Could not find codec parameters for stream 1
(Video: none): unspecified size

Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpeg @ 0x23dd280] decoding for stream 4 failed
[mpeg @ 0x23dd280] Could not find codec parameters for stream 4
(Audio: mp1, 0 channels, s16): unspecified frame size

Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpeg @ 0x23dd280] Could not find codec parameters for stream 5
(Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpeg @ 0x23dd280] Could not find codec parameters for stream 6
(Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpeg @ 0x23dd280] Could not find codec parameters for stream 7
(Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x241a2e0] start time is not set in estimate_timings_from_pts

[NULL @ 0x243c000] start time is not set in estimate_timings_from_pts

Input #0, mpeg, from 'test.ts':

  Duration: 10:12:23.67, start: 3489.903244, bitrate: 1 kb/s
    Stream #0:0[0x1c2]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:1[0x1e1]: Video: none, 90k tbr, 90k tbn
    Stream #0:2[0x1c0]: Audio: mp1, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:3[0x20]: Subtitle: dvd_subtitle
    Stream #0:4[0x1c5]: Audio: mp1, 0 channels, s16
    Stream #0:5[0x1eb]: Video: none, 90k tbr, 90k tbn
    Stream #0:6[0x1ea]: Video: none, 90k tbr, 90k tbn
    Stream #0:7[0x1e0]: Video: none, 1 tbr, 90k tbn
File 'test.mp4' already exists. Overwrite ? [y/N] y
Output #0, dvd, to 'test.mp4':
  Metadata:
    encoder         : Lavf54.29.104
    Stream #0:0: Audio: ac3, 48000 Hz, stereo, flt, 448 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp2 -> ac3)

Press [q] to stop, [?] for help
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mpeg @ 0x23dd280] Further flags set but no bytes left
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mpeg @ 0x23dd280] pes_ext C2 is invalid
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x23e3840] Header missing

Error while decoding stream #0:0: Invalid data found when processing input
size=       4kB time=10:12:15.29 bitrate=   0.0kbits/s
video:0kB audio:2kB subtitle:0 global headers:0kB muxing overhead 128.571429%
"

a+

-- 
http://ekd.tuxfamily.org
http://ekdm.wordpress.com
http://glouk.legtux.org/guiescputil
http://lcs.dunois.clg14.ac-caen.fr/~alama/blog
http://lprod.org/wiki/doku.php/video:encodage:avchd_converter


More information about the ffmpeg-user mailing list