Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (83)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (5761)

  • Merge commit 'bd6496fa07e32fd09ceb79404f9af43df959bcb2'

    5 mai 2017, par Clément Bœsch
    Merge commit 'bd6496fa07e32fd09ceb79404f9af43df959bcb2'
    

    * commit 'bd6496fa07e32fd09ceb79404f9af43df959bcb2' :
    interplayvideo : Convert to the new bitstream reader
    adx : Convert to the new bitstream reader
    dvbsubdec : Convert to the new bitstream reader
    motionpixels : Convert to the new bitstream reader

    This merge is a noop, see
    http://ffmpeg.org/pipermail/ffmpeg-devel/2017-April/209609.html

    Merged-by : Clément Bœsch <u@pkh.me>

  • ffmpeg status & quality / cuda (CPU/GPU)

    18 avril 2015, par cocco

    ffmpeg am i doing it right ?

    So much time has passed since i use ffmpeg to convert clips on my home web server, now that mp4 (h264 & aac) is the current overall standard (works on every console, smartphone, smartTV, pc) i decided to convert my old clips from various digital cameras to to this new container/codecs.

    1. less space & the same quality.
    2. compatibility
    3. support for tags (subler for mac)

    after some research i opted for ffmpeg because of various reasons

    1. commandline (i made my simple web interface with default settings wich i execute with php’s exec)
    2. the quality/size amount

    I read that many expensive video conversion softwares are not able to handle low bitrate videos properly. I also tested some of them and personally i could not find the proper export settings or i was not impressed by the results... some had fixed default export setings, most had a lower video quality at the same filesize. ffmpeg allows me to set the -crf (18-24 usually) and -preset (veryslow, fast..) witch allows me to reduce the filesize drastically mantaining the same
    visible quality.

    Said that i’m using the preset at veryslow.(there is also placebo but the final video file is only 1% smaller in size).

    And here is the command i use

    ffmpeg
    -y //overwrite the file if it exists

    -i INPUTFILE // replace with the input file

    -metadata title=THETITLE // set a nice title, visible on modern devices
    -metadata date=THEDATE // set a nice title, visible on modern devices

    -c:v libx264 // use the h264 codec
    -crf 21 // try different numbers between 18-26
    -preset veryslow // placebo,slow,fast,ultrafast==big file
    -tune film // tune it a little
    -pix_fmt yuv420p // preferred on most modern devices
    -profile:v main // preferred on most modern devices
    -level 3.1 // preferred on most modern devices
    -refs 4 // preferred on most modern devices

    -c:a libfdk_aac // use aac
    -metadata:s:a language=eng // set a language, visible on modern devices
    -b:a 128k // audio bitrate 128k is like mp3 192k
    -ar 48000 // 44100 ... whatever
    -ac 2 // audiochannels
    -movflags +faststart //move the metadata in the front of the video so it loads faster

    OUTPUTFILE

    some camcorder clips with m2ts already have the avc/h264 compatible codec so i just copy the stream.
    some have the ac3/dolby sorround audio. I convert the audio but keep the ac3 as second audio track mapping the ffmpeg streams.this allows me to watch the mp4 on browsers and mobile devices but i’m able to keep the surround sound to playback on some tv’s, advanced media players or devices like apple tv.

    not that i’m not happy with the speed (using quad core’s) but i recently read again about cuda opencl and there is also the simple fact that i’m not using other converters than ffmpeg since alot of time.

    Is ffmpeg (with the setting i use) a good converter to keep the same video quality than the source reducing the space occupied by and average of 30-40% ?

    Is GPU conversion really that bad (cuda .. testing a gtx970) ?
    it would be nice to add some more speed to the conversions by using both the gpu and the cpu..but for my understanding they cannot work together ??? and using only gpu is a drastical quality loss...cpu si more precise, gpu is faster in calculation are too imprecise from what i read.. so expensive softwares use cuda only for preview purpose... right ?

    Is ffmpeg or another software compatible with CPU+GPU encoding ?
    i really don’t remember where, but i read that the ffmpeg is not a good videoconverter.

    i’m really happy with the size/quality, i gained an average of 30% in space with no visible quality loss. With some extra parameters i can adjust some really old analog videos that are deinterlaced in a really bad way.

    maybe i could gain more size/quality with another software ???

    note : i like ffmpeg.it’s free and it has commandline so i can create my own interface with php html & js and use it on various machines without the need to install it in every device i use. i uplad the idevice clips directly to the ffmpeg server.

    btw. : explain the downvotes...

    EDIT :

    @talonmies ...cuda tag removed :

    http://www.nvidia.com/object/cuda_home_new.html

    CUDA® is a parallel computing platform and programming model invented
    by NVIDIA. It enables dramatic increases in computing performance by
    harnessing the power of the graphics processing unit (GPU). With
    millions of CUDA-enabled GPUs sold to date, software developers,
    scientists and researchers are finding broad-ranging uses for GPU
    computing with CUDA. Here are a few examples : - See more at :
    http://www.nvidia.com/object/cuda_home_new.html#sthash.dEYaqae7.dpuf

    isn’t cuda the programming model that a theoretical ffmpeg library should support to handle GPU encoding on nvidia cards like the gtx 970 ?? like the badaboom software http://www.geforce.com/games-applications/pc-applications/badaboom-media-converter.

  • FFmpeg retrieve a specific program from TS file

    8 mai 2017, par chang jc

    I tried to retrieve a specific program from a TS file.
    Said :

    Input #0, mpegts, from 'DVB_T_good.ts':
     Duration: 00:00:48.04, start: 55045.888000, bitrate: 14521 kb/s
     Program 300
       Metadata:
         service_name    : ?l?��}�TS�
         service_provider: ?l?��
       Stream #0:0[0xbb9]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0xbba]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0:2[0xbbb]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 301
       Metadata:
         service_name    : ?l?��N��?S�
         service_provider: ?l?��
       Stream #0:3[0xbc3]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:9[0xbc4]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0:10[0xbc5]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 302
       Metadata:
         service_name    : ?l?��e��^S�
         service_provider: ?l?��
       Stream #0:5[0xbcd]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:6[0xbce]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 304
       Metadata:
         service_name    : ?l?��S�pcS�
         service_provider: ?l?��
       Stream #0:4[0xbe1]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
       Stream #0:7[0xbe2]: Audio: aac_latm (HE-AAC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
       Stream #0:8[0xbe3]: Audio: aac_latm (HE-AAC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp

    Then I tried to retrieve a specific program as :

    ffmpeg -i INPUT -map 0:p:1344 OUTPUT

    It succeeds greatly but the only thing I noticed is :

    it seems to apply transcode (decode & encode again) to the output implicitely ?

    ffmpeg version N-85693-g8de3458 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
     configuration: --prefix=/home/john/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/john/ffmpeg_build/include --extra-ldflags=-L/home/john/ffmpeg_build/lib --bindir=/home/john/bin --enable-gpl --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --disable-ffplay --disable-ffserver --disable-doc --disable-libopus
     libavutil      55. 61.100 / 55. 61.100
     libavcodec     57. 93.100 / 57. 93.100
     libavformat    57. 72.101 / 57. 72.101
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 87.100 /  6. 87.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    [NULL @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [NULL @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
       Last message repeated 2 times
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpegts @ 0x33af360] PES packet size mismatch
       Last message repeated 9 times
    Input #0, mpegts, from 'DVB_T_good.ts':
     Duration: 00:00:48.04, start: 55045.888000, bitrate: 14521 kb/s
     Program 300
       Metadata:
         service_name    : ?l?��}�TS�
         service_provider: ?l?��
       Stream #0:0[0xbb9]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0xbba]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0:2[0xbbb]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 301
       Metadata:
         service_name    : ?l?��N��?S�
         service_provider: ?l?��
       Stream #0:3[0xbc3]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:9[0xbc4]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0:10[0xbc5]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 302
       Metadata:
         service_name    : ?l?��e��^S�
         service_provider: ?l?��
       Stream #0:5[0xbcd]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:6[0xbce]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 304
       Metadata:
         service_name    : ?l?��S�pcS�
         service_provider: ?l?��
       Stream #0:4[0xbe1]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
       Stream #0:7[0xbe2]: Audio: aac_latm (HE-AAC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
       Stream #0:8[0xbe3]: Audio: aac_latm (HE-AAC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    map 0:p:304
    File '304_1800.ts' already exists. Overwrite ? [y/N] y
    Stream mapping:
     Stream #0:4 -> #0:0 (h264 (native) -> mpeg2video (native))
     Stream #0:7 -> #0:1 (aac_latm (native) -> mp2 (native))
     Stream #0:8 -> #0:2 (aac_latm (native) -> mp2 (native))
    Press [q] to stop, [?] for help
    [h264 @ 0x33d6d20] mmco: unref short failure
       Last message repeated 1 times
    [h264 @ 0x33d6d20] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [h264 @ 0x33d6d20] reference picture missing during reorder
    [h264 @ 0x33d6d20] Missing reference picture, default is 65784
    [h264 @ 0x33d6d20] reference picture missing during reorder
    [h264 @ 0x33d6d20] Missing reference picture, default is 65785
    Output #0, mpegts, to '304_1800.ts':
     Metadata:
       encoder         : Lavf57.72.101
       Stream #0:0: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
       Metadata:
         encoder         : Lavc57.93.100 mpeg2video
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
       Metadata:
         encoder         : Lavc57.93.100 mp2
       Stream #0:2: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
       Metadata:
         encoder         : Lavc57.93.100 mp2
    [h264 @ 0x33d6d20] mmco: unref short failureime=00:00:44.34 bitrate=3506.2kbits/s speed=1.43x    
       Last message repeated 1 times
    [h264 @ 0x33d6d20] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [mpegts @ 0x33af360] PES packet size mismatch
    [aac_latm @ 0x3587360] Number of bands (59) exceeds limit (45).
    Error while decoding stream #0:7: Invalid data found when processing input
       Last message repeated 1 times
    [h264 @ 0x33d6d20] mmco: unref short failure
       Last message repeated 1 times
    [h264 @ 0x33d6d20] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [h264 @ 0x33d6d20] mmco: unref short failureime=00:00:45.05 bitrate=3491.2kbits/s speed=1.43x    
       Last message repeated 1 times
    [h264 @ 0x33d6d20] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [h264 @ 0x33d6d20] mmco: unref short failure
       Last message repeated 1 times
    [h264 @ 0x33d6d20] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [mpegts @ 0x33af360] PES packet size mismatchme=00:00:47.74 bitrate=3470.1kbits/s speed=1.43x    
       Last message repeated 1 times
    [h264 @ 0x33d6d20] error while decoding MB 97 35, bytestream -12
    Error while decoding stream #0:7: Invalid data found when processing input
    Error while decoding stream #0:8: Invalid data found when processing input
    frame= 1404 fps= 42 q=31.0 Lsize=   20396kB time=00:00:47.88 bitrate=3489.5kbits/s speed=1.42x    
    video:14144kB audio:4429kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.813825%

    You could notice by following message :

    **

    Output #0, mpegts, to '304_1800.ts':
     Metadata:
       encoder         : Lavf57.72.101
       Stream #0:0: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
       Metadata:
         encoder         : Lavc57.93.100 mpeg2video
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
       Metadata:
         encoder         : Lavc57.93.100 mp2
       Stream #0:2: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
       Metadata:
         encoder         : Lavc57.93.100 mp2

    **

    If so, could I avoid the transcoding by command ? Or it is a necessary ?
    It it is a need, WHY ?