Retourner au contenu associé (journal : Edition simple de fichiers TS sous Linux)
Posté par mac_is_mac (site web personnel) le 01 novembre 2014 à 17:01. En réponse au journal Edition simple de fichiers TS sous Linux. Évalué à 1.
Merci pour ta réponse, mais je ne comprends pas comment faire marcher avconv.
Par exemple, avec
avconv -ss 2 -i qssq.ts -t 30 -c:v copy -c:a copy -c:s copy -map 0 sortie.ts
J'obtiens
avconv version 9.16-6:9.16-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers built on Aug 10 2014 18:16:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) [h264 @ 0x18ca4e0] non-existing PPS referenced [h264 @ 0x18ca4e0] non-existing PPS 0 referenced [h264 @ 0x18ca4e0] decode_slice_header error [h264 @ 0x18ca4e0] no frame! [h264 @ 0x18ca4e0] non-existing PPS referenced [h264 @ 0x18ca4e0] non-existing PPS 0 referenced [h264 @ 0x18ca4e0] decode_slice_header error [h264 @ 0x18ca4e0] no frame! [h264 @ 0x18ca4e0] non-existing PPS referenced [h264 @ 0x18ca4e0] non-existing PPS 0 referenced [h264 @ 0x18ca4e0] decode_slice_header error [h264 @ 0x18ca4e0] no frame! [h264 @ 0x18ca4e0] mmco: unref short failure [mpegts @ 0x18c4fc0] max_analyze_duration reached [mpegts @ 0x18c4fc0] PES packet size mismatch Last message repeated 1 times Input #0, mpegts, from 'qssq.ts': Duration: 02:27:00.13, start: 9609.323944, bitrate: 6837 kb/s Program 2817 Stream #0.0[0x78]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.10x82: Audio: eac3, 48000 Hz, 5.1, fltp, 256 kb/s Stream #0.20x83: Audio: eac3, 48000 Hz, stereo, fltp, 128 kb/s Stream #0.30x84: Audio: eac3, 48000 Hz, stereo, fltp, 128 kb/s Stream #0.40x8c: Subtitle: dvbsub (hearing impaired) Stream #0.50x8d: Subtitle: dvbsub Output #0, mpegts, to 'sortie.ts': Metadata: encoder : Lavf54.20.4 Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 90k tbc Stream #0.1(fra): Audio: eac3, 48000 Hz, 5.1, 256 kb/s Stream #0.2(qaa): Audio: eac3, 48000 Hz, stereo, 128 kb/s Stream #0.3(qad): Audio: eac3, 48000 Hz, stereo, 128 kb/s Stream #0.4(fra): Subtitle: dvbsub (hearing impaired) Stream #0.5(fra): Subtitle: dvbsub Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Stream #0:3 -> #0:3 (copy) Stream #0:4 -> #0:4 (copy) Stream #0:5 -> #0:5 (copy) Press ctrl-c to stop encoding frame= 719 fps= 0 q=-1.0 Lsize= 21187kB time=26.49 bitrate=6551.3kbits/s video:17401kB audio:1870kB global headers:0kB muxing overhead 9.942334%
Mais le résultat est incorrect: totem et vlc lisent la vidéo, mplayer le son ...et personne les sous-titres.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: Ma solution
Posté par mac_is_mac (site web personnel) . En réponse au journal Edition simple de fichiers TS sous Linux. Évalué à 1.
Merci pour ta réponse, mais je ne comprends pas comment faire marcher avconv.
Par exemple, avec
avconv -ss 2 -i qssq.ts -t 30 -c:v copy -c:a copy -c:s copy -map 0 sortie.ts
J'obtiens
avconv version 9.16-6:9.16-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
built on Aug 10 2014 18:16:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[h264 @ 0x18ca4e0] non-existing PPS referenced
[h264 @ 0x18ca4e0] non-existing PPS 0 referenced
[h264 @ 0x18ca4e0] decode_slice_header error
[h264 @ 0x18ca4e0] no frame!
[h264 @ 0x18ca4e0] non-existing PPS referenced
[h264 @ 0x18ca4e0] non-existing PPS 0 referenced
[h264 @ 0x18ca4e0] decode_slice_header error
[h264 @ 0x18ca4e0] no frame!
[h264 @ 0x18ca4e0] non-existing PPS referenced
[h264 @ 0x18ca4e0] non-existing PPS 0 referenced
[h264 @ 0x18ca4e0] decode_slice_header error
[h264 @ 0x18ca4e0] no frame!
[h264 @ 0x18ca4e0] mmco: unref short failure
[mpegts @ 0x18c4fc0] max_analyze_duration reached
[mpegts @ 0x18c4fc0] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'qssq.ts':
Duration: 02:27:00.13, start: 9609.323944, bitrate: 6837 kb/s
Program 2817
Stream #0.0[0x78]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.10x82: Audio: eac3, 48000 Hz, 5.1, fltp, 256 kb/s
Stream #0.20x83: Audio: eac3, 48000 Hz, stereo, fltp, 128 kb/s
Stream #0.30x84: Audio: eac3, 48000 Hz, stereo, fltp, 128 kb/s
Stream #0.40x8c: Subtitle: dvbsub (hearing impaired)
Stream #0.50x8d: Subtitle: dvbsub
Output #0, mpegts, to 'sortie.ts':
Metadata:
encoder : Lavf54.20.4
Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 90k tbc
Stream #0.1(fra): Audio: eac3, 48000 Hz, 5.1, 256 kb/s
Stream #0.2(qaa): Audio: eac3, 48000 Hz, stereo, 128 kb/s
Stream #0.3(qad): Audio: eac3, 48000 Hz, stereo, 128 kb/s
Stream #0.4(fra): Subtitle: dvbsub (hearing impaired)
Stream #0.5(fra): Subtitle: dvbsub
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Stream #0:4 -> #0:4 (copy)
Stream #0:5 -> #0:5 (copy)
Press ctrl-c to stop encoding
frame= 719 fps= 0 q=-1.0 Lsize= 21187kB time=26.49 bitrate=6551.3kbits/s
video:17401kB audio:1870kB global headers:0kB muxing overhead 9.942334%
Mais le résultat est incorrect: totem et vlc lisent la vidéo, mplayer le son ...et personne les sous-titres.