01/07/2020, 09:48
Buongiorno a tutti e grazie per le risposte
@dxgiusti
Non comprendo cosa mi dici per la codifica del file, Mpeg-4 e Mp4, a quel che ne so, sono codifiche differenti. Ho provato con ffmpeg con il seguente risutato:
La risposta "file già esistente"è dovuta al fatto che era la seconda volta che ripetevo il comando.
@Sargon6
Il pc con Ubuntu è abbastanza peformante, I7 e 8Gb di Ram, e mi ha eseguito la conversione in pochi minuti. Seguire la peocedura di convertire le varie sezioni di un DVD diventerebbe pesante nel mio caso (200 DVD)
Cari saluti
@dxgiusti
Non comprendo cosa mi dici per la codifica del file, Mpeg-4 e Mp4, a quel che ne so, sono codifiche differenti. Ho provato con ffmpeg con il seguente risutato:
Codice:
pietro@nonno-desktop:~$ ffmpeg -i /dev/sr0 nuovo_file.mp4
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[mpeg @ 0x55b458ff88c0] Invalid timestamps stream=0, pts=4294967296, dts=4296770061, size=33526
[mp2 @ 0x55b458ffa280] Header missing
Last message repeated 9 times
[mpeg @ 0x55b458ff88c0] decoding for stream 0 failed
[mpeg @ 0x55b458ff88c0] Could not find codec parameters for stream 0 (Audio: mp2, 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpeg, from '/dev/sr0':
Duration: N/A, start: 0.360000, bitrate: N/A
Stream #0:0[0x1d0]: Audio: mp2, 0 channels, s16p
Stream #0:1[0x1bf]: Data: dvd_nav_packet
Stream #0:2[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:3[0x20]: Subtitle: dvd_subtitle
Stream #0:4[0x21]: Subtitle: dvd_subtitle
File 'nuovo_file.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:2 -> #0:0 (mpeg2video (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
[mp2 @ 0x55b459068d80] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x55b459068d80] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x55b459068d80] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x55b459068d80] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x55b459068d80] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x55b459068d80] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x55b459068d80] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x55b459068d80] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x55b459068d80] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0x55b459068d80] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[libx264 @ 0x55b4590631e0] using SAR=64/45
[libx264 @ 0x55b4590631e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x55b4590631e0] profile High, level 3.0
[libx264 @ 0x55b4590631e0] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Too many packets buffered for output stream 0:0.
[libx264 @ 0x55b4590631e0] frame I:1 Avg QP:18.45 size: 29750
[libx264 @ 0x55b4590631e0] frame P:33 Avg QP:21.12 size: 4118
[libx264 @ 0x55b4590631e0] frame B:95 Avg QP:25.55 size: 588
[libx264 @ 0x55b4590631e0] consecutive B-frames: 1.6% 0.0% 2.3% 96.1%
[libx264 @ 0x55b4590631e0] mb I I16..4: 28.1% 55.4% 16.4%
[libx264 @ 0x55b4590631e0] mb P I16..4: 0.1% 0.7% 0.2% P16..4: 10.4% 8.6% 5.2% 0.0% 0.0% skip:74.8%
[libx264 @ 0x55b4590631e0] mb B I16..4: 0.0% 0.1% 0.0% B16..8: 10.1% 1.6% 0.3% direct: 0.4% skip:87.5% L0:35.2% L1:50.9% BI:13.9%
[libx264 @ 0x55b4590631e0] 8x8 transform intra:60.3% inter:64.5%
[libx264 @ 0x55b4590631e0] coded y,uvDC,uvAC intra: 42.7% 48.8% 39.2% inter: 3.9% 4.2% 0.4%
[libx264 @ 0x55b4590631e0] i16 v,h,dc,p: 75% 14% 10% 1%
[libx264 @ 0x55b4590631e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 12% 25% 3% 4% 5% 5% 4% 3%
[libx264 @ 0x55b4590631e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 24% 9% 4% 7% 8% 6% 6% 5%
[libx264 @ 0x55b4590631e0] i8c dc,h,v,p: 50% 25% 20% 5%
[libx264 @ 0x55b4590631e0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x55b4590631e0] ref P L0: 62.7% 20.6% 12.7% 4.1%
[libx264 @ 0x55b4590631e0] ref B L0: 94.1% 4.4% 1.5%
[libx264 @ 0x55b4590631e0] ref B L1: 98.3% 1.7%
[libx264 @ 0x55b4590631e0] kb/s:343.43
Conversion failed!
pietro@nonno-desktop:~$ ffmpeg -i /dev/sr0 nuovo_file.mp4
@Sargon6
Il pc con Ubuntu è abbastanza peformante, I7 e 8Gb di Ram, e mi ha eseguito la conversione in pochi minuti. Seguire la peocedura di convertire le varie sezioni di un DVD diventerebbe pesante nel mio caso (200 DVD)
Cari saluti