Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.



Nadworny matematyk




Jako, że mam 3 miejsce archeologa to piszę tu ;)
Coś strona kolegi powyżej nie działa, a mam problem powiązany z powyższym. Mam iso z DVD z nagrania. Jak to przekonwertować na avi tak, żeby tv odtworzył...
Z góry dzięki
Pozdrawiam
// przeniesione z http://forum.dug.net.pl/viewtopic.php?id=11792 — ArnVaker
Offline







Palacz








Zamontuj to iso i pokaż lsdvd z tego folderu
Offline



Nadworny matematyk




user@debian:/mnt$ sudo mount -o loop PRJ_20131029.iso /media/ mount: warning: /media/ seems to be mounted read-only. user@debian:/mnt$ cd /media/ user@debian:/media$ ls VIDEO_TS user@debian:/media$ lsdvd libdvdread: Encrypted DVD support unavailable. ************************************************ ** ** ** No css library available. See ** ** /usr/share/doc/libdvdread4/README.css ** ** for more information. ** ** ** ************************************************ libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.BU. Can't open main ifo! user@debian:/media$ cd VIDEO_TS/ user@debian:/media/VIDEO_TS$ lsdvd libdvdread: Encrypted DVD support unavailable. ************************************************ ** ** ** No css library available. See ** ** /usr/share/doc/libdvdread4/README.css ** ** for more information. ** ** ** ************************************************ libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.BU. Can't open main ifo! user@debian:/media/VIDEO_TS$ aptitude search libdvdread p libdvdread-dbg - library for reading DVDs (debug) p libdvdread-dev - library for reading DVDs (development) i A libdvdread4 - library for reading DVDs
coś mu nie pasi...
Offline







Palacz








Dokładnie nie pamiętam skaladni ale chyba jakoś tak
lsdvd /katalog_montowania
Offline



Nadworny matematyk




user@debian:/media$ lsdvd /media/
libdvdread: Encrypted DVD support unavailable.
************************************************
** **
** No css library available. See **
** /usr/share/doc/libdvdread4/README.css **
** for more information. **
** **
************************************************
libdvdread: Attempting to use device /dev/loop1 mounted on /media for CSS authentication
libdvdread: Could not open input: Permission denied
libdvdread: Can't open /dev/loop1 for reading
libdvdread: Device /dev/loop1 inaccessible, CSS authentication not available.
*** Zero check failed in ifo_read.c:570
for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
Couldn't read enough bytes for title.
Disc Title: unknown
Title: 01, Length: 00:49:03.060 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 00
Longest track: 01user@debian:/media$ sudo lsdvd /media/
libdvdread: Encrypted DVD support unavailable.
************************************************
** **
** No css library available. See **
** /usr/share/doc/libdvdread4/README.css **
** for more information. **
** **
************************************************
libdvdread: Attempting to use device /dev/loop1 mounted on /media for CSS authentication
*** Zero check failed in ifo_read.c:570
for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
Couldn't read enough bytes for title.
Disc Title: unknown
Title: 01, Length: 00:49:03.060 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 00
Longest track: 01Ostatnio edytowany przez P@blo (2014-02-20 13:27:25)
Offline







Palacz








Coś w tym stylu
mencoder dvd:// -dvd-device /folder_montowania -alang pl -oac mp3lame -ovc lavc -ofps 25 -ffourcc DX50 -lavcopts threads=2 codec=mpeg4:trell:mbd=2:sc_threshold=1000000000:cgop:vbitrate=1500 -o film.avi
Offline



Nadworny matematyk




Wypluło coś takiego na koniec:
Pos:2937.8s 73449f (99%) 125.61fps Trem: 0min 376mb A-V:0.052 [801:266] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** Pos:2938.2s 73461f (99%) 125.61fps Trem: 0min 376mb A-V:0.052 [801:266] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** Pos:2938.6s 73471f (99%) 125.61fps Trem: 0min 376mb A-V:0.052 [801:266] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** Pos:2939.1s 73483f (99%) 125.61fps Trem: 0min 376mb A-V:0.052 [801:266] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** Pos:2939.7s 73497f (99%) 125.61fps Trem: 0min 376mb A-V:0.052 [801:266] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** Pos:2940.1s 73507f (99%) 125.61fps Trem: 0min 376mb A-V:0.052 [801:266] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** Pos:2940.6s 73521f (99%) 125.61fps Trem: 0min 376mb A-V:0.052 [801:266] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** Pos:2941.1s 73533f (99%) 125.61fps Trem: 0min 376mb A-V:0.052 [801:266] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** Pos:2941.5s 73543f (99%) 125.62fps Trem: 0min 376mb A-V:0.052 [801:266] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** Pos:2942.1s 73557f (99%) 125.61fps Trem: 0min 376mb A-V:0.052 [801:266] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** Pos:2942.5s 73567f (99%) 125.62fps Trem: 0min 376mb A-V:0.052 [801:266] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** Pos:2943.7s 73597f (100%) 125.63fps Trem: 0min 376mb A-V:0.060 [801:266] File not found: 'codec=mpeg4:trell:mbd=2:sc_threshold=1000000000:cgop:vbitrate=1500' Failed to open codec=mpeg4:trell:mbd=2:sc_threshold=1000000000:cgop:vbitrate=1500. Cannot open file/device. Exiting...
Ale w sumie jakiś tam film jest. Troche taki wypikselowany (tzn gorsza jakość niż VOB), ale rozumiem, ze lepiej się nie da. Dzięki wielkie ;)
Offline







Palacz








Da się.
Tak na szybko machnąłem skladnię.
Ważne było aby z dvd czytało :)
Jeśli chcesz mogę później lepszą naskrobać.
Offline



Nadworny matematyk




Poprosiłbym ;) To jakaś czarna magia ta składnia, a częto to nie robię tylko jakoś tak wyszło, że konwertuje wszystko. Jak patrzyłem na to co się zrobiło na TV to jest zle zeskalowane (czarne pasy po bokach) no i słabej rozdzielczości... No to czekam ;)
Pozdr
Offline







Palacz








Spróbuj tak
mencoder dvd:// -dvd-device /folder_montowania -alang pl -ovc x264 -x264encopts direct=auto:turbo:bitrate=800:bframes=1:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 -vf scale=640:480 -oac mp3lame -lameopts cbr:br=96 -srate 44100 -o test.avi
Offline



Nadworny matematyk




Ok rozdzielczość jest lepsza (nie ma już pikselowania), ale nadal w TV mam dwa pasy po bokach...
Offline







Palacz








Tu trzeba dobrać proporcję obrazu.
Ja nie mam pojęcia jakie ma film źródłowy.
Offline



Nadworny matematyk




Jakaś konsolowa komenda, która powie tą informacje? Pliki w tym iso to VOB.
Tutaj jakieś info o jednym filmie:
debian@debian:/mnt/smb/VIDEO_TS$ ls -l
razem 2925036
-r--r--r-- 1 nobody nogroup 12288 maj 29 2012 VIDEO_TS.BUP
-r--r--r-- 1 nobody nogroup 12288 maj 29 2012 VIDEO_TS.IFO
-r--r--r-- 1 nobody nogroup 10240 maj 29 2012 VIDEO_TS.VOB
-r--r--r-- 1 nobody nogroup 34816 maj 29 2012 VTS_01_0.BUP
-r--r--r-- 1 nobody nogroup 34816 maj 29 2012 VTS_01_0.IFO
-r--r--r-- 1 nobody nogroup 10240 maj 29 2012 VTS_01_0.VOB
-r--r--r-- 1 nobody nogroup 1073709056 maj 29 2012 VTS_01_1.VOB
-r--r--r-- 1 nobody nogroup 1073709056 maj 29 2012 VTS_01_2.VOB
-r--r--r-- 1 nobody nogroup 847704064 maj 29 2012 VTS_01_3.VOB
debian@debian:/mnt/smb/VIDEO_TS$ ffmpeg -i VTS_01_1.VOB
ffmpeg version 2.1.3 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 1 2014 11:57:46 with gcc 4.8 (Debian 4.8.2-14)
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/i386-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-avresample --enable-libiec61883 --enable-libfdk-aac --enable-vaapi --enable-libdc1394 --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --shlibdir=/usr/lib/i386-linux-gnu
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, mpeg, from 'VTS_01_1.VOB':
Duration: 00:17:44.70, start: 0.060000, bitrate: 8067 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
At least one output file must be specified
debian@debian:~/mplayer/TOOLS$ ./midentify.sh /mnt/smb/VIDEO_TS/VTS_01_1.VOB
ID_VIDEO_ID=0
ID_AUDIO_ID=128
ID_FILENAME=/mnt/smb/VIDEO_TS/VTS_01_1.VOB
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=8000000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.25
ID_LENGTH=1064.13
ID_SEEKABLE=1
ID_CHAPTERS=0
ID_VIDEO_CODEC=ffmpeg2
ID_AUDIO_BITRATE=384000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=ffac3
ID_EXIT=EOFA tu o drugim:
debian@debian:/mnt/smb/VIDEO_TS$ ls -l
razem 2769536
-r--r--r-- 1 nobody nogroup 32768 paź 29 19:20 VIDEO_TS.BUP
-r--r--r-- 1 nobody nogroup 32768 paź 29 19:20 VIDEO_TS.IFO
-r--r--r-- 1 nobody nogroup 27754496 paź 29 19:20 VIDEO_TS.VOB
-r--r--r-- 1 nobody nogroup 65536 paź 29 19:20 VTS_01_0.BUP
-r--r--r-- 1 nobody nogroup 65536 paź 29 19:16 VTS_01_0.IFO
-r--r--r-- 1 nobody nogroup 1024235520 paź 29 19:16 VTS_01_1.VOB
-r--r--r-- 1 nobody nogroup 1024237568 paź 29 19:18 VTS_01_2.VOB
-r--r--r-- 1 nobody nogroup 759580672 paź 29 19:19 VTS_01_3.VOB
debian@debian:/mnt/smb/VIDEO_TS$ ffmpeg -i VTS_01_1.VOB
ffmpeg version 2.1.3 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 1 2014 11:57:46 with gcc 4.8 (Debian 4.8.2-14)
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/i386-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-avresample --enable-libiec61883 --enable-libfdk-aac --enable-vaapi --enable-libdc1394 --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --shlibdir=/usr/lib/i386-linux-gnu
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, mpeg, from 'VTS_01_1.VOB':
Duration: 00:17:54.37, start: 0.306633, bitrate: 7626 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
At least one output file must be specified
debian@debian:~/mplayer/TOOLS$ ./midentify.sh /mnt/smb/VIDEO_TS/VTS_01_1.VOB
ID_VIDEO_ID=0
ID_AUDIO_ID=128
ID_FILENAME=/mnt/smb/VIDEO_TS/VTS_01_1.VOB
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=8000000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.31
ID_LENGTH=1073.92
ID_SEEKABLE=1
ID_CHAPTERS=0
ID_VIDEO_CODEC=ffmpeg2
ID_AUDIO_BITRATE=256000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=ffac3
ID_EXIT=EOFOstatnio edytowany przez P@blo (2014-02-22 14:39:19)
Offline







Palacz








Spróbuj tak
mencoder dvd:// -dvd-device /folder_montowania -alang pl -ovc x264 -ovc x264 -x264encopts direct=auto:turbo:bitrate=800:bframes=1:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 -vf scale=720:406 -oac mp3lame -lameopts cbr:br=96 -srate 44100 -o test.avi
Offline



Nadworny matematyk




Gra i buczy ;)
Dzięki.
Offline



Nadworny matematyk




Mam problem z jednym filmem.
Komendą, która podałeś wyżej (czyli ze skalowaniem) idzie, ale mam w tedy zle proporcje bo to stary film 4:3. Jak zrobie:
mencoder dvd:// -dvd-device /folder_montowania -alang pl -ovc x264 -ovc x264 -x264encopts direct=auto:turbo:bitrate=800:bframes=1:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 -oac mp3lame -lameopts cbr:br=96 -srate 44100 -o test.avi
To chwile porobi, no nie wiem ponad 30% i potem wywala:
$ mencoder dvd:// -dvd-device /media/iso/ -alang pl -ovc x264 -ovc x264 -x264encopts direct=auto:turbo:bitrate=800:bframes=1:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 -oac mp3lame -lameopts cbr:br=96 -srate 44100 -o Koncert_Dyp.avi MEncoder svn r34540 (Debian), built with gcc-4.7 (C) 2000-2012 MPlayer Team Option x264encopts: turbo option is deprecated; use slow_firstpass to disable turbo libdvdread: Encrypted DVD support unavailable. ************************************************ ** ** ** No css library available. See ** ** /usr/share/doc/libdvdread4/README.css ** ** for more information. ** ** ** ************************************************ libdvdread: Attempting to use device /dev/loop1 mounted on /media/iso for CSS authentication libdvdread: Could not open input: Permission denied libdvdread: Can't open /dev/loop1 for reading libdvdread: Device /dev/loop1 inaccessible, CSS authentication not available. There are 1 titles on this DVD. There are 1 angles in this DVD title. audio stream: 0 format: mpeg1 (stereo) language: unknown aid: 0. number of audio channels on disk: 1. number of subtitles on disk: 0 success: format: 2 data: 0x0 - 0x142cf800 No matching DVD audio language found! MPEG-PS file format detected. VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 6000.0 kbps (750.0 kbyte/s) [V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.000 ftime:=0.0400 ========================================================================== Requested audio codec family [mpg123] (afm=mpg123) not available. Enable it at compilation. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders libavcodec version 53.35.0 (external) Mismatching header version 53.32.2 AUDIO: 48000 Hz, 2 ch, floatle, 224.0 kbit/7.29% (ratio: 28000->384000) Selected audio codec: [ffmp2float] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio) ========================================================================== Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2) ========================================================================== MP3 audio selected. Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. x264 [info]: using SAR=16/15 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 x264 [info]: profile High, level 3.0 [mpeg2video @ 0xb63ec720]ac-tex damaged at 10 1 [mpeg2video @ 0xb63ec720]Warning MVs not available [mpeg2video @ 0xb63ec720]concealing 1575 DC, 1575 AC, 1575 MV errors Pos: 0.8s 22f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.084 [0:95] Skipping frame! Pos: 1.2s 32f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.084 [0:95] Skipping frame! Pos: 1.6s 42f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.084 [0:96] Skipping frame! Pos: 1.6s 44f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.052 [0:95] Writing header... ODML: vprp aspect is 4:3. Setting audio delay to 0.052s. Writing header... ODML: vprp aspect is 4:3. Setting audio delay to 0.052s. Pos: 1.9s 52f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.081 [117:95] Skipping frame! Pos: 61.4s 1541f ( 1%) 17.00fps Trem: 140min 591mb A-V:0.081 [759:95] Skipping frame! Pos: 75.7s 1898f ( 1%) 16.83fps Trem: 141min 604mb A-V:0.080 [777:95] Skipping frame! Pos:1627.2s 40687f (27%) 16.33fps Trem: 107min 627mb A-V:-0.013 [802:95] [mp2float @ 0xb63ec720]Header missing Pos:1627.3s 40690f (27%) 16.33fps Trem: 107min 627mb A-V:-0.001 [802:95] [mp2float @ 0xb63ec720]Header missing Pos:1627.7s 40699f (27%) 16.33fps Trem: 107min 627mb A-V:0.035 [802:95] [mpeg2video @ 0xb63ec720]slice mismatch [mpeg2video @ 0xb63ec720]ac-tex damaged at 30 15 [mpeg2video @ 0xb63ec720]ac-tex damaged at 0 16 [mpeg2video @ 0xb63ec720]ac-tex damaged at 26 17 [mpeg2video @ 0xb63ec720]slice mismatch [mpeg2video @ 0xb63ec720]ac-tex damaged at 10 19 [mpeg2video @ 0xb63ec720]invalid cbp at 16 20 [mpeg2video @ 0xb63ec720]invalid mb type in B Frame at 9 21 [mpeg2video @ 0xb63ec720]slice mismatch [mpeg2video @ 0xb63ec720]slice mismatch [mpeg2video @ 0xb63ec720]ac-tex damaged at 1 24 [mpeg2video @ 0xb63ec720]ac-tex damaged at 35 25 [mpeg2video @ 0xb63ec720]invalid cbp at 2 26 [mpeg2video @ 0xb63ec720]slice mismatch [mpeg2video @ 0xb63ec720]slice mismatch [mpeg2video @ 0xb63ec720]slice mismatch [mpeg2video @ 0xb63ec720]ac-tex damaged at 3 31 [mpeg2video @ 0xb63ec720]invalid cbp at 8 32 [mpeg2video @ 0xb63ec720]invalid mb type in B Frame at 5 33 [mpeg2video @ 0xb63ec720]mb incr damaged [mpeg2video @ 0xb63ec720]slice mismatch [mpeg2video @ 0xb63ec720]mb incr damaged [mpeg2video @ 0xb63ec720]mb incr damaged [mpeg2video @ 0xb63ec720]slice mismatch [mpeg2video @ 0xb63ec720]mb incr damaged [mpeg2video @ 0xb63ec720]mb incr damaged [mpeg2video @ 0xb63ec720]invalid cbp at 4 7 [mpeg2video @ 0xb63ec720]slice mismatch [mpeg2video @ 0xb63ec720]invalid mb type in B Frame at 1 12 [mpeg2video @ 0xb63ec720]ac-tex damaged at 12 13 [mpeg2video @ 0xb63ec720]ac-tex damaged at 31 16 [mpeg2video @ 0xb63ec720]concealing 1440 DC, 1440 AC, 1440 MV errors Pos:1627.7s 40700f (27%) 16.33fps Trem: 107min 627mb A-V:0.039 [802:95] [mpeg2video @ 0xb63ec720]concealing 1440 DC, 1440 AC, 1440 MV errors Why do we get NULL?? Pos:1627.8s 40702f (27%) 16.33fps Trem: 107min 627mb A-V:0.007 [802:95] [mpeg2video @ 0xb63ec720]mb incr damaged [mpeg2video @ 0xb63ec720]invalid cbp at 7 27 [mpeg2video @ 0xb63ec720]ac-tex damaged at 2 28 [mpeg2video @ 0xb63ec720]ac-tex damaged at 8 29 [mpeg2video @ 0xb63ec720]mb incr damaged [mpeg2video @ 0xb63ec720]concealing 495 DC, 495 AC, 495 MV errors Pos:1627.8s 40703f (27%) 16.33fps Trem: 107min 627mb A-V:0.011 [802:96] [mpeg2video @ 0xb63ec720]concealing 495 DC, 495 AC, 495 MV errors Why do we get NULL?? Pos:1627.8s 40704f (27%) 16.33fps Trem: 107min 627mb A-V:0.015 [802:96] Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. New video file has different resolution or colorspace than the previous one. FATAL: Cannot initialize video driver. [mpeg2video @ 0xb63ec720]ac-tex damaged at 1 0 [mpeg2video @ 0xb63ec720]Warning MVs not available [mpeg2video @ 0xb63ec720]concealing 952 DC, 952 AC, 952 MV errors Exiting...
EDIT:
General Complete name : /media/cdrom0/VIDEO_TS/VIDEO_TS.BUP Format : DVD Video Format profile : Menu File size : 32.0 KiB Overall bit rate mode : Variable Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 1 Bit rate mode : Variable Width : 720 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate : 29.970 fps Standard : NTSC Compression mode : Lossy General Complete name : /media/cdrom0/VIDEO_TS/VIDEO_TS.IFO Format : DVD Video Format profile : Menu File size : 32.0 KiB Overall bit rate mode : Variable Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 1 Bit rate mode : Variable Width : 720 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate : 29.970 fps Standard : NTSC Compression mode : Lossy General Complete name : /media/cdrom0/VIDEO_TS/VTS_01_0.BUP File size : 96.0 KiB General Complete name : /media/cdrom0/VIDEO_TS/VTS_01_0.IFO Format : DVD Video Format profile : Program File size : 96.0 KiB Duration : 1h 37mn Overall bit rate mode : Variable Overall bit rate : 135 bps Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 2 Duration : 1h 37mn Bit rate mode : Variable Width : 720 pixels Height : 576 pixels Display aspect ratio : 4:3 Frame rate : 25.000 fps Standard : PAL Compression mode : Lossy Audio ID : 0 (0x0) Format : MPEG Audio Format profile : Version 1 Duration : 1h 37mn Channel(s) : 2 channels Sampling rate : 48.0 KHz Compression mode : Lossy Menu Duration : 1h 37mn 00:00:00.000 : Chapter 1 List (Audio) : 0 General Complete name : /media/cdrom0/VIDEO_TS/VTS_01_1.VOB Format : MPEG-PS File size : 977 MiB Duration : 21mn 28s Overall bit rate : 6 358 Kbps Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 2 Format profile : Main@Main Format settings, BVOP : Yes Format settings, Matrix : Default Format settings, GOP : M=3, N=12 Duration : 21mn 28s Bit rate : 6 000 Kbps Width : 720 pixels Height : 576 pixels Display aspect ratio : 4:3 Frame rate : 25.000 fps Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Scan order : Bottom Field First Compression mode : Lossy Bits/(Pixel*Frame) : 0.579 Time code of first frame : 00:00:00:00 Time code source : Group of pictures header Stream size : 923 MiB (94%) Color primaries : BT.601 PAL Transfer characteristics : BT.470 System B, BT.470 System G Matrix coefficients : BT.601 Audio ID : 192 (0xC0) Format : MPEG Audio Format version : Version 1 Format profile : Layer 2 Duration : 21mn 28s Bit rate mode : Constant Bit rate : 224 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Compression mode : Lossy Stream size : 34.4 MiB (4%) Menu General Complete name : /media/cdrom0/VIDEO_TS/VTS_01_2.VOB Format : MPEG-PS File size : 977 MiB Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 2 Format profile : Main@Main Format settings, BVOP : Yes Format settings, Matrix : Default Format settings, GOP : M=3, N=12 Maximum bit rate : 6 000 Kbps Width : 720 pixels Height : 576 pixels Display aspect ratio : 4:3 Frame rate : 25.000 fps Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Scan order : Bottom Field First Compression mode : Lossy Time code of first frame : 00:21:28:18 Time code source : Group of pictures header Color primaries : BT.601 PAL Transfer characteristics : BT.470 System B, BT.470 System G Matrix coefficients : BT.601 Audio ID : 192 (0xC0) Format : MPEG Audio Format version : Version 1 Format profile : Layer 2 Bit rate mode : Constant Bit rate : 224 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Compression mode : Lossy Delay relative to video : -168ms Menu General Complete name : /media/cdrom0/VIDEO_TS/VTS_01_3.VOB File size : 977 MiB General Complete name : /media/cdrom0/VIDEO_TS/VTS_01_4.VOB File size : 977 MiB General Complete name : /media/cdrom0/VIDEO_TS/VTS_01_5.VOB File size : 512 MiB
EDIT2:
$ mencoder dvd:// -dvd-device /media/cdrom0 -alang pl -ovc x264 -ovc x264 -x264encopts direct=auto:turbo:bitrate=800:bframes=1:me=umh: partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 -vf scale=640:480 -oac mp3lame -lameopts cbr:br=96 -srate 44100 -o KoncertDyp.avi MPlayer SVN-r36545 (C) 2000-2013 MPlayer Team Option x264encopts: turbo option is deprecated; use slow_firstpass to disable turbo libdvdread: Encrypted DVD support unavailable. ************************************************ ** ** ** No css library available. See ** ** /usr/share/doc/libdvdread4/README.css ** ** for more information. ** ** ** ************************************************ libdvdread: Attempting to use device /dev/loop0 mounted on /media/cdrom0 for CSS authentication libdvdread: Could not open input: Permission denied libdvdread: Can't open /dev/loop0 for reading libdvdread: Device /dev/loop0 inaccessible, CSS authentication not available. There are 1 titles on this DVD. There are 1 angles in this DVD title. audio stream: 0 format: mpeg1 (stereo) language: unknown aid: 0. number of audio channels on disk: 1. number of subtitles on disk: 0 success: format: 2 data: 0x0 - 0x142cf800 No matching DVD audio language found! MPEG-PS file format detected. VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 6000.0 kbps (750.0 kbyte/s) [V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.000 ftime:=0.0400 ========================================================================== Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000) Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 Opening video filter: [scale w=640 h=480] ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 55.52.101 (internal) Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2) ========================================================================== MP3 audio selected. The selected video_out device is incompatible with this codec. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp. Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. [swscaler @ 0xb764dac0]bicubic scaler, from yuv420p to yuv420p using MMXEXT x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Slow SlowCTZ x264 [info]: profile High, level 3.0 Pos: 0.1s 3f ( 0%) 0.00fps Trem: 0min 0mb A-V:-0.006 [0:0] [VD_FFMPEG] DRI failure. Pos: 1.6s 41f ( 0%) 35.44fps Trem: 0min 0mb A-V:0.035 [0:95] Writing header... ODML: vprp aspect is 4:3. Setting audio delay to 0.052s. Pos: 61.8s 1547f ( 1%) 8.32fps Trem: 286min 594mb A-V:0.081 [761:96] Skipping frame! Pos:1627.8s 40698f (27%) 8.12fps Trem: 215min 627mb A-V:0.022 [803:96]] [mpeg2video @ 0xb7560ac0]slice mismatch [mpeg2video @ 0xb7560ac0]ac-tex damaged at 30 15 [mpeg2video @ 0xb7560ac0]ac-tex damaged at 0 16 [mpeg2video @ 0xb7560ac0]ac-tex damaged at 26 17 [mpeg2video @ 0xb7560ac0]slice mismatch [mpeg2video @ 0xb7560ac0]ac-tex damaged at 10 19 [mpeg2video @ 0xb7560ac0]invalid cbp 0 at 16 20 [mpeg2video @ 0xb7560ac0]invalid mb type in B Frame at 9 21 [mpeg2video @ 0xb7560ac0]slice mismatch [mpeg2video @ 0xb7560ac0]slice mismatch [mpeg2video @ 0xb7560ac0]ac-tex damaged at 1 24 [mpeg2video @ 0xb7560ac0]ac-tex damaged at 35 25 [mpeg2video @ 0xb7560ac0]invalid cbp 0 at 2 26 [mpeg2video @ 0xb7560ac0]slice mismatch [mpeg2video @ 0xb7560ac0]slice mismatch [mpeg2video @ 0xb7560ac0]slice mismatch [mpeg2video @ 0xb7560ac0]ac-tex damaged at 3 31 [mpeg2video @ 0xb7560ac0]invalid cbp -1 at 8 32 [mpeg2video @ 0xb7560ac0]invalid mb type in B Frame at 5 33 [mpeg2video @ 0xb7560ac0]mb incr damaged [mpeg2video @ 0xb7560ac0]slice mismatch [mpeg2video @ 0xb7560ac0]mb incr damaged [mpeg2video @ 0xb7560ac0]mb incr damaged [mpeg2video @ 0xb7560ac0]slice mismatch [mpeg2video @ 0xb7560ac0]mb incr damaged [mpeg2video @ 0xb7560ac0]mb incr damaged [mpeg2video @ 0xb7560ac0]invalid cbp 0 at 4 7 Assertion lastInChrBuf + 1 - chrSrcSliceY >= 0 failed at libswscale/swscale.c:536 Przerwane
Ostatnio edytowany przez P@blo (2014-03-06 07:38:56)
Offline



Nadworny matematyk




Mam jeszcze jeden problem. Robię tą samą komendą 7 różnych filmów:
mencoder dvd:// -dvd-device /folder_montowania -alang pl -ovc x264 -ovc x264 -x264encopts direct=auto:turbo:bitrate=800:bframes=1:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 -oac mp3lame -lameopts cbr:br=96 -srate 44100 -o test.avi
5 jest tak jak chce, a 2 inaczej tzn:
te dwa mają dane:
General Complete name : /media/usb0/FILMY/AVI/Avi_4na3/Francja1.avi Format : AVI Format/Info : Audio Video Interleave File size : 458 MiB Duration : 1h 10mn Overall bit rate : 913 Kbps Writing application : MEncoder SVN-r36545 Writing library : MPlayer Video ID : 0 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.0 Format settings, CABAC : Yes Format settings, ReFrames : 3 frames Codec ID : h264 Duration : 1h 10mn Bit rate : 800 Kbps Width : 720 pixels Height : 576 pixels Display aspect ratio : 16:9 Frame rate : 25.000 fps Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.077 Stream size : 403 MiB (88%) Writing library : x264 core 142 Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / 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=1 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=1 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=800 / ratetol=1.0 / qcomp=0.70 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Audio ID : 1 Format : MPEG Audio Format version : Version 1 Format profile : Layer 3 Mode : Joint stereo Mode extension : MS Stereo Codec ID : 55 Codec ID/Hint : MP3 Duration : 1h 10mn Bit rate mode : Constant Bit rate : 96.0 Kbps Channel(s) : 2 channels Sampling rate : 44.1 KHz Compression mode : Lossy Delay relative to video : 40ms Stream size : 48.1 MiB (11%) Alignment : Aligned on interleaves Interleave, duration : 26 ms (0.65 video frame) Interleave, preload duration : 2115 ms
, a te 5:
General Complete name : /media/usb0/FILMY/AVI/Avi_4na3/Francja3.avi Format : AVI Format/Info : Audio Video Interleave File size : 437 MiB Duration : 1h 7mn Overall bit rate : 910 Kbps Writing application : MEncoder svn r34540 (Debian), built with gcc-4.7 Writing library : MPlayer Video ID : 0 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.0 Format settings, CABAC : Yes Format settings, ReFrames : 3 frames Codec ID : h264 Duration : 1h 7mn Bit rate : 800 Kbps Width : 720 pixels Height : 576 pixels Display aspect ratio : 4:3 Frame rate : 25.000 fps Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.077 Stream size : 385 MiB (88%) Writing library : x264 core 123 r2189 35cf912 Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / 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=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=1 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=800 / ratetol=1.0 / qcomp=0.70 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Audio ID : 1 Format : MPEG Audio Format version : Version 1 Format profile : Layer 3 Mode : Joint stereo Mode extension : MS Stereo Codec ID : 55 Codec ID/Hint : MP3 Duration : 1h 7mn Bit rate mode : Constant Bit rate : 96.0 Kbps Channel(s) : 2 channels Sampling rate : 44.1 KHz Compression mode : Lossy Delay relative to video : 40ms Stream size : 46.1 MiB (11%) Alignment : Aligned on interleaves Interleave, duration : 26 ms (0.65 video frame) Interleave, preload duration : 2115 ms
Podpowiem, że te dwa mają ratio 16:9 przy 720:576, a te 5 4:3 przy 720:402 o_0. Akurat te filmy są stare i powinny być 4:3, ale... 720:402?
Wiem, że to nie ta sama wersja mplayer... Prawdopodobnie jedna z deb-multimedia druga z oficjalnego, ale sam już nie wiem która jest która i też nie o to mi chodzi. Jak to jest możliwe 4:3 przy 720:576???
Offline







Palacz








Zrobimy inną metodą.
Z pomocą mpv zrzucasz film ze struktury dvd do pliku
mpv dvd://nr_scieżki -dvd-device /folder_montowania --stream-dump=/sciezka/film.mpg
Teraz trzeba zrobić próbe
ffmpeg -i film.mpg -sn -f avi -deinterlace -crf 25.0 -vcodec libx264 -preset fast -acodec libmp3lame -ar 44100 -ab 128k -threads 0 -b:v 900k -r:v 25 -aspect 4:3 film.avi
ffmpeg -i film.mpg -sn -f avi -deinterlace -crf 25.0 -vcodec libx264 -preset fast -acodec libmp3lame -ar 44100 -ab 128k -threads 0 -b:v 900k -r:v 25 -aspect 16:9 film1.avi
Jak ffmpeg konwertuje to widać ile zrobił.
Po kilku minutach np 5 naciskamy q
Zrobi nam pieciominutowy kawałek.
Pliki wynikowe sprawdzamy na tv i który będzie dobry tym poleceniem konwertujemy cały film.
Offline



Nadworny matematyk




Gra i buczy. Oczywiście 4:3 ;)
Offline